Hello
I created a C program, using SuSE linux 8.2 on the 2.4.20 kernel, to talk to an Agilent E3641A power supply, however it kept erroring on me with a Time out on every command. I am using an AT-GPIB/TNT ISA board, so I downloaded the nigpib-linux-0.8.6 tar and installed it. To try and see if I could fix this I first ran the ibsta program to make sure the board was working properly, which it did as it passed the test. So then I started to use the IBIC to run by each command to make sure what would work and what doesn't. I followed the ni guide here: http://www.ni.com/support/gpib/max/ibic.htm.
The power supply uses the EOI, or EOS to determine the end of each command. The EOS in the manual is a line feed character, so I made sure that is what I set it to: 0x0A. Also when I did the ibwrt command I terminated them with a \n. The weird part is that, each command I write to the power supply does go through. I just need to wait apprimately 5 seconds, then it times out, gives me back an EABO error, and the proper byte count. So if I follow the guide, and then in ibic once the power supply is listening, if I type iwrt "*IDN?\n", I wait 5 secs., and then gives the EABO error and a byte count of 6. Then I can issue the ibrd 100 command, and I will once again wait 5 secs, then after timing out it will give me the EABO, proper byte count, and the poewr supply identification string. If I do other command such as setting the power supply voltage levels, it will also time out giving me the EABO error, but the power supply will also still set itself to the proper voltage level. What could be wrong? Help!
Thanks