NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enter quotes as part of a string? Is there a delimiter for this?

Solved!
Go to solution

 

I am calling LabVIEW HTTP PostBuffer.vi from TestStand. The buffer is a string. The protocol for the device uses quote characters:

 

"a=getavalue&j={"index": "test" }"

 

This results in an error in TestStand. because it is only expecting a quote at the beginning and end of the value.

Quotes.JPG

 

Any ideas on how to deal with this?

0 Kudos
Message 1 of 3
(6,245 Views)
Solution
Accepted by topic author PatSpring

use the backslash \

 

"a=getavalue&j={\"index\": \"test\" }"

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(6,241 Views)

Thanks!

0 Kudos
Message 3 of 3
(6,239 Views)