Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib hangs intermittently on linux-i386

I'm running a C++ program that talks to a Keithley 428 through the GPIB driver in linux. It works fine for a while, but hangs at random intervals. The same code works on Solaris without problems. The hanging happens when we are rapidly banging away on the gpib interface, with the same command to the Keithley.

I don't know if this is related, but this seems to occur only when we're simultaneously talking to VXI (using the NI drivers) in the same program. We're reading an ADC through VXI, which is reading the output of the Keithley, and using the result to determine whether to change the gain on the Keithley.

TIA!
0 Kudos
Message 1 of 2
(3,080 Views)
Hi,

I have a couple of questions.

What GPIB driver version are you using (0.8.2, 0.8.3)?
What GPIB interface are you using?

What operations are you performing on the remote device. Are you just performing a query (write and read)?. Or is there more functions involved, like waiting for an SRQ and doing a serial poll?.

I couldn't find any known issues. That is why I want to get more information on the problem and see if I can reproduce it.

DiegoF.
National Instruments.
0 Kudos
Message 2 of 2
(3,079 Views)