How to Add an Escape Sequence to String Variable in TestStand

Updated Jun 7, 2023

Reported In

Software

  • TestStand

Issue Details

I'd like to store a carriage return and other special characters in a TestStand variable and pass it to LabVIEW, but is this possible? 

Solution

Yes, like the following image, you must first change the Parameter Type to Binary String from its default setting, which is set to ASCII String. 


Then, for the Variables Value, input the string with the desired escape sequence, as indicated by the following red box. 
 

Additional Information

For a new line (\n), you can also do Ctrl - Enter when inputting the string value into the variable. For this specific method, you can keep the Parameter Type to ASCII String.