Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my VI correctly work only when I turn on highlight execution?

I am monitoring a piece of hardware using VISA and my app. works fine when highlight execution is turned on. My app. is to constantly write and read data however it seems to read incorrectly off the serial port when highlight execution is off. I have tried adding a wait to the read and also flushing the buffer before and after it completes one cycle of write/read. Any ideas? I'm stuck.
0 Kudos
Message 1 of 2
(3,043 Views)
Sorry about wasting your time if youve tried to solve it. I wasnt waiting long enough between successive write and reads.
0 Kudos
Message 2 of 2
(3,043 Views)