LabView 5.1, Windows 2000 - I'm using the instrument driver template to build a VISA driver for a GPS receiver. Using VISA writes & reads gives the unusual behavior of 1) Send Position Command, 2) Receive Position Response, 3) Send Status Command, 4) Recieve (new) Position Response, 5) Send Status Command, 6) Receive Status Response.
Single-stepping with the debugger forces the code to work correctly.
Adding a buffer flush after reading results in no data being available for the next command. Adding a read before the VISA write results in no data being available for the next command. It seems that the VISA Write node fires before the new incoming command string appears at the input terminal.
Anyone have suggestions how
to fix this? Thanks!
David.Huggins@Riverside.net