09-15-2020 01:03 AM
Hello guys, please help me I want to call controls by there names, i founs the i can use property node called get control index by name in VImethods class but i can't find it !
09-15-2020 01:51 AM - edited 09-15-2020 01:53 AM
09-15-2020 03:13 AM - edited 09-15-2020 03:14 AM
Quick drop can do this.
On an invoke node:
CTRL+Space, "VI", CTRL+B. (change application method to VI method)
CTRL+Space, "Get Control Index By Name", CTRL+SHIFT+B. (set the method)
You won't get previews of the text in the QD...
Note the difference between a property node and an invoke node! They look the same at first, but aren't.
IIRC, Get\Set controls by index only work if the VI is running! If it isn't running, you need to get\set the values by name.