LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Type descriptors of controls and indicators

Hello everybody and Good morning,

I'm using Labview7.0 and I want to register boolean controls to
different event cases (Mouse up / down, value changed) depending on
their mechanical action. PLaying with properties I found, that the
type descriptor of a such a control differs from one mechanical action
to another, but I only found the description for data type
descriptors. Is there a document available about type descriptors for
controls and indicators? And where can I find this documentation?

Regards
Heinrich
0 Kudos
Message 1 of 4
(2,877 Views)
Heinrich,

The type descriptor (TD) information you are looking for is "type def"
information, which is stored in the "reserved/private" section of the
TD header. It isn't documented (publicly) for several reasons, but
primarily because NI wants to reserve the right to change it (in new
versions of LabVIEW). Is not being able to have this information a
problem for you? If so, there is probably a work-around.

Regards,

-Jim
0 Kudos
Message 2 of 4
(2,877 Views)
Hello Jim,

thank you for your answer. It is no big problem.
The reason is I want to use different front panels with different controls (placing as a subpanel), but the main program in the background is always the same.
Due to your answer I have to lock the registration to the controls names now and I'm not very flexible. It would be more comfortable to use only "mechanical action" instead of names. Therefore I'm very interrested in your workaround.

Regards
Heinrich
0 Kudos
Message 3 of 4
(2,877 Views)
Hello Heinrich,
Here is a link to a previous thread discussing typedefs and type descriptors that might help you.

I am still a little confused about what you are trying to accomplish. If possible, could you provide some more details about the behavior of the controls that you want? Thanks!

Jeremy L
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 4 of 4
(2,877 Views)