11-14-2014 05:53 PM
Hello,
I have a Datataker DT80 that is automatically sending messages to Dasylab 12.0 that I can read from the ICom monitor module. The DT80 messages have the following format,
D,101245,"PROJETE",2014/11/14,19:37:32,0.887084,0;B,0,3.603064,23.28449,21.412624,-24.932666,673.31992,-124.61448,-0.74798,0.337155,1.202812;0141;8DFE
I use the following filter as a starting point, "0;B,0,"a\r.
the '\r' isn't correct since I and trying to parse the next comma and I tried the hexa of the comma which is '\x2c' and still can't segregate each data seperately.
How can I parse the rest of the message where each data I need is seperated by a comma ','.
Thank you in advance,
Richard
11-17-2014 08:14 AM
Hi Richard,
You're on the right track.
D,101245,"PROJETE",2014/11/14,19:37:32,0.887084,0;B,0,3.603064,23.28449,21.412624,-24.932666,673.31992,-
For channel 0, use ",0;B,0,"a\x2c
For channel 1, use a\x2c
then repeat until the end, where it will terminate with the semicolon, \x3b
11-18-2014 06:14 AM
Thnak you CJ_Butler__DASYLab_Pro,
I tried your solution, but Dasylab inserts on each channel the last data of my Datataker string. I have attached the configured module.
Thank you,
Richard
11-18-2014 07:34 AM
Can you attach a print screen on the ICOMS monitor? That will show me what you are getting and verify the parsing.
Thanks!!
11-19-2014 05:38 AM
Thank you for your help, I attached 2 screenshots of my settings.
Richard
11-19-2014 06:01 AM
Hello CJ_Butler__DASY
I Think I have my data in each channel now. I was expecting each channel to display its value in the Monitor section, but it parses the whole string and displays the last channel in the Value field. When I output each channel in a digital display, everything show up correctly.
Thanks again for your help CJ_Butler__DASY
Richard
11-19-2014 11:16 AM
Thank you for the update.
The red text in the monitor window is a good indicator that the parsing worked.