11-19-2019 09:12 AM
I created a very small program on an Arduino Uno that sends 90 bytes at a time with 2 msec gap between messages.
Every byte in each message is the same and increments from 0 to 255.
So 90 bytes of 0x00, then 90 bytes of 0x01, and so forth.
When starting up LabVIEW first and then starting the Arduino Uno which is acting the UUT, every single message is received and remains synced. There was no need to sync.
That is simplest solution to their "sync" problem.
I will suggest that first.
If management insists that that is unacceptable, I will implement your suggestion.
11-19-2019 09:42 AM
"
I created a very small program on an Arduino Uno that sends 90 bytes at a time with 2 msec gap between messages.
Every byte in each message is the same and increments from 0 to 255.
So 90 bytes of 0x00, then 90 bytes of 0x01, and so forth.
"
That is a worse case scenario that can break the protocol!
I sincerely hope the data stream nevenr has that pattern.
Ben