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 Kudoed Authors
User Kudos Count
1
1
Showing results for 
Search instead for 
Did you mean: 

Support for Creation of Enumerated Type Variables

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:

 24440i0A04C051A35273A4

 

 

 

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

 

24442i5CDD825A78B161E5

 

12 Comments
Member EMR
Member

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)

Active Participant crelf Active Participant
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!

Member fazekasc
Member

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.

Member Jean-Louis
Member

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.

Member LVB
Member

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:

 

http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Link-Custom-Data-Types-to-LabVIEW-Type-Defs/idi-p...

Active Participant warren_scott
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.

Member Lars_L
Member
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: http://www.ni.com/white-paper/14148/en#toc5
Member Lars_L
Member

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!

 

Lars

Member adayts
Member

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?

Member netsirk
Member
Status changed to: In Beta