09-11-2013 09:51 PM
hello!
I'm come from Vietnam, I want to send 2 numbers via RS232 (roll and pitch angles to simulate the quadrotor), what I want is when labview receive the first packet number( temporary call them are x1,y1) and simulate 3D model, then it receive and simulate next packet (x2,y2;then x3,y3,...). Now, it does not separate 2 packet. what function that I need to use?
I use Labview 2011, Pic C compiler, and proteus.
please answer me in here or gmail: sung.tq@gmail.com
thanks!
09-12-2013 05:33 AM
The easiest way would to put a Line Feed (0xA) character at the end of your packet on the microcontroller side. Then make sure the termination character is turned on in the LabVIEW code. By doing this, the VISA read will read a single packet at a time.