07-23-2010 10:54 AM
I use Labview to control three instruments: powersupply (DC voltage mode) of Agilent E3643A, multimeter of Keithley 2000, and powermeter of EXFO PM-1600, all of which are connected to computer with GPIB cables. Things go on well when I first only control the powersupply and the multimeter for work, leaving the powermeter turned off, but as I turn the powermeter on, the following error occurs:
ERR(-1073807339)
VISA wait on Event in Wait for RQS.VI:1 --> Keithley 2000.lvlib: Wait for SRQ.vi --> Keithley 2000.lvlib: Data Read Single --> my file name
Here "Keithley" refers to the multimeter. I try this several times and discover that though the powermeter is also connected two the other two instruments with GPIB, as long as it is turned off, there won't be problems, but if it's on, the program won't work and the above error will be reported.
I also write another program to control the powersupply and the powermeter to work together. It works well. So I think the problem lies inbetween the powermeter and the multimeter, though I don't know what exactly the problem is, or how to solve the problem. My experiment requires the three instruments to work together. I do tried to write another program for it yet it didn't work as expected, and the same error was reported. I need help from you, thanks a lot.
07-23-2010 11:14 AM
Sounds to me that you have a duplicate address. In MAX when you scan for instruments, do you see three separate ones listed? The scan for instruments is the very first step you need to do.
07-23-2010 11:58 AM
Yes I checked the IP address of the three instruments. Agilent E3643A Powersupply is 6, Keithley 2000 Multimeter is 16, and EXFO PM-1600 Powermeter is 20. It looks that there are no conflicts.
07-23-2010 12:08 PM
An IP Address is completely different than a GPIB address. What you are showing is the GPIB addresses.
What about my question? When you did the scan, did three separate instruments get listed? I don't know if you checked the addresses by doing a scan or by just reading the address from the instrument.
07-23-2010 12:12 PM
Oh I see them listed in the MAX. There are three separate ones. I read the GPIB address from there.
Sorry for confusing you.
07-23-2010 12:17 PM
Then perhaps there is a physical problem. One of the instruments is asserting a control line or there is a defective cable someplace. Perhaps you get the error only with the Keithley because the program does not check the RQS of the Agilent. I kind of doubt if there is anything wrong with the code. In the past, what I've done to try to fix similar problems is to replace the cables and to swap out the different instruments.
02-23-2011 05:58 AM
02-23-2011 12:31 PM
Hi,
Unfortunately I did not find a solution. I way I solve the problem is to change the instrument I used.
Good luck,
02-23-2011 12:52 PM
Thanks.
02-24-2011 09:39 AM
Hi shals,
Can you give us some more details on what you are seeing? Are you also using three instruments? Is the behavior only with one of them?