Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

iblock failure results in unrecoverable EDVR error

Hi,
I'm using the GPIB-ENET/100 modules to communicate with GPIB devices. I have 2 computers talking to 1 GPIB-ENET/100 unit. During startup of both computers, there is a heavy GPIB comms from computer #1, and if computer #2 tries to talk, "iblock()" fails with "ELCK" error. If I wait and try "iblock()" again, I get an "EDVR" error and I'm basically through.
Any idea what might cause this? Am I using iblock correctly?
Thanks!
Joe K.
0 Kudos
Message 1 of 2
(2,918 Views)
Hi Joe,

It sounds like you are doing things properly. You use iblck to gain exclusive access to the interface. The ELCK code should be returned because the other computer has control of the system. I am not sure why you may be getting an EDVR error the second time you invoke the call. A possible workaround may be to increase the LocKWaitTime on the requesting computer and wait longer for the first computer to finish.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,918 Views)