07-01-2014 12:36 PM - edited 07-01-2014 12:37 PM
Hey guys. I'm having trouble getting Keithley 2400 to communicate with LabView.
I already have Keithley 6220 running in the setup, so I tried just copying and pasting the code for it (not written by me, but it works just fine) and just changing the GPIB address, but that didn't work. I kept getting errors -113 unidentified header, and -102 syntax error.
Then, I wrote a simple program that would just turn Keithley 2400 on and source some current. See pic #1.
It still gives error -113, then -102, then turns on, but doesn't source current and "Compliance voltage" is flashing:(
I'm very new to this, so I'm not sure what I'm doing wrong.
I installed the new Visa driver for it and tried running programs provided by Keithley, but those also don't work. See pic #2.
Any help is greatly appreciated.
Solved! Go to Solution.
07-01-2014 01:04 PM
The 2400 series can source voltage or currnt. The 6220 is a current source. So they are two totally different instruments.
I would recommend getting the LabVIEW drivers that are available (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=25B255F3AA83660EE0440003BA7CCD...).
07-01-2014 02:23 PM
07-01-2014 05:16 PM - edited 07-01-2014 05:17 PM
That is the driver that I used. I have LabView 2011 on that computer tho. Do you think drivers for LabView 2010 or 2012 would work cuz I think I got one of those.
In the "protocol" menu on Keithley 2400 it also says 488.1. Should it say 488.2? Does it matter?
07-01-2014 05:36 PM
07-01-2014 05:46 PM
Oh. How do I get to it? I'm in VISA Interactive control and I only see Unknown: ASRL1:: INSTR and
Serial Instrument Resources ARSL 10::INSTR
07-01-2014 06:08 PM
07-01-2014 08:12 PM
What do you mean by "appear in MAX"? It's on the list (see ss3)
Also, I'm not sure if that's what you mean, but I picked between the two different options in the "VISA resource name", and got errors for both. Tho I'm not sure what they are so maybe that's normal (ss4 and ss5)
(Sorry I'm a total n00b 😞 I've only been working on this project for a couple of weeks and my adviser is gone and I'm trying to figure this stuff out by myself in the mean time, please bear with me)
07-01-2014 08:19 PM
07-01-2014 08:26 PM - edited 07-01-2014 08:29 PM
It's VISA 3.2 on Windows 7
Also, here it is in VISA Interactive Control if that's at all useful >.> (it wasn't showing up before because my labmate stole the GPIB cable -__- sorry about that)