08-13-2013 09:29 AM
Hello,
I have a Keithley 6517B running and communicating with PC through GPIB. The program was initially running fine, and giving the current-noise signal against applied voltage (as programmed). But now when I run the program , it is giving an error that arises at the 6517 Reset/Preset.vi -
Error 7 occurred at GPIB Write in Keithley 6517A Reset / Preset.vi
How do I get rid of this error. I don't understand how suddenly an error arised when I changed nothing in the program or settings of the keithley. The keithley is configured at GPIB address 27.
I am attaching the main program and the sub.VI llb file .
Now when I run the main program, the graph does not show any current or noise signal, but it shows a straight line plotted along '0' along the x-axis (that is, against time or voltage)
Please help.
08-13-2013 12:46 PM
Error 7 indicates that the GPIB interface is not present. If you look in MAX is it listed? What kind of GPIB interface are you using?
08-14-2013 12:10 AM
Also, are there any other devices on the same interface? Can you communicate with them? Can you send something simple like an *IDN? command and get a response?
My suspicion is that there's a problem with the interface itself -- which is what DAD is getting at with his questions.,
Mike...
08-14-2013
04:28 AM
- last edited on
03-15-2025
06:49 PM
by
Content Cleaner
Dear DAD and MikePorter,
Yes, the GPIB interface is detected on MAX. It shows device is working properly and also the *idn? Query check is working fine. I am using a NI-GPIB USB cable for communication: https://www.ni.com/en-us/shop/model/gpib-usb-hs.html
There is no other device connected via the GPIB except the keithley. Infact there are no other GPIB connected to this PC.
Why do I still get error 7? Please help.
08-14-2013 05:49 AM
Can you send the identify command from LV?
Mike...
08-14-2013 06:57 AM - edited 08-14-2013 06:58 AM
What do you mean by identify command? DO you mean the Query check? ..Then its *idn?
Please see attachments for error screenshots from LV
08-14-2013 07:38 AM - edited 08-14-2013 07:40 AM
Again, does the *IDN? querry work in MAX? Do you have the right GPIB address? Have you enabled the GPIB communication on the instrument?
Nevermind. I just found your MAX screenshot.
08-15-2013 05:55 AM
OK, can I see your LV code? If you can send the identify command from MAX and that works, something is wrong in the LV world.
Mike...
08-15-2013 09:52 AM
WOW. How does the Instrument Driver Network claim that as a Plug-n-play Project technology driver? OK The driver is a llb probably written in LabVIEW 2.0 with seriously old (read as Outdated) style issues. Yes folks, that really is a LV2 style global in there! "Error Query Global.vi"
There seams to be a large inconsistancy about how the driver handles EOI and initialization of GPIB communications. (In fact the documentation often mentions VXI)
IMHO this driver needs a rewrite and update to VISA
08-20-2013 04:46 AM
Hello Mike,
I was on leave hence the late reply. I have attached the entire LV main vi with the sub VIs llb file to the very first message on this post. I have attached them again to this message.Do you mean something else?