06-15-2010 09:20 AM
HI
I am transmitting 5 Analog channels on Com port of crio. On the receiver end, only sometimes my data gets corrupted. Can anybody tell me whats the problem.
Thanks
06-16-2010 03:08 AM
Here is my updated VI.
06-16-2010 07:54 AM
Without a more detailed description of the characteristics of your problem it's hard to say exactly especially with only the cRIO code available for perusal.
If I were you I would look at the receiver side code, and be sure that a buffer overflow was not happening. Your code appears to be sending a minimum of 142 bytes per second. The unconstrained conversions of floating point to strings can get long. After 10 seconds 1420+ bytes would have been transmitted. If your receiver code is not emptying the buffer at the same rate (or higher) as the transmitter is filling it eventually the buffer will overflow and bytes will be lost corrupting your data.
I hope this helps. It's the best I can do with the information you have shared so far.
Jason