03-29-2021 05:09 PM
I am trying to send a folder path from a variable in TestStand. The path unfortunately has a few spaces and a hyphen which is returning the wrong string. The string variable contents are inside the angle brackets <"\\Six_Position_Flash_Programmer - Extra DIO\\Flash\\Datalog">. See attached image to see the outcome. There is nothing wrong with my my sequence as I use it with dozens of other folders and locations. I tried to break up the internal blanks and replace them with a +" "+ but that didn't change the outcome. What can I do here?
03-30-2021 01:24 PM
I don't have python so I can't test this but 2 things I can think of:
Option 1 - Try putting an escaped space in there? \s
Option 2 - Put an @ symbol before the string @"\\Six_Position_Flash_Programmer - Extra DIO\\Flash\\Datalog". You'll need to remove the double slashes to just single slashes if you do. The @ symbol basically tells the string to not do escape characters.
04-05-2021 07:24 AM - edited 04-05-2021 07:25 AM
I tested it with LabVIEW. It seems to be working as expected. You could try implementing Jigg recommendations
.
Regards,
Dharani | CLA | CTD