Hello, I am a student trying to develop a Labview VI that talks with TDK blue2i module (with at style commands) via serial port, just like Hyperterminal.My VI consists of a while loop, inside of that I do VISA write, then VISA read using Bytes at serial port since answers are variable in lenght. When i run the program the first loop works ok ( i send message and get the right answer ) but in the second loop i still read the fisrt answer even if send a different command. Is there a way to make sure that buffer of the serial port is cleared after every reading? Sounds like a timing problem, Everything works well if I run the program Step by Step
thanks
