11-13-2014 02:30 PM
I have taken over a program where the Get Waveform Attribute function is being used.
It wants to get the name for all the virtual channels.
Running in LabVIEW 2014 (32-bit).
All of the channel names are of the form \00\00\00\fChannel1 or \00\00\00\rTemperature or \00\00\00\07Channel2 when the textbox is set to '\' Codes Display.
Is this a bug?
If so, what can I do to remove the unprintable characters?
11-14-2014 04:52 PM
Hello Nyc
I am sorry to hear about your issue, to be honest I am not actually sure about if this is a bug or not, I checked and I get the same results with LabVIEW 2014 and 2012 when I set the channel name indicator to '\' Codes Display.
I think there is more than one workaround for removing the unprintable characters like the one mentioned in this thread http://forums.ni.com/t5/LabVIEW/remove-non-printable-characters/td-p/2575313. or this thread http://lavag.org/topic/14750-remove-bytes-from-string/ .
Are you getting any errors due to the behavior of this VI?
WenR
11-16-2014 07:07 PM
@WenR wrote:
Hello Nyc
I am sorry to hear about your issue, to be honest I am not actually sure about if this is a bug or not, I checked and I get the same results with LabVIEW 2014 and 2012 when I set the channel name indicator to '\' Codes Display.
I think there is more than one workaround for removing the unprintable characters like the one mentioned in this thread http://forums.ni.com/t5/LabVIEW/remove-non-printable-characters/td-p/2575313. or this thread http://lavag.org/topic/14750-remove-bytes-from-string/ .
Are you getting any errors due to the behavior of this VI?
WenR
No, I am not getting any other errors due to this behavior.
I ended up removing the first 4 unprintable characters.