Hello
I am writing a program to parse fields in messages. The messages look like this:
Field 1.1|Field 1.2|Field 1.3| ... |Field 1.n<carriage return character>
Field 2.1|Field 2.2|Field 2.3| ... |Field 2.n<carriage return character>
To parse this, i used the "Scan string for Tokens" VI, using "|" and "\r" as delimiters, storing all the field in an array. The implementation can be seen in the attachment
The pipe character works fine, but the carriage return does not.
I get this at the end of each line:
"Field 1.n
Field 2.1"
The program is not using the carriage return character as a delimiter. I am using LabView 7.0 Express.
Can somebody tell me what is wrong?
Thanks in advance