03-16-2009 03:05 AM
how can i sychronize labview and PIC microcontroller?
i want to start program run on labview when i sent from PIC "start"
my "while loop" starts before i sent the string and that generate problems!
is there an idea?
03-16-2009 03:18 AM
Because you said "....my "while loop" starts before i sent the string...." I assume you allready have a communication between PIC and LV.
So if you want to start a certain loop code after a string is received, you will need to poll the received string and compare it with the one you expect to run the code. use a shift register and a case structure to run the depending code, once the correct string was received.
if this doesn't help or if i missunderstood your question, please post again with a more detailed description.
03-16-2009 03:27 AM