01-16-2024 05:37 AM
Hi....
Can anyone help me to create a FGV to pass reference for the BK precision 9200 Instrument drivers VI's. I didn't understand how to create a reference for those specified VI's.
Thankyou.
01-16-2024 06:48 AM
Simple way is to create Single Run VI with different State and Enum Defining the States.
Use Shift Register to hold the reference Session.
01-16-2024 07:08 AM
For what reason do you need a FGV? What is wrong with just passing the reference around on a wire?
01-16-2024 05:31 PM
IMHO: Functional Global Variables and "Action Engines" are a thing of the past.
They were workarounds that were useful at the time but I can't say I have needed one in a decade or longer.
01-17-2024 07:30 AM
@RTSLVU wrote:
IMHO: Functional Global Variables and "Action Engines" are a thing of the past.
They were workarounds that were useful at the time but I can't say I have needed one in a decade or longer.
The FGV was a workaround before the Global Variable was created. That is why they are still occasionally called LabVIEW 2 Globals. I would put Action Engines as an expansion of FGVs by creating explicit things that can be done with the global data. They still have their place, but I also find myself using less and less Action Engines purely due to its singleton nature.