NI TestStand Idea Exchange

About NI TestStand Idea Exchange

Do you have a feature idea for how to improve NI TestStand? Submit and vote on ideas now!

  1. Browse by label or search in the TestStand Idea Exchange to see if your idea has previously been submitted. If your idea exists sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea. Note: the TestStand Idea Exchange is not the appropriate forum to submit technical support questions.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!

The TestStand R&D team is committed to reviewing every idea submitted via the TestStand Idea Exchange. However, we cannot guarantee the implementation of any TestStand Idea Exchange submission until further documented.

Top Authors
Showing results for 
Search instead for 
Did you mean: 

Support for Creation of Enumerated Type Variables

Status: Completed

Find yourself placing a Sequence Call step and trying to determine the appropriate value to enter for a numeric parameter called "Direction"?  Tired of creating sequences with numeric parameters named like the following: "Direction_0_Up_1_Down_2_Left_3_Right"?


The solution is to support the creation of variables with enumerated type within TestStand.  Enums could be created as custom variables and then used as wherever a self-documenting variable is required.



Enum type creation:





As seen from a Sequence Call step to a subsequence that uses an Enum as a parameter: 





It'd be doubly handy if such an enum type could do a 1-time snapshot matchup with a preexisting LabVIEW enum similar to how it detects LV clusters for 'create type'... (for other language adapters I'd be happy to simply have the ability to create it manually on both sides)

Elaine R.
Active Participant

I'd also like users to be able to autocomplete on enum fields when they're typing - I had a customer ask for that yesterday!

Copyright © 2004-2020 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

I just logged in here to post this idea to find it's already here!


I use a lot of sub-sequence calls to keep my sequence file modular and easy to support by other engineers.  I'd like to use an enum in a sub-sequence call parameter to select different options that the sequence could perform.  It would be more intuitive than passing in integers that don't mean anything unless you reverse engineer the code or look up help text.  TestStand supports this for calling LabVIEW vi's very nicely.


Enums are very useful when creating NI TestStand custom StepTypes.
They can be used as input parameters for execution modules and configuration dialog box, especially with LabVIEW.


I think that the TestStand internal representation of an enum should be a custom DataType.
Thus when using an enum, all enum instances could be updated when changing the list of enum items within the custom DataType.

CTA - Certified TestStand Architect (2008 & 2010 & 2014)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

Active Participant
Active Participant

Expanding upon this idea, I think it would be important to have TestStand support Custom Data Types from LabVIEW Type Defs, including clusters.  There is a related feature request below for this:

Active Participant

I wouldn't consider this a completed idea.  My interpretation is that there is a user need for an enumerated type within TestStand (that would also conveniently link to the enumerated types in other languages).  It seems like we improved connectivity to LV enumerated types, but we didn't give TS a native enumerated variable itself.

NI Employee (retired)
Status changed to: Under Consideration
Although we don't yet have the ability to create enum or ring datatypes in TestStand, TestStand 2012 now provides full integration for LabVIEW ring controls where the parameter list on a LabVIEW adapter step populates with the ring list. This is similar to the LabVIEW enum support that has been supported for a while now. For more details take a look at the LabVIEW Ring Control Support section in the What's New in TestStand 2012 document:
NI Employee (retired)

Thanks for the clarification warren! I've changed the status from Completed to Under Consideration as we've addressed some ring/enum concerns but we haven't yet implemented the ability to create an enum or ring datatypes natively within TestStand. Thanks for the feedback!



NI Employee (retired)

If TestStand were to have a native enumeration type, would you expect it to work with LabVIEW ring controls as well as LabVIEW enums? If so, would you expect any differences in how it would interact with ring controls as opposed to enums?

NI Employee (retired)
Status changed to: In Beta

Kristen M

Automated Test Product Marketing Engineer
National Instruments