LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About communication between C program and VI with CIN

I programmed a VI includes an UART communication CIN to communicate with a C program end. Now this two ends cannot communicate in same speed (bit/sec). If the VI is given a higher speed than the C end it can receive a correct data from the C end but has a Framing error. The C code in CIN can communicate with C program end normally. Does VI affect the UART communication setting? Analyzing the hpenomenon, the VI will slow down the CIN communication.

I will be very glad that you can give me any advice.
Thanks in advance,

James2001
0 Kudos
Message 1 of 2
(2,637 Views)
Probably it's true that the VI slow down the CIN (the time required for exchanging data). In order to avoid different processing speed, try to implement handshaking.
0 Kudos
Message 2 of 2
(2,637 Views)