NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

display number in function statement

How do I display a number in a function statement?  I have some FileGlobals that are numbers.  I want (in a message popup) to say some thing like,
 
"The value of blah is " + FileGlobal.blah + " and the value of blahblah is " + FileGlobal.blahblah.
 
 
0 Kudos
Message 1 of 4
(3,348 Views)
Use the Str function: "The value of blah is " + Str(FileGlobals.blah) + " and the value of blahblah is " + Str(FileGlobals.blahblah)
0 Kudos
Message 2 of 4
(3,346 Views)
I think I tried that and it displayed a blank in one case and a funny symbol in another.  I'll try it again, though
0 Kudos
Message 3 of 4
(3,341 Views)
That worked.  I'm not sure what I was doing wrong the first 20 times.  Thanks.
0 Kudos
Message 4 of 4
(3,326 Views)