08-24-2005 03:36 PM
I have a lot of applications that require me to read DC voltage, and current on a Keithley 2001 DMM.
I have been using 'Keithley 2001 single read.vi' to read DC voltage, and current for years, and it only takes a second to grab the data. I now have a need to read AC voltage, and after configuring the 2001 meter with 'Keithley 2001 ACV config.vi' it takes over 10 seconds to grab the data.
Why is this so slow?
The single read.vi defaults to 7.5 digits of resolution. I had to reduce that to it's minimum of 3.5 digits just to get it to read in 10 seconds. There is no difference in the acquisition time if I am reading .3VAC, or 116VAC. I do not know where the .vi's originated, but they appear to be very clean, and professionally created. I acquired them from a fellow employee that no longer works here.
LabVIEW 7.1. IEEE, GPIB
08-24-2005 03:51 PM
05-18-2007 07:58 AM
05-18-2007 08:42 AM
Could you post the code you were using to program the power supply before you started using the driver? I'm also assuming that if you go back to using this code, the polarity is correct?
If it's the LabVIEW indicator that you wish to change, then you can right click on it and select Format & Precision. Change it to whatever you want. If it's the instrument itself, then the functions DCI Config and DCV Config have a resolution control. To determine which one you need to change, you can probe the wire that is coming out of the GPIB Receive Message read buffe output in the Single Read function. This is the string that gets converted to a DBL and displayed.
05-18-2007 10:40 AM
05-18-2007 11:21 AM
You won't have the problem in the future if, when you load the top level VI, you browse to the location of the subVI, and then when you exit the top level, you do a save.
By the way, there is a standard location for instrument drivers. When you download a zip file with a driver, unzip it and then move the folder underneath the LabVIEW\instr.lib folder. You should see a HP34401 folder there already. The instructions on the driver download pages also tell you this. When you do this, the driver functions will appear on the Instrument I/O>Instrument Drivers palette.
05-18-2007 11:28 AM