NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I increase the buffer size for StationID variable

Solved!
Go to solution

I am trying to read the StationID string variable in TestStand,which holds the computer name. It currently truncates to 14 characters.

 

How can increase the size?

 

Thanks in advance.

0 Kudos
Message 1 of 4
(3,692 Views)
Solution
Accepted by topic author WDLV

Hi WDLV,

 

What version of TestStand are you using?  I tried this in 3.5, 4.0, and 4.2 and verified that the StationID (RunState.Root.Locals.StationInfo.StationID) was able to contain a name longer than 14 characters.  Are you using this method to access the stationID, or something else?  Also, are you seeing this with any sequence or just a particular one?

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 4
(3,672 Views)
Hi , Thanks for answering. I am using 4.2, Yes, I am using this method to access the Station ID. I have not tried this with any other sequences but this is a Batch modell process variable not affected by sequence files, correct?
0 Kudos
Message 3 of 4
(3,656 Views)

Hi again, never mind I found out that the Computer NetBios name is limited to 15 characters from within windows.

 

The problem stems from there and not from TestStand.

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