Discussion:
string problem-double backslash in subVI
(too old to reply)
ronmill
2006-10-10 16:40:11 UTC
Permalink
When connecting a string constant that include the character
"\" to a subVI the backslash character is multiplied.
How can I avoid this?Additional information, the digital control that is connected is set to "Code display".
Dennis Knutson
2006-10-10 18:40:08 UTC
Permalink
It sounds like you first had set the control for normal display, entered the \r\n, and then turned on '\' code display. Just delete everything you have in the control and with '\' Code Display on, enter the command plus \r\n. You could also have the command in a string control/constant with normal display turned on and use the concantanate string function with the carriage return and line feed constants on the string palette wired as inputs 2 and 3.
p.s. Next time, post similar messages in either the LabVIEW or serial forum. Posting this type of question in the Digital I/O forum just confuses things.:smileywink:Message Edited by Dennis Knutson on 10-10-2006 12:29 PM
Loading...