Closed lorenzo-gomez-windhover closed 3 years ago
Script Input PVs should properly support macro substitution.
I cannot reproduce your issue, see attached two displays. Can you break these displays? Open macro1.opi, and then click the two buttons in order.
I'm sorry about the confusion. I got it to work a while back, but forgot to update the issue. Thanks!
Hi there,
I'm trying to pass Macros to an instance of an OPI that that is inside a Linking Container. I attempt to do this with the following code:
Specifically, I'd like to use the macro for a trigger PV value on the OPI file at display.getMacroValue("PerfCollectionControlTEMPLATE_OPI").
However, when I instantiate it, it behaves as it if the macro "TAB" does not exist.
This is the setup for the trigger PV Displays/Core/ES/PerfCollectionControl_ES.opi:
The trigger is for the checkbox that you see selected on the screenshot.
Any thoughts as to why it won't fetch the TAB macro when I instantiate the OPI?
Thanks in advance Lorenzo