Hi,
I was wondering if the Red Lion Crimson 3.1 system had a background thread I can tap into to process Raw serial data from a device?
My device is sending the following string '-036298605,-000930576,15,63<LF>' 3 to 4 times a second. There's no unique starting character or field markers, just the "," and the line feed <LF>. The starting sign could be '+'. The device sends this data automatically and constantly.
With other advice here, I am able to process this data using fake data. I cobbled something together to send a sample message once a second and placed my code in the 'OnTick' routine of the three data pages that will display the data. I was able to parse the message and place the values into the correct tags.
I was hoping to place my 'Processing' routine in some sort of background thread so I would be able to read 'constantly' and better handle the message.
Any places to look for good place to process this data?
Thanks.
I was wondering if the Red Lion Crimson 3.1 system had a background thread I can tap into to process Raw serial data from a device?
My device is sending the following string '-036298605,-000930576,15,63<LF>' 3 to 4 times a second. There's no unique starting character or field markers, just the "," and the line feed <LF>. The starting sign could be '+'. The device sends this data automatically and constantly.
With other advice here, I am able to process this data using fake data. I cobbled something together to send a sample message once a second and placed my code in the 'OnTick' routine of the three data pages that will display the data. I was able to parse the message and place the values into the correct tags.
I was hoping to place my 'Processing' routine in some sort of background thread so I would be able to read 'constantly' and better handle the message.
Any places to look for good place to process this data?
Thanks.