ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I retrieve the digital enum selection programatically?

I want to retrieve the digital number of the enum that a user selects on the front panel. I am using this number for configuration purposes later in the code. I need to know the number of the selection not the actual selection (text) itself. I have been looking all through the property nodes and cannot find a solution. I know there are other ways of doing this but I thought the property node would be the easiest and consume the least amount of code.
 
Thanks,
Troy
0 Kudos
Message 1 of 3
(2,690 Views)
Just use the numeric conversion functions:


Message Edited by smercurio_fc on 10-05-2007 09:29 AM

0 Kudos
Message 2 of 3
(2,689 Views)

OK great, that worked. I didn't even think to look at it like that.

 

Thanks,

Troy

0 Kudos
Message 3 of 3
(2,682 Views)