NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to define my own constants in teststand

I would like to write the following line:

StationGlobals

.mydata.Test_Name = Parameters.THISTESTINFO[0]

to look like this

StationGlobals.mydata.Test_Name = Parameters.THISTESTINFO[TESTNAME]

where TESTNAME is a constant that I define to be 0

 

 

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

Hi,

Unfortunately TestStand doesn't have constants.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,602 Views)

Thanks Ray I did not think that feature was available
 I was thinking of useing a variable but by the time I get done with all of the dot operaters I don't think it would be any less cryptic.

is there a way to suggest desired features?

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

Hi RustyStrings,

I thought there was a link on the NI website ( Product & Services | Support ) but I can not find it.

So here is as good as anywhere, So long as one of the NI Guys pick it up and add it to the suggestion list.

There is a chance that it may already be on the List.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,548 Views)

Hi,

This is the link I was looking for to submit a product suggestion.

http://digital.ni.com/applications/psc.nsf/default?OpenForm

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 5 of 5
(3,525 Views)