Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous GPIB polling while performing GPIB write and GPIB Read

Hello,
 
I am having trouble polling my GPIB device (performing continuos GPIB writes then reads in a loop), while performing my own GPIB writes and reads.  The problem occurs because the first loops continuosly polls, but when I perform my GPIB write, I am not able to perform my GPIB read because of the polling so I get an error.  Is there any easy way I can solve this issue?
 
Thanks
0 Kudos
Message 1 of 2
(3,118 Views)
The problem lies in being LabVIEW really parallel.
You could put the read, write and poll together in one subvi in separate cases.
And connect to the case what you need via an enum.

A subvi that has not been made reentrant will stop all callers except the first and continue with second  etc callers after the first has finished.
This behaviour makes it easy to have locking on the gpib bus without having to write software for it.
greetings from the Netherlands
0 Kudos
Message 2 of 2
(3,108 Views)