NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

control char Test Stand

I wish to send control characters out of Test Stand 2 to a RS232 dll, such as STX, ETX,RS,US. How to I get Test Stand to send a this type of character as Test Stand only sends strings. I tried Str(30) which just sends the string "30" rather than the control character RS?
 
 
0 Kudos
Message 1 of 4
(2,946 Views)

Try sending the hex code with a "\" prefix. For RS, that would be \1E. I actually haven't tried all of the characters in TestStand (besides \n - line feed) but in my LabVIEW code, the \ code always works.

0 Kudos
Message 2 of 4
(2,939 Views)
The "\n" works but "\1E" just sends \1E as a string rather than the control character; I guess it does not even know it is hex. Any more ideas?
 
 
0 Kudos
Message 3 of 4
(2,924 Views)

I think you might have to use \\ instead of a single \

Regards

Ray Farmer

 
Regards
Ray Farmer
0 Kudos
Message 4 of 4
(2,921 Views)