Keithley 2000 with AD007
I am new to LabView and am attempting to write a program that will record data from a keithley 2000 digital multimeter. So far I can only send "one-shot" commands to read the data. However, my expermiment requires readings to be taken many times a second. I am communicating with the multimeter via a AD007 Tektronix GPIB Lan Adapter. The LabView version I am using is Labview 6.1. If anyone has any idea on how to send GPIB commands to the multimeter using a labview interface, it would be GREATLY appreciated.
Robert
I'm not sure what's in this driver that requires IVI 2.0. I use other IVI drivers with 1.83 that you can get Keyword Search: Keithley. If that doesn't work, you could try the LabVIEW driver for the same instrument.Message Edited by Molly K on 02-18-2005 11:55 PM
Similar Messages
-
Hello,
I am having a problem with connecting Keithley 2000 with Labview. I downloaded the driver from Ni , however when I run it, the error syntax occur Error +800 in the Keithley 2000. It does not do any measurement. Would you like to help me to deal with this problem?
Thank you very much.!Hi stranger1!
I have some steps that might help you:
First, make sure you have the 488.2 driver installed for GPIB.
http://joule.ni.com/nidu/cds/view/p/id/3786/lang/en
Second, make sure the device shows up in NI MAX and you are able to communicate with it there.
http://www.ni.com/gettingstarted/setuphardware/instrumentcontrol/gpibconnect.htm
Are you using the IVI driver or the Plug and Play driver?
IVI: http://www.ni.com/white-paper/3377/en/
Plug and Play: http://zone.ni.com/wv/app/doc/p/id/wv-1426
You also might find the information in this forum post useful:
http://forums.ni.com/t5/Digital-Multimeters-DMMs-and/How-do-I-interface-with-a-Keithley-2000-multime...
If those documents are not able to solve your problem, we might need a little bit more information. IVI or Plug and Play? You say you try to run the driver—do you mean a particular VI or example included in the driver? The error you are getting is a SCPI error (http://forum.keithley.com/phpBB3/viewtopic.php?f=13&t=70)—are you sending a particular command to the device?
Regards,
Kelsey Johnson
Applications Engineering
National Instruments -
Measure with Keithley 2000 over RS232
Hey,
ich have a problem with my Keithley 2000 by measurements over RS232.
My programm is running, its a simple serial read and write VI. I send him an command to measure and nothing is happening. I got nothing back....
I add the VI and the commands, maybe somebody knows whats wrong with my VI!
Thanks a lot
Greetings
Ralf
Attachments:
RS232 Serial Write and Read.vi 22 KB
Unbenannt.JPG 7 KBI have no time to look into your code, but most likley you miss the termination char. On a string constant you can switch to \-display and then use \n or \n\r depending on the settings. You can also look into the LV drivers for the keithley 2000, they are available on ni.com and/or on keithley.com
Felix
www.aescusoft.de
My latest community nugget on producer/consumer design
My current blog: A journey through uml -
Keithley 2000 DMM AC Read Overflow
I’ve been having problems controlling a Keithley 2000 DMM during AC volts measurement using IVI. When reading AC Volts the DMM will intermittently sense an ‘overflow’ and return the value NaN. I’m using IVI and TestStand 3.0 but get the same problem with IVI and LabWindows 7.0.
The set-up is as follows:
Device: Keithley 2000 DMM, GPIB device number 6
Device interface: GPIB, DMM set-up in MAX as GIPB0::6::INSTR
IVI Driver version: 3.02, downloaded from the NI web site
IVI Compliance Package version: 2.1
NI-488.2 version: 1.70
NI-DAQ version: 7.1.0f1
MAX version: 3.0.2.3005
For test purposes I’ve connected the DMM front panel input high and low and set the inputs mode on the Keithley to front, this should mean that I get a very low Voltage reading. I’ve then run the LabWindows/CVI IVI control sample code provided with the IVI driver. At the initialisation panel I’ve entered the logical name. At the configuration panel I’ve selected Volt AC measurement but left everything else as default. The second configuration panel I’ve left as default. At the Read panel I’ve left all setting as default. Pressing the read button up to about 20 times with about a second gap in between each press will eventually lead to an ‘overflow’ reading.
Any help/explantion will be appreciated
SteveHere are the results of my investigation into this problem, it’s two fold:
1. Keithley have informed me that their engineers in the US have just seen the problem I’ve been seeing and are working on a firmware update. Currently here is no date for the release of the updated firmware but I’ll be informed when this it’s ready.
Note: I’ve found that the read AC Volts overflow problem only occurs when the read trigger delay is set to zero seconds.
2. The TestStand DMM IVI configuration step always sends a trigger delay of zero seconds regardless of the trigger delay set.
In my TestStand sequence the DMM IVI configuration sets the read trigger delay to 3 seconds but as noted above this is sent a zero seconds thus invoking the Keithley DMM AC Volts read overflow problem.
See attached VISA call log captured by NI Spy. The first 22 call are made when the DMM IVI configuration step is called form TestStand the next 22 calls are made by the IVI DMM sample code configuration provided by National Instruments when DMM configuration is run thorough LabWindows. Note call 12 (IVI DMM TestStand) has the trigger delay set to zero seconds (should be 3 seconds) and call 34 (IVI DMM LabWindows) has a delay of three seconds.
I’ve found a workaround as follows:
After each call to the TestStand DMM IVI configuration step an additional step that calls the TestStand IVI Tools step can be added. The IVI Tools step can be set-up to specifically configure the DMM Trigger Delay to 3 seconds. I’ve proven that this individual call does in fact send the correct trigger delay command to the DMM thus alleviating the AC Volts read overflow problem.
Can NI confirm that this problem does exist with the DMM IVI step and when they plan to fix it. I’ve attached the TestStand sequence file that I’ve been using to investigate the problem.
Thanks
Steve
Attachments:
DMM Overflow.zip 9 KB -
Acquiring a measure every x seconds from a Keithley 2000 multimeter
Hi everybody,
I'm working on a program on labview which should acquire a measure every x seconds from a Keithley2000 multimeter.
I managed to acquire a single reading using the "Single Read VI" from Keithley 2000 Instrument Drivers.
To acquire a reading every x seconds, i have tried 2 possibilities without havinng the desired result:
- First i have tried the "Multi Read VI" (also from Keithley Instrument Drivers), but the problem with this VI is that i could controle the desired number of readings without being able to controle their frequecy ( i can't choose the elapsed time between 2 successive readings)
- The second possibiltie I've tried is to use the "Single Read VI" inside a "Timed loop" for which i could choose the desired number and frequency of iterations, but the problem with this methode is that
at the end of the program i still get only a single reading!
Can sombody please help me with that?
THANK YOU in advance.Hello,
As dennis said, I think you made a mistake in your code.
Could you post your code for us to see what you're doing wrong?
Regards,
Olivier L. | Certified LabVIEW Developer -
Keithley 2000: Strange timeouts
Halloechen!
I have to read multiple values from a Keithley 2000 (DC volts data),
and even that has to be done multiple times. So I did the
following:
1. ke2000 Initialize.vi
2. ke2000 Configure DC volts.vi (no parameters, only "DC Volts"
selected from the pull down menue)
3. In a loop:
a) ke2000 Configure Trigger.vi with a proper calculation of the
timeout (taken from a Keithley example code)
b) ke2000 Data Read Multiple.vi (with the correct number of
readouts)
c) ke2000 Reset.vi
4. ke2000 Close.vi
Unfortunately, with this programming I get timeouts regularly.
Well, not always but every other measurement say. If I increase the
timeout time, it simply takes longer, but the timeout is inevitable.
When it
happens, the Keithley seems to be unable to leave 3 b).
Then I created a WHILE loop that repeats the measurement if there
was a timeout. But the loop is repeated until I stop the program.
However: If I take the initialisation vi *within* the loop, it
works! I still get timeouts, but now it cleanly repeats the
measurement and proceeds.
But this is neither elegant nor fast. Apparently some delays are
missing. Does anybody know where to put them? Where is the
critical phase for the instrument?
Or is it something different?
Thank you!
Tschoe,
Torsten.
Torsten Bronger, aquisgrana, europa vetusI find this rather interesting. I ahve some older drivers for the KE2000 and they work without problem. But when I seen your question it rasised an interest because you said DC volts from the pull down. I went and downloaded the drivers from NI and installed them wrote just a simple program from them and sure enough the problem is there just like you said it was. I also found that if you do not use the initialize vi it works fine without the timeouts. Seems that the initialize vi is putting the instrument in a funny mode. Anybody have any Idea of wht this is happening.Will do some investigating and get back to you.
Joe
Joe.
"NOTHING IS EVER EASY" -
Keithley 2000 voltage measurement
Hi,
I want to write a code to display the voltage measured from a keithley 2000 meter using RS232 serial port and display it on a graph using Labview 8.5 on Windows Vista based Laptop
. I guess the first step is to download the driver for keithley2000 http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248. I want to go step by step. Please give me the main key steps on how to proceed on this problem and i will then work in detail based on your directions.
How do i know that laptop is recognizing the meter and RS232 connection is sound? What are the next key steps i need to work on? Please give the directions.
ThanksFor fast reading, it is important not to use the MEAS? command, but READ followed by FETCH? (if I remember correctly). Normally these DMMs operate at 1 PLC (power line cycle -> 50/60 Hz), so you need to adjust the NPLC (number of power line cycles).
There is to options to work with the Keithley DMMs inside LabVIEW. You could use the LabVIEW drivers for the Keithley 2000, those can be found on ni.com and on the keithey homepage. Propably they only implement GPIB, the you need to make some modifications on them for RS232. The other option is to send the commands as found in the DMM manual via VISA.
Felix
www.aescusoft.de
My latest community nugget on producer/consumer design
My current blog: A journey through uml -
Keithley 2000 current measurement
Hi All,
I am using keithley 2000 DMM to measure current. I have configured the DMM under IVI Drivers in MAX. I am using the example program in CVI to configure and read the current drawn. When I read the current drawn from the DMM the current value displayed is incorrect. I have used the auto adjust to zero function also. Even on multiple readings with delay, the value keeps fluctuating and is no where near to the expected value. Can anyone suggest why I am not able to read the correct value? Where can I find the configuration parameters for this DMM in MAX? How do I know if I have configured the DMM correctly in MAX or not?
Any pointers would be helpful.
Thanks in Advance,
PradeepHi Pradeep,
Try downloading the drivers for the Keithley DMM from http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248
Nxt question is as to how you are connecting the DMM to your PC (serial, gpib??)
If you have connected over GPIB, verify that it is showing in MAX under devices and interfaces.
You can then right click on the instrument and select communicate with instrument. Use simple commands that should be available in the manual to read data from
the DMM. Once you have verified that communication is established, try using the example programs in CVI.
Regards,
Denver
AE, NI India
Message Edited by denver_ on 11-24-2008 07:46 PM -
Keithley 2000 driver throws SRQs away?
Hallöchen!
For weeks I've had the problem that a multiple-point measurement
with the Keithley 2000 driver in LabVIEW (the older driver, not the
IVI one) caused very frequently timeouts. So I programmed a loop
that repeats the measurement as often as necessary, but not more
often than 10 times. You can see it at
http://www-users.rwth-aachen.de/torsten.bronger/lv1.gif
This was annoying and even failed to work for good recently. So I
investigated the problem further. The Keithley VIs rely on a VI
caled "_keithley 2000 Wait for SRQ.vi" that looks like this
http://www-users.rwth-aachen.de/torsten.bronger/lv2.gif
So, *before* the computer waits for the service request from the
device, exactly the same event is discarded. If I de
lete the two
"discard event" VIs in the block diagram, no timeout occurs any more
and the readout seems to work properly.
Now, did the Keithley programmers something wrong here or do I have
to be prepared for trouble?
Thank you!
Tschö,
Torsten.
P.S.: The newer ke2000 driver has its own very special problems
here.
Torsten Bronger, aquisgrana, europa vetusHello Torsten,
I have had time to investigate the problem and I was hoping you could test the attached instrument driver and provide feedback.
Thanks,
Matthew
Attachments:
ke2000.zip 701 KB -
Keithley 2000 starting channel
Hello all,
I am using LabVIEW 8.0 connected to Keithley 2000 DMM with 10 channels scanner card.
For configuration I am using the "configure scan.vi" from the appropriate driver.
The "starting channel" option is capable of having numbers from 1 to 10 (for internal card).
I choose to start from channel 1, but the scan opearation keeps starting from channel 2!
I tried setting the starting channel to be 0 but then I get an error message saying "data out of range".
Does anyone have an idea?
thank you,
Noam Tal
Ben-Gurion University
IsraelThere is no Test.vi there.
Anyway I tried running the scanner.vi but it does too many errors and I couldn't find a clue to my problem.
My scan8.1.vi is attached. It is very simple.
If you could take a look and try figure it out i would be grateful.
Attachments:
scan8.1.vi 31 KB -
Hi !
I'm looking for LabView instrument driver for Keithley 2000 digital
multimeter with scanner card, using serial interface ?
Does anyone know how to get it ?
M.B.In article ,
"Mr Bogus" wrote:
> Hi !
> I'm looking for LabView instrument driver for Keithley 2000 digital
> multimeter with scanner card, using serial interface ?
> Does anyone know how to get it ?
>
> M.B.
contact Dale Cigoy at keithly
[email protected]
he was pretty helpful when I needed help with VI's for the 2700
aleal
Sent via Deja.com http://www.deja.com/
Before you buy. -
Keithley 2000 driver parameter control question
Hi,
Im using keithley 2000 multimeter with labview and ran into some difficulties.
I defined a volt measurement read.
1.I couldnt find where to define the sample rate ( it seems to take 1 measurement per second but i need more and i know it can do up to 2000). Where do i define this?
2. I want to sample from 2 channels. I used the multiple read function. It made everything extremely slow + i couldnt figure out how it atores the data. How do i define exactly which channels to read?
Thanksthanks for your reply.
a. i read the manual but it doesnt have a direct reference to labview integration.
b. i tried changing Power Line Cycles input but it didnt respond as expected. if i understand the parameter correctly when it is decreased its supposed to increse the number of samples per seconds. i tried changing it to 0.01 (the lowest possible) and it actually took more time per sample.
c. ill try configure scan or configure rout but i couldnt understand their functionality, is it like configure measurement? if i put this clock before the Read Data does the input change? do i get an array now? -
Obtaining readings from Keithley 2000 DMM
Hello,
I have a Keithley 2000 DMM with RS-232 communication, a PC running LV 7.1. I have established communctions between the two using RS-232 and I am able to do *IDN? to generate a query of the instrument. However, I would like to read in the readings (DC voltage) from the meter at a button press. What command string would I send to the unit to get this data? Any help is greatly appreciated!
Thanks!
MikeEither read the manual on the instrument or download the drivers from
Keithley 2000 Drivers -
ORADC problem on Windows 2000 with Service pack 1 and service pack 2
Hi,
I have a VB application running on NT4.0 workstations. It uses
ORADC control to talk to ORACLE 7.3 When I load it on Windows
2000 with service pack 1 or service pack 2, I encounter some
problems.
The ORADC control is used in most of the VB forms and the
Refresh method of the ORADC conrol is used to refresh the APEX
TRUE DBGRID PRO control. When this action is executed, I receive
a run time error
"Method Refresh of object '_DORADC' failed Err#: -2147417848
It works fine when no service pack is applied on Win2K.
Can anyone tell me what's going on?
Thankssatheesh_p wrote:
Thanks for your reply.
When I checked the system requirements. I couldn't find information on windows 2003 service pack 2
link http://www.adobe.com/products/coldfusion/systemreqs/.
Whether your OS is windows 2003 with service pack 2?
Are you sure coldfusion 8 will work on windows 2003 with service pack 2?
Regards,
Satheesh.
Well it was there, if you understand the naming properly:
ColdFusion 8 system requirements
Windows
Intel® Pentium® II or AMD Athlon processor
Microsoft®
Windows® 2000 Professional with Service Pack 3; Windows 2000 Server,
Advanced Server, or Datacenter Server with Service Pack 3; Windows
Server® 2003 Web, Standard, or Enterprise Edition with Service Pack 1
and R2; Windows Server® 2008; Windows XP Professional or Home Edition;
or Windows Vista®
R2 is the "offical" Microsoft name for service pack 2. -
Compatibility of windows xp with labview and windows 2000 with labview
I have a very weird situation that I am not sure even I can decribe it clearly. The thing is we have two set of equipments. One: windows 2000 with DAQ card, PCI card, the other is windows xp with same DAQ card and PCI card. All the labview software are the same version. All the program are the same. But the program on windows xp has a really weird problem. Sometimes, the signal is wiped out when I run the program and sometimes it doesn't. I am curious whether the two windows system have different order sequency. Is it clear? I am really sorry about the description since the problem is really strange. Thank you very much!
With more research, I think I probably find the problem but I don't know how to fix it. Here is how the program work. In Calibrate LC.vi, there are four buttons of "set". When you hit set button, the program will aquire 10 data points which will form the signal we need. But the problem is when I hit set button, no signal at all.So I am thinking the program didn't aquire any data in. I uploaded the Calibrate LC vi and also the Aquire Data vi. Does anyone can give a suggestion how on to fix the problem? Also, I double checked the PCI card. The interrupt request for PCI 6036E in windows2000 computer is 19, that in windows xp computer is 21. Will this be a problem too? Thanks!
Attachments:
Acquire LC Calibration Data.vi 34 KB
Calibrate LC.vi 108 KB
Maybe you are looking for
-
Simple question about table structure and HR in BW
i need to following data from HR: current FTE, employee number, cost place i dont think the current FTE is stored per employee. Therefor is would need a list that contains: mutation start date, mutation end date, FTE, employee, cost place i think cos
-
Error in VA01: Message 00002 'Enter a valid value'
Hello Experts! When I try creating a sales order in VA01 after entering the order type and other mandatory information, I get the error message (no. 002 of class 00) saying 'Enter a valid value'. When I searched other threads in SCN with the same mes
-
Hi All, A couple of days ago, my aluminum macbook suddenly slowed to a crawl. Lots of beach balls, or just freezes with no indication as to why. In addition, certain applications (iTunes, Disk Utility,...) would crash, with crash reporter giving a KE
-
Iphone wont update to ios 6.0.1
I am trying to update my iPhone 4 16gb to iOS 6.0.1. My iPhone is currently running iOS 4.3.3. I plug it in to my computer, iTunes recongizes it and tells me there is an update for it. so i proceed with it. I was able to download the OS but was unsic
-
Image Capture and software called Paperless were working well until last week when they both stopped scanning. The overview does, but the actual scanning button is grey on both programs. The manufacturer of Paperless says the problem is wth Image Sca