LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to load a VI and find it's input parameters (connector inputs)

Hi Martin,

with the class id you can separate your controls. Can you show what you have done so far? I´m not really sure if i understand what you want. With the properties you have a lot of functionality to check which control reference you have selected.

 

Mike

Message 11 of 13
(609 Views)

Sorry for the delay.

 

Attached is a small example of what I am trying to do.  I have managed to identify from the function VI both knobs and the class id.  What I would like to retrieve is each knobs characteristics, i.e.. Knob label (Knob 1), Scale and datatype.

 

This will allow me to produce a parameter list for a user to input their desired stimulus.

 

 

Download All
0 Kudos
Message 12 of 13
(580 Views)

Hi Martin,

to get the label, you have to use the label.text property. Maybe the caption.text is also interesting for you. With the class id you can convert the refnum to a more specific refnum to get access to special properties. See also the OpenG libraray where you will find a vi to get the type from the variant value.

 

http://wiki.openg.org/Oglib_variantconfig

 

Hope it helps.

Mike

Message 13 of 13
(569 Views)