NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Create TS enum from labview

Hello,

 

I need to create costom type definitions in TeststandSeqnence file, I will have more than 400 enums to create.

 

Is there a way to create enum and define its values from labview using testtand API?

0 Kudos
Message 1 of 5
(3,241 Views)

You mean want to create typedef automatically?

Programmatically Create a Type Definition Using VI Scripting

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 5
(3,208 Views)

No, I need to stript enum typedefinitions placed inside teststand sequence file:

 

image.png

 

If posible I would like to use TS API and labview if possible.

 

 

0 Kudos
Message 3 of 5
(3,186 Views)

Go in the module tab where you call your VI.In the list of parameters of your VI, identify your enum. You should see an icon to create/Update data type of the enum in TestStand

 

Capture.PNG

 

Regards

0 Kudos
Message 4 of 5
(3,149 Views)

It is an option but if I have more 350 enums I would have to create 350vis and pass them to sequence and click on create or update icon.

0 Kudos
Message 5 of 5
(3,138 Views)