LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synching binary serial data

Solved!
Go to solution

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.

 

 

0 Kudos
Message 11 of 12
(295 Views)

"

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 12 of 12
(293 Views)