From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-27-2007 02:54 PM
08-27-2007 03:00 PM
08-27-2007 03:08 PM
The first thing you should do is download the existing driver for that instrument at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=25B255F3AA83660EE0440003BA7CCD.... The second thing is that you cannot use the GPIB functions with that GPIB controller. The low level GPIB functions are only for NI GPIB controllers. You can use non-NI controllers if the vendor provides a VISA library for it and you enable the tulip passport in MAX (Measurement & Automation Explorer). If you don't want to use the driver, then you would have to use the VISA functions. A query always returns a string. The format of the string would be explained in the instrument manual.
There have been numerous recent posts about the 2400 and the exact same task you describe. This must be a class project. You might want to search the forum for '2400' and go to Keithley's web site for some examples.
08-27-2007 03:47 PM
thanks a lot for the suggestions! There was a driver (CEC 488) shipped with KUSB-488A and it is already installed.
I am sorry to hear GPIB read can not be used with this KUSB-488A, I should order a NI card instead. Can anybody help me write a simple program to read current from Keithley 2400 and plot it into a graph? It is very hard for me to get started. Thank you!
Jinjun
08-28-2007 10:20 AM
08-28-2007 10:32 AM
I wouldn't give up on the GPIB controller if you already have it. If it's a CEC, you should be able to use it with LabVIEW. I believe CEC is now part of Measurement Computing (http://www.measurementcomputing.com) and they say their driver is compatible with LabVIEW.
If you don't have the controller yet, then a serial connection will be much cheaper and yes, you can use VISA with RS-232. You will also have a much slower connection. You will aslo be restricted to how many instruments you can control. With GPIB, you can control multiple with a single controller. With serial, you need a port for each instrument.
08-28-2007 10:44 AM
03-18-2008 09:37 PM
03-18-2008 10:35 PM
06-03-2008 12:52 PM
Hello, I am trying to write a Labview program that reads from a Keithley 2400 SourceMeter. I want to source a current and monitor the voltage over time. I am using a GPIB card.