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: 

TestStand function to change Upper/Lower Case?

How can I perform a "toUpper()" on a variable using TestStand expressions? I want to force all upper case on a string that a user has input, before validating it.

I know I can do this in a VI, but I would hope that TestStand could do this. There appears to be a set of string functions (like len(), search(), replace(), format()) but I don't see any case manipulation.
0 Kudos
Message 1 of 3
(4,071 Views)
TestStand 2.0.1 does not have these functions, so a code module is the way go. However, it is very likely that these functions will appear in a future version of TestStand.
Message 2 of 3
(4,071 Views)
Is it possible to add custom functions to TestStand, so that they show up in the Expression Browser? That could be a really powerful feature.
0 Kudos
Message 3 of 3
(4,071 Views)