Releases: pcdshub/ioc-template-macros
Releases · pcdshub/ioc-template-macros
R1.0.0
R0.3.6
Add launchgui script
We probably should have moved edm to launchgui instead of creating an additional pydm script, but let's move to a standard one now.
Fix up one-line $$IFCALC
Simple bug fix. Don't look past the end of the string for a newline...
Added $$ASSIGN directive
This release adds the $$ASSIGN directive:
$$ASSIGN{VARNAME,EXPRESSION}
This allows modification of variables within a $$LOOP, so accumulations over all instances can be calculated.
R0.3.2
Minor changes to conditionals:
- Added "X if COND else Y" to CALC expressions.
- "$$IF(X,Y,Z)" will do an extra evaluation of X if it includes "$$", so expressions like "SCAN$$INDEX" will test the values of SCAN0, SCAN1, etc.
- Added "$$IFCALC{expr} XXX $$ELSE(CALC) YYY $$ENDIF(CALC)" construction which evaluates an expression and tests for non-zero/zero values.
This should have been a PR, but I'm an idiot and didn't clone my repo, I cloned the main one. Bah.
R0.3.1
R0.3.0
Changes
- Now generating
pydm-*.cmd
for starting PyDM displays (akin to the oldedm-*.cmd
) TAIL
andROOT
are now accepted keywords (see the documentation for further details)- Octal and hexadecimal integers are now supported (prefixes
0
and0x
, respectively) RULES_EXPAND
no longer assumes the script is located in/reg/g/pcds/controls/macro/
Note
- This tag is unrelated to previous tags due to 3 divergent git histories for this same package.
- The git history with the longest record of subversion commits was retained, which is not where the tags came from.
- Changes made to the other two repositories were merged in on a best-effort basis, resulting in the code found in this tag.