NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Double \\ passing Path to LV

Solved!
Go to solution

Hi, I have to pass some path from TS to LV. I have always used the double slash \\. Is possible to use only one "\"? If I do it the string that LV gets is different from the original. I know that the "\" is a special character and the behavior depends of the following character.

 

Thanks all

0 Kudos
Message 1 of 5
(4,039 Views)
Solution
Accepted by topic author logatto

Not sure why you are asking this as you already know the answer.

 

I surpose you could send an array of U8's rather than a string then in LabVIEW convert your array back to a string.

 

 

 

 

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

I agree with Ray. You should send a code and then convert it to a charachter in LabVIEW.

Bye!

MarcoMar

National Instruments Italy
0 Kudos
Message 3 of 5
(4,021 Views)

Thanks guys.

0 Kudos
Message 4 of 5
(4,013 Views)

If your path is stored in a string variable you don't need double backslashes, you only need double backslashes if you have a string literal in an expression.

 

-Doug

0 Kudos
Message 5 of 5
(3,997 Views)