ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Configure UI To Display Slot 1,2,3 instead of Socket 0,1,2

Solved!
Go to solution

Looking for straightforward ways of displaying Slot 1-x on the UI instead of Socket 0-x as no one in the real world is identifying physical slots at 0. Yes, I know the software reasons why it starts at 0 and no I don't want to text jiggawax about it since I know I'm not the only person using TestStand wanting an easy way of doing this...

CTA, CLA, MTFBWY
0 Kudos
Message 1 of 4
(973 Views)

I’m writing from memory because I can’t check it right now. If you’re referring to changes in the names of windows/tabs in SeqEdit.exe, I think there is the DisplayName variable in Execution. You can try using it to change the index. The actual index is in RunState.TestSockets.MyIndex.

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
Message 2 of 4
(946 Views)
Solution
Accepted by topic author snowpunter

I'm not sure on the index the best way. It may be ingrained into the modelsupport dll's using it as an index so just changing it in the sequence might causing indexing issues.

 

As for the Socket to Slot, those strings are part of the "UIControlOperatorInterfaceStrings.ini": C:\Program Files\National Instruments\TestStand 2024\Components\Language\English.

 

SOCKET_NUMBER = "Socket:"
 //replace with
SOCKET_NUMBER = "Slot:"
Message 3 of 4
(929 Views)

Finally got around to trying this, combined with the info here and it works. Goodbye 0-based displays on the UI!

 

Slot Numbers.png

 

Solved: Re: Non-Zero Socket Indexing in Executions - NI Community

 

Thanks for your help!

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 4
(192 Views)