Thanks Mark,
My application is being used to control (using cFP modules) a fueling system. In the system I have two vessels and I read the fuel level in each vessel using an Analog Channel.
The main VI have two while loops one which reads the inputs, including the analog channels of the fuel level sensors, and one with an Event Structure.
The application can carry out several processes - draining the unit and fueling the unit with new fuel. I build the application with several subVIs (being called using reference) that perform these processes.
In the subVIs I nead to know the vessels fuel level so I used the FieldPoint I/O point to read the analog channels of the fuel level sensors. It was also possible to use shared variables to pass this information between the VIs because the first loop in the main VI is already sample these analog inputs.
my question was what is the most "elegant" way to do it.
thanks
Aviram