NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create enum drop box in Sequence call parameter list

Solved!
Go to solution

Hello,

 

Is it possible to change how my SequenceCall step passes arguments? Right now, the Step.Module.ActualArgs variables are containers, that contain Expression as the actual type. I would like to add a select box that my end user could conveniently click and select instead of writing all vars as expressions.
Currently (sequence call):

luklem_0-1764243932770.png

Expectation (.NET call):

luklem_1-1764243971358.png

 

0 Kudos
Message 1 of 3
(95 Views)
Solution
Accepted by luklem

Hi luklem,

 

As I see this feature is not available in the UI. You can create enums as custom data types and add the sequence parameter based on this enum data type, but the drop down selection is not implemented.

Or you can create your additional custom step type edit tab in the Step properties pane, but it needs additional programming in .NET, and there you can implement your customer's needs:

Creating Custom Step Type Edit Tabs in the Sequence Editor - NI

CsBihacker

Message 2 of 3
(33 Views)

Thanks for clarifying. I thought that by chance there would be an option to pass something else, rather than Expression

0 Kudos
Message 3 of 3
(25 Views)