12-17-2021 06:03 AM - edited 12-17-2021 06:04 AM
Hi,
Trying to auto track through some horrendous code. I'd like to script something to help me.
I can use VI scripting to get references to all the SubVIs I'm interested in, and I know which Terminals of the SubVIs I'm interested in (by naming convention).
The issue is now to get from the SubVI Terms[] rn to the string text of the enum constant on the BD being used to put data into that terminal.
I can't seem to work out how to get a reference to the BD constant from the wire ref and then get the string value (different SubVIs have different type def enums associated and different text).
example code and dummy screenshot of simple have file attached
(I'm trying to document the states of the QMH used)
Any pointers please?
Thanks
James
Solved! Go to Solution.
12-17-2021 07:36 AM
Worked it out...
Found an example that explains it: