Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed GPIB Command Causes Reboot of Win2k

I'm working with Delphi 5 and the dpib32 library to develop GPIB applications. We have a problem with the app rebooting PCs on win2k. My understanding is this is a BSOD but never shows becasue of system properties.

I have traced the problem down to a particular situation which I thought was handled. After making a useless call to a deveice... say VDC?, eventually there is a timeout. After the timeout I set ibonl(Device, 0); but the system never recovers. Upon closing the app there is a reboot.

Any idea how to get around this or what I need to do at the code level to (assuming here) 'disable' the device?
0 Kudos
Message 1 of 2
(3,247 Views)
This particular BSOD is fixed in driver versions 2.0 and above. I think to fix this in your code without changing the driver version, you should make sure that you take every device handle offline using ibonl(handle, 0).

Hope this helps.
0 Kudos
Message 2 of 2
(3,247 Views)