NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to edit station id value

Is it possible to edit the STATION_ID value?  I have been told that TestStand (4.2) picks this value up from the NetBIOS or Windows machine name in the domain, but this is subject to a 15 character limitation.  How can I add a prefix or suffix that is determined in the sequence?  Please be specific as I am not a TS developer.  Thanks.

0 Kudos
Message 1 of 4
(3,532 Views)
0 Kudos
Message 2 of 4
(3,530 Views)

Just realized this isn't the same thing.  Let me get you the correct info.

 

 

OK got it:

 

Place a Statement step in your sequence and put the following in there:

 

RunState.Root.Locals.StationInfo.StationID = Locals.MyModifiedMachineName

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 4
(3,527 Views)

.

0 Kudos
Message 4 of 4
(3,516 Views)