LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using GPIB interface with Keithley 2001 DMM. Need assistance in acquiring data from simple PV/battery circuit configuration.

I am currently running an experiment where I am trying to record data for voltage and current across a Li-ion battery connected in series with a PV panel and rectifier diode. I am trying to interface the Keithley 2001 DMM using GPIB-USB. All I want is to record data for voltage and current for x ammount of time. I have never used GPIB or LabVIEW before so I don't even know if I am going down the right path. I would really appreciate any help or guidance. Thanks. 

0 Kudos
Message 1 of 7
(3,911 Views)

Well first do go through the getting started exercizes that ship with LabVIEW.  

 

NEXT read the instructions that come from Keithley with your device.  PAY ATTENTION to Keithley's notes on interfacing with National Instruments software that are in that getting started guide.

 

Then check out the Instrument Driver Network  Its a good bet someone has used LabVIEW to work with that device over GPIB before youSmiley Wink  There might even be examples!

 

You are going down the right path!Smiley Very Happy


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 7
(3,872 Views)

here is a link to the manual, http://www.mhzelectronics.com/ebay/manuals/keithley_2001_multimeter_manual.pdf  read chapter 4 for the commands you can send and what they do.

 

There are 2 options on how to proceed.

 

1. Use a for loop in labview to control the number of readings and use :READ? to perform a single measurement in each iteration of the for loop (export data using an auto-index output terminal to get an array).

 

2. Set up the buffer and have the meter record the values internally before returning the full buffer size.  This will allow the meter to make more measurements in a given time frame, assuming you don't exceed the buffer size.  This option requires a few more commands in setting up the buffer but will give you more resolution in your data; really depends on what your requirements are.

Message 3 of 7
(3,867 Views)

@cappettoa wrote:

All I want is to record data for voltage and current for x ammount of time.


Do you have 2 DMMs?

Are you switching the meter leads with some type of external relays?

Be careful trying to connect the meter to measure both voltage and current without doing damage to the meter (worst case) or just getting inaccurate readings.

Or are you reading the current across an external shut?

 

How fast do you need to take readings? Once a sec? 10 time a sec?

 

If you have two meters (advised) and it is required that the voltage and current measurements be taken at the same instance, for power calculations, that will require setting up triggers.

 

If you only have 1 meter, it will take time to switch between the two measurement. 2-3 measurements a sec.

Omar
Message 4 of 7
(3,836 Views)

Worst cas scenario, I have an O-Scope that can record voltage and I can use the Keithley to record the current. I want to take current readings from the Keithley every 10 seconds and take those data points and plot them in Matlab. I feel like this should be a very easy solution but my inexperience with LabVIEW is hindering me from getting the data I want. 

0 Kudos
Message 5 of 7
(3,832 Views)

@cappettoa wrote:

I want to take current readings from the Keithley every 10 seconds


How much current?  What I would recommend is using a series resistor that you can measure the voltage drop.  I = V/R.  Something like a 1 Ohm will work really well if your current is in the mA range.

 

Measuring your current this way will allow you to safely switch between your voltage and current measurements in the DMM.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 7
(3,827 Views)

Every 10 sec is very do-able even with a PC running Windows.

You can do it with just 1 meter if you have some way of switching.

Or 2 meters or 1 meter and a scope.


@cappettoa wrote:

I am trying to interface the Keithley 2001 DMM using GPIB-USB.

I have never used GPIB or LabVIEW before


Do you have a GPIB-USB and GPIB cables to connect your meter to your PC?

Do you have LabVIEW loaded (with the VISA drivers)?

 

Open/Run NI MAX (Measurement & Automation Explorer)
Expand "Devices and Interfaces" and look for your GPIB-USB controler and click on it.

Click on "Scan for Instruments" and see if your meter is found.

If MAX can not find your meter, nothing in LabVIEW will!

 

Let us know when you have gotten that far.

Omar
0 Kudos
Message 7 of 7
(3,817 Views)