07-05-2011 05:45 AM
Hi,
I am using Labview to control a Keithley 2420C. The device is connected with a NI USB GPIB cable.
Sometimes the Keithley 2420C will just not communicate at all if I use Labview even though it will communicate perfectly with Measurement Automation Exporer.(MAX)
Restarting the computer solve the problem.
I dont understand how the communication can be made by MAX but fail with a simple "GPIB write" on Labview.
Please if you have any idea where the problem can come from let me know.
Thanks
07-05-2011 08:14 AM
Have you tried using the Instrument Driver from here?
You may have more success with it than using raw GPIB.
07-06-2011 12:28 PM
Hello,
First thank you for your help.
I was using such driver before and the problem was the same. I believe the drivers are VIs which use "GPIB write" and "GPIB read" of labview so if the drivers work a simple "*IDN?" ou "*rst" should work as well.
I will try those drivers anyway. I will write down a new post later to keep you informed of the result.
07-06-2011 12:42 PM
If you can, go ahead and post your code as well.
It sounds like something is not getting initialized or cleared properly.