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.
Thanks

For 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

Similar Messages

  • 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,
    Pradeep

    Hi 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

  • 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 KB

    I 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

  • Recording Temperature and Voltage measurements using Keithley 2182 Nanovoltmeter

    Hello all,
    I am relatively new to LabView and looking to extend a vi I am currently using.
    I am trying to record voltage and temperature measurements from a Keithley 2182 nano voltmeter using a GPIB cable. I have a vi that can do this for either voltage or temperature not both. At the moment I only record what is shown on the display of the nano voltmeter.
    Could somebody explain how I could get labview either to change between voltage and temperature on the nano voltmeter or whether it is possible to have two simultaneous measurements of temperature and voltage and how I would achieve this.
    Thanks
    Mike

    Hi,
    For each read, no matter Temperature or Voltage there is a certain command that is send to the voltmeter.
    I don't think (actually I'm pretty sure) you cannot read it in parallel but you can do it successively: One read Voltage, one read Temperature and so on.
    There should be something like:
    while not STOP do
      1. send GPIB command for changing Keithley to Voltage Measurement
      2. send GPIB command for Voltage Read
      3. read GPIB -> Voltage
      4. send GPIB command for changing Keithley to Temperature Measurement
      5. send GPIB command for Temperature Read
      6. read GPIB -> Temperature
    end
    You can take a look in VI to see which are the commands send for Voltage and Temperature reads and to mixed them like I described it above.
    If you don't manage it share your VIs (for temp and volt.) maybe it will be easier for me (or something else) to give you some additional advices.
    Paul

  • 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 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
    Steve

    Here 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

  • Is there a VI for controlling the integration time of a Keithley 2000?

    Dear All,
    I want to do some voltage noise measurements using a Keithley 2000, by taking a fixed number of data at different integration times of the A/D converter (different rates). Can you kindly tell me if there is a VI, which would do this for me or which subVI would be needed for construction of a VI that would carry out the task. Thank you and I look forward to hearing your suggestion.

    If you are measuring DC, I found the VI "Ke2000 Configure DC Volts.vi" in the instr.lib.  On the vi you can set the # of Power Line Cycles(integration time).
    To search for the instr.lib for the Keithley 2000 (if using LabVIEW 8.2), on the front panel select Tools>Instrumentation>Find Instrument Drivers.
    NI has many instrument drivers, if you search there and cant find what you need,  then I would go to the programming manual for the instrument and write my own driver.
    Brian
    Brian
    Attachments:
    KE2000.LLB ‏1192 KB

  • Why does the integratio​n time setting of Keithley 2000 (number of PLC) changes to medium (1PLC) from fast (10 PLC) and slow (0.1 PLC) settings, when I tried to read from Keithley?

    Dear All,
    I am trying to change the NPLC (the integration time) of Keithley 2000 and take voltage readings. Whenever I change the settings to fast or slow and then run the VI, the NPLC changes to medium. Could you kindly tell me what is causing this? Thank you and I look forward to receiving your replies.
    Regards

    For the NPLC setting, the higher the number, the longer it takes to get a reading.  So 10 PLC is much slower than 0.1 PLC. 
    See if you can set the NPLC setting from the front panel.  Then try changing the vi to set NPLC only, then read it back to see if it matches your setting.  Sometimes changing ranges will automatically set the NPLC depending on the range chosen.  So you have to send the range command before sending the NPLC command.  This may be what is happening.
    - tbob
    Inventor of the WORM Global

  • Keithley 6517b Sweep measurement

    Hello everyone. I want to use Keithley6517b to perfrom a sweep.
    Instruments and method: Keithely 6517 b, NIGPIB-USB-HS, Labview 7.0, Windows xp, using 2400 SWV linear stair with DCV. gpib.vi.
    Unfortunately, 6517b always shows error messages when click setup DCV:
    Error code=-113 Undefined header;
    Error code=-102 Syntax error.
    What should I do?
    If I use test_seq.vi from NI website, other errors were also found in front planel:
    Error out 6 GPIB reading in ….
    What is the problem?
    Thanks a lot

    Dear alachu,
    According to its VI description of 2400 swV Linear Stair with DCV - gpib.vi (as follows),
    the VI seems to be for other Keithley devices.
    Keithley 24xx SourceMeters
    This Vi performs Sweep Voltage, Measure Current operation. 
    The Vi can also use the 24xx as a DCV source.
    You can download a LabVIEW 7 example for 6517A/B at:
    http://www.keithley.com/base_download?dassetid=16414
    Hope this example will work fine.
    Best regards,
    Yusuke
    NI Japan
    日本ナショナルインスツルメンツ株式会社 技術部 巳波裕介
    Yusuke Minami, Applications Engineering, National Instruments Japan
    技術サポートウェブページ: http://www.ni.com/support/ja
    お問い合わせフリーダイヤル: 0120-527196

  • 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 vetus

    I 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

    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

  • 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 vetus

    Hello 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 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?
    Thanks

    thanks 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!
    Mike

    Either read the manual on the instrument or download the drivers from
    Keithley 2000 Drivers

  • Low frequency Voltage measurement

    Hi,
    I am using PCI 6025E to control load bank and to measure voltage, current and frequency of a generator.
    While current and frequency measurement  is not a problem, voltage measurement is toublesome.
    Since on test bench already there are few PCI boards and huge number of sensors, I do not want to add NI 9205 or any other additional boards and clutter the area (other people are also working there).
    The problem with voltage measurement is that out of three generators two run from 400 RPM to 1600 RPM i.e.. somewhat 15-55 Hz.
    I had two solutions for this:
    1, Putting a step down transformer (230 Vac / 5 Vac) and then measure the voltage. But when testing at somthing like 15 Hz I have to deal with magnetic saturation with commercially available transformer. I do not want to take pain to go on built my own transformer.
    2, Using high precision voltage Divider. The problem is that what should be the galvanic isolation? Isolation transformer, but then again low frequency problem.
    Hence could someone suggest me since there is a bit confusion in my head.
    Thanks.
    Solved!
    Go to Solution.

    If you have a sine generator (15Hz migth be hard for the soundcard ) you can do a calibration of your transformer.
    (If only the voltage amplitude is of interest , use a isolated DMM as reference and run your generators)
    Or you buy a isolation voltage sense amplifier. (weidmueller, phoenix, wago, ...)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Maybe you are looking for

  • Problem with preloader from tutorial in flash 8

    when i open preloader in flash 8 from section developers for flash, it dosn't work. and trace message but in mx 2004 work ok what problem? **Error** C:\Documents and Settings\Артем\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\C

  • My Imac have major problem : application freezes

    I have this problem for the second time, i don't know how i stopped it previously. My system was perfectly stable and smooth and all (10.5.6) and suddenly app start to freeze (in general when i want to 'save as' before the window appear) or the syste

  • How to handle exceptions in a Service

    Hi, I'm trying to get the new Service (background thread) stuff working and am close but I have a problem with handling exceptions that are thrown in my Task. Below is my code, does anyone know if I am doing something wrong, or is this just a flaw in

  • Photo Stream is not showing up anywhere on my iPad3.

    Is there an issue with Photo Stream? I have used it once on my iPad 3, but now I can't seem to find any trace of it. My software is up-to-date, but Photo Stream and its setting options are not being listed anywhere. Not listed under Settings--iCloud

  • Safari keeps unexpectedly quiting

    Safari keep closing on me, does anyone know what i can do to stop this? Thankyou It keeps coming up with this: Process: Safari [498] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.2 (6533.18.5) Build In