Closed nrwslac closed 9 months ago
This looks great to me, no need to refactor further based on my info here, but just so you know:
You can assign pragmas to sub-items, this is a bit underexplored though so your mileage may vary, but you can do things like:
{attribute 'pytmc' := ' pv: FWM:1 fReal.field: EGU lpm fReal.field: HIGH 2.3 '} fbFlow_1 : FB_AnalogInput
And then you'd get a PV ending in
:FWM:1:VAL_RBV
without having to create an extra variable in the program.I think it's debatable which way is better but I thought you should be aware of the option
This is a good tip thank you.
Description
FB_Axilon_Cooling_1f1p
FB_Axilon_Cooling_2f1p
Motivation and Context
How Has This Been Tested?
this PR is running on lcls-plc-rixs-optics and lcls-plc-tmo-optics. Both have migrated their back end flow panels to the optics library.
Where Has This Been Documented?
Pre-merge checklist
Always Newest
version (Library, *
)pre-commit
or ranpre-commit run --all-files