10-13-2009 01:43 PM
Hey All,
I recently posted some test code, where I could take in an array of variables, and then append a message from a list onto a string, based off of each local variable being true or false. This code works, but it occurred to me that it is not very modular, and might be much easier to use if, instead of providing the vi an array of bools and an array of messages, I could provide it an array of the NAMES of the bools.
Is there a get variable value based off it's name function?
Thanks!
10-13-2009 02:09 PM
10-13-2009 02:30 PM
Could you clarify on creating an array of references? The property node part makes sense, I'm unsure as to where I should look for the reference for the local vars.
10-13-2009 03:15 PM
Hi Jim,
you don't get references to local vars - you get references to controls and indicators (front panel objects).
Either you get the reference of the panel to get an array of references of all included controls etc. or you use a simple "build array" with the needed references...