Hi Oleg

I wanted to be clear about which method to use when passing values
between main and subVI.
My program will have a main VI which will be consisted of  few
subVI's.
Take for example one of the subVI's, the multi-gauge instrument that
measures the pressure. If I want to change the units of the pressure
from Torr to Pa I am using enum inside of subVI. Now when main VI is
running and the user changes the units on the front panel of main VI
do I use reference of my enum or global variable method you described
or some other method?

What is the best way of passing data from main to subVI in general?

Thanks,
Pedja

Reply via email to