NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
L_A_B

Trim whitespaces in TestStand Step

Status: Completed

Hi!

 

I was working on a project which required LabVIEW 2011 and TestStand 2010. The software had lots of LV modules already created. I reused some of them. However, I needed to trim whitespaces in TestStand which were coming from the string outputs of these LV modules. Nevertheless, I was surprised to discover that there is no TRIM string function in TestStand at all. I had to create a simple VI which just trimmed the whitespaces. I couldn't modify the previously created modules because they were used elsewhere and could affect the outcome of the other test systems. Why does TestStand lack this simple functionality?

 

Regards,

 

L_A_B

 

3 Comments
dug9000
NI Employee (retired)

Trim(), TrimStart(), and TrimEnd() were added to the TestStand expression language in TestStand 2012.

L_A_B
Member

Hi dug9000,

 

Thanks for the information.

 

Regards,

 

L_A_B

WireWeaver
NI Employee (retired)
Status changed to: Completed
 
https://www.linkedin.com/in/trentweaver