NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set dotnet enum function parameter with statement?

Hello,

i have a custom function written in c# that offers the parameters with enums. So i get a dropdown-list where i can select the valid-parameters.

How can i set this parameter with a statement?

It looks like that i can pass the numeric enum OR the corresponding string of the needed enum.

But is there also a way to get/see the all valid enum-values in the statement?

 

Thx

0 Kudos
Message 1 of 2
(2,396 Views)

Hi!

 

as far as I can see the same question has been posted and answered before. Does that discussion help you along?:

 

Solved: .Net enums - Discussion Forums - National Instruments
http://forums.ni.com/t5/NI-TestStand/Net-enums/m-p/1950055

Best regards,
Christoph

Staff Applications Engineer
National Instruments
Certified LabVIEW Developer (CLD), Certified LabVIEW Embedded Systems Developer (CLED)


Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved
0 Kudos
Message 2 of 2
(2,303 Views)