02-05-2015 06:01 PM
Hi forum,
I want to convert a local variable to VI Server Reference programatically. Is that possible?
i.e. a have a list of local variables and I want to read the label of the variable so the CSV file (s/w not shown) has the correct headings linked to the local variable.
Dave
02-06-2015 12:48 AM
The attached vi will get all the objects on the block diagram, and if an object is a Local Variable, it will save the label text to a string array.
IT is saved in LV 2014.
02-06-2015 10:04 AM
I agree with this format, however it seems that you must use the Control Name property instead of the Label Text property. It looks like local variable always have a default, unchangeable label that is the same as the name of the VI they are running in.
02-08-2015 03:28 PM
Thanks for the feedback.
I had planned on making the code in my picture a VI. Would the attributes of the local variables be passed into the embedded VI or would I just see it's value?
02-08-2015 03:31 PM
I meant to say SubVI. 🙂