03-05-2010 04:02 PM
I've been trying to interface 3 reasonably old instruments (Keithley 224, Keithley 182, LakeShore DRC-91C) with a slightly newer computer (Gateway 366c) running Windows 2000 with PCI-GPIB (NI 488.2 version 2.42). The instruments used to correctly work on a computer using a GPIB-PCII and MSDOS. Everything seems to be working correctly, I can query all the instruments with IDN and everything responds, and ibwrt and ibrd work, but if I send a 2nd write or read to an instrument after it has reponded to the previous request, I get an EAB0 error.
I've tried changing the timeout time, waiting longer between commands, and different bus timings, but it continues to happen.
If anyone has any ideas I'd really appreciate it.
03-06-2010 06:27 AM
03-08-2010 01:12 PM
03-09-2010 01:46 AM
03-09-2010 10:25 AM
Is there anything you can do to make the system work? You said if you do an IDN that it works, but any subsequent writes result in an error. What do you have to do to be able to communicate to the instrument again, restart the system, wait for an hour between each ibwrt?
Do you still have the programs and can you install them on the new computer? (Trying to figure out if the problem follows the new hardware or the new software). If you can get a NI-SPY capture of the DOS system, or a system with dos on it, we could compare to make sure that we're writing the same commands.
03-09-2010 01:11 PM
Total cable length is maybe 6 feet, I don't think it should be a problem considering it worked before. The connectors don't appear to be rusted, and I don't think this explains why it always times out on the second read.
I have the old software and it runs fine on the new computer now besides getting the EAB0. I discovered the problem wasn't the software when I tried doing reads and writes in MAX and the problem came up (I also initially thought it was just 1 instrument, but all of them do the same thing). What is strange is after timing out on the second read or write, it will work fine again. It basically alternates between EAB0 and working just fine.
As for comparing to the old dos system, unfortunately that machine has been broken for years and isn't even around anymore, and I am not sure I can find one with a GPIB-PCII card.
Is it possible that the problem is something with PCI bus mastering or the way the card is installed? I tried to check the bios on this machine but unfortunately I couldn't find any setting for PCI bus mastering.
03-09-2010 04:33 PM
03-11-2010 07:11 PM
03-12-2010 09:44 AM
It doesn't look like you're passing the same parameters into the ibrd on the items that pass as the items that fail.
03-12-2010 03:28 PM