06-28-2018 04:40 PM
I am measuring data from 3 oxygen sensors which collect into a single controller. The controller connects to my laptop via an RS232-to-USB cable. Using termite and LabView I can see that it continually transmits data that looks like this:
M@@@0141160.3912011M@@@0139506.1563011M@@@0138818.984E4899A03A31011M@@@0141161.1412011M@@@0139500.9843011M@@@0138820.063CE70E003A31011M@@@0141160.8752011M@@@0139501.53M@@@0000000.0002011M@@@0000000.0003011
The actual data is each of the 10 digit numbers following the set of "M@@@"s. (ie. the first oxygen sensor reads 0141160.391 ppm).
How do I isolate those numbers in order to graph the values over time? and separating the three different sensors?
Thanks
Solved! Go to Solution.
06-28-2018 05:09 PM
maybe some string manipulation, filter out @ and M? Maybe can even filter out all text characters.
then index array for the rest, I suppose its DBL
0138820.063CE70E0
but the C and E could well be hex
06-29-2018 12:30 AM
You need to convert the string into array and you need to use M@@@ as a delimiter. below figure will help you.