05-23-2014 01:03 PM
I have a control bound to a network shared variable served by an EPICS server (which is run by labview). If I try to set the variable remotely, to say "test36", in my labview program's control it looks like "test36 ". It looks like it is followed by 34 spaces, but if I cut and paste the control value into Notepad, or my browser to post this message, it pastes as "test36". Also, the Trim Whitespace.vi does not recognize these extra characters as whitespace. If I change the control to "'\' codes display", it looks like "test36\00\00\00\00\00\00\00\". I've tried using "search and replace string.vi", but it doesn't work. This is particularly problematic for me, as I am attempting to set a file name.
Any thoughts?
05-28-2014 04:51 PM
Hey dsdale24,
I was playing around with the Search/Split string.VI and it seemed to remove the whitespace when I wire a constant with \00 into the search string/char input. Let me know if this doesn't work and I'll continue to look into this!