NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Enumerator programmatically in LabVIEW called in Teststand

How to change Enumerator programmatically in LabVIEW called in Teststand ?

 

I know that Enumerator cannot be changed programmatically since the data type itself different from other controls like Ring and Combo box. 

 

My application  involves in Property loader which will load the list of names to Enumerator during Initialization. And the same shall be used by operator to select in further steps for testing. I tried with Ring and combo box but it doesn't works because its not giving dropdown option in TestStand Steps to select the name.

 

I need a drop down and also programmatically changing the value of the same variable. I had gone through all forum solutions regarding Enum, but I couldn't get any work around for this.

 

Please suggest me a solution or best work around to do this.

 

Thanks,

 

Vijay

L&T Limited

Certified LabVIEW Developer

India.

0 Kudos
Message 1 of 4
(3,671 Views)

Can you provide an example of how a ring control/combo box does not work?  This should be the way to do what you want unless I am misunderstanding exactly what you want to do.  In theory you could have a dynamic enumerator type, but there are lots of hoops to jump through using VI server and scripting and it is not worth the effort.  Aesthetically, you can make the ring control and enumerated data type look exactly the same.  I would be using a ring control.

 

Please post an example of how it does not work.

0 Kudos
Message 2 of 4
(3,640 Views)

am facing problem with drop down menu in TestStand step while calling LabVIEW VI with Enumerator.

 

In LabVIEW Ring and Combo box working fine with drop down.

0 Kudos
Message 3 of 4
(3,622 Views)
I'm not sure I understand your problem then.  An example illustrating your problem would probably be helpful.
0 Kudos
Message 4 of 4
(3,614 Views)