09-08-2008 09:51 AM
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
09-10-2008 02:45 AM
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.
09-10-2008 04:45 AM
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