LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dividing Serial Data

If your string is always defined as {First element = First character, Second element = Next three characters, and Last element = Last three characters}, then parsing is easy. But if you can also get 1256256 => "12", "56", "256", then you have a serious problem of knowing what is what.

Do you know exactly how the data is formatted? If not, check with the manufacturer of the device to get the information. Without that information it will be difficult or impossible to assure that your data is correctly decoded.

Lynn
0 Kudos
Message 11 of 14
(1,366 Views)

Hi. Lynn,

 yes.  It is always defined as the loop of  first element = first character, second element = next  three characters and third element = next three characters.  and I am attempting to serapate this so that I would have a display for each sensor.

 Thanks

     

0 Kudos
Message 12 of 14
(1,356 Views)
Here is a simple parser based on the String subset function. (LV7.1) This should give you some ideas about how you can make your system work.

Lynn
0 Kudos
Message 13 of 14
(1,345 Views)
thanks.
I appreciate your help.
0 Kudos
Message 14 of 14
(1,336 Views)