Reading DC volts from Keithley 2000 Multimeter with LabView

Hello, 
I am new to LabView. I am trying to read and write DC Volts data from a KE2000 Multimeter using KUSB-488A interface. I need guidance on how to proceed. I need to simply read the voltage drop across a 1 megaohm resistor and write them in a file to plot later. Please help me with sequential steps since I do not know LabView much. I am using Labview 9.0
Thanks a lot for your help.

There are LabVIEW drivers for the Keithley meters available on the NI Instrument Driver Network.  They include examples that should do what you need with very little effort.
Using LabVIEW: 7.1.1, 8.5.1 & 2013

Similar Messages

  • 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

  • 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

  • Keithley 2750 interfacing with LabVIEW 8.5?

    This is my first time trying to set up the two software and hardware.  The Keithley 2750 was originally installed and taking data using ExceLink.  Now, I want to use LabVIEW instead for data acqusition.  I have already installed the LabVIEW cds.
    Where do I start to set up the interface between the Keithley 2750 multimeter and LabVIEW 8.5?

    If the title says Agilent, then you have opened the wrong example. Exactly which driver did you download? Project style plug and play or just the plain plug and play? Where did you install it? With either, you should have a folder under your instr.lib called ke27xx. What is in that folder will depend on the type of driver you downloaded. The project style (recomended), will have a .lvlib and .lvproj files and folders called Examples, Private, and Public. If you don't have these, what do you have? Post an image of the directory structure.
    Message Edited by Dennis Knutson on 06-23-2008 10:08 AM

  • I have read 118 files (from a directory) each with 2088 data and put them into a 2 D array with 2cols and 246384row, I want to have aeach file on a separate columns with 2088 rows

    I have read 118 files from a directory using the list.vi. Each file has 2 cols with 2088rows. Now I have the data in a 2 D array with 2cols and 246384rows (118files * 2088rows). However I want to put each file in the same array but each file in separate columns. then I would have 236 columns (2cols for each of the 118 files) by 2088 rows. thank you very much in advance.

    Hiya,
    here's a couple of .vi's that might help out. I've taken a minimum manipulation approach by using replace array subset, and I'm not bothering to strip out the 1D array before inserting it. Instead I flip the array of filenames, and from this fill in the end 2-D array from the right, overwriting the column that will eventually become the "X" data values (same for each file) and appear on the right.
    The second .vi is a sub.vi I posted elsewhere on the discussion group to get the number of lines in a file. If you're sure that you know the number of data points is always going to be 2088, then replace this sub vi with a constant to speed up the program. (by about 2 seconds!)
    I've also updated the .vi to work as a sub.vi if you wa
    nt it to, complete with error handling.
    Hope this helps.
    S.
    // it takes almost no time to rate an answer
    Attachments:
    read_files_updated.vi ‏81 KB
    Num_Lines_in_File.vi ‏62 KB

  • Reading each value from spreadshee​t file with delay (multiple rows and columns)

    Hi,
    a) I want to read EACH VALUE from a spreadsheet file having multiple rows and columns WITH DELAY. I am attaching my VI and sample datalog file for reference (tempsensor.txt).I need to do so because as soon as I read put ON the Sensor button on front panel, LV reads all the values at one go. I need the values for each temperature to be displayed after a delay.
    b) Secondly, I would like to read another file containing the state of four antennas (deployed:1; undeployed:0). I am logging state of each antenna in each column of the file(magnet.txt) I need to have four LEDS on front panel to display state of the antennas. I dont know what I have done for antennas in my VI is right or wrong. I guess thats rhe wrong way to approach the problem. Please help!!!(column1: Antenna1 state ; Column2:Antenna2 state.. and so..on..)
    Any help would be greatly appreciated!!
    Thanks in advance,
    Ratnesh
    FYI: The first column in my datalog file represents timestamp(number of seconds elapsed), second column: reading for temperature sensor 1, third column: reading for temperature senosr 2, and so on. I am using approx. 11 temperature sensors.
    Also, I have generated the log files for the reference purpose only. They do not represent the actual values. They are far away from actual values.
    Attachments:
    01032005.zip ‏30 KB

    Look at this modified version of your VI. After looking at it, I determined that a shift reggister was not required in this case.
    Lynn
    Attachments:
    MultiSensors.2.vi ‏85 KB

  • How can I use my Keithley 2100 DMM with LabVIEW 7 Express?

    How can I communicate with Keithley 2100 digital multimeter using LabVIEW 7.0?

    Hi,
    There are a number of ways,
    1) Unfortunately the driver on the Keithley site is for labview version 8.0, so you could speak to keithley to see if they can provide a ver7.0 of the instrument driver
    2) You could use the version for the 2000 model from the NI website
    http://sine.ni.com/apps/utf8/niid_web_display.down​load_page?p_id_guid=E3B19B3E90B0659CE034080020E748​...
    There is a version 7.0 which you could modify to suit the 2100
    3) Use the VISA vi's and create your own driver using the user manual for the bus commands to driver the instrument.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Speeding the Keithley 6485 readings with LabView

    Hi All,
    I'm new with LabView and with current measurements. I'm using a Keithley 6485 Pico-Amp to recored the current changes in microchannels. I downloaded the instrument drivers from the NI website and I tried to control the Pico-Amp current readings with LabView 7.1 but the rate of readings from the Pico Amp was slow ( a reading every 0.5 s). I tried to change a lot of parameters and I found the main problem causing such slow measurements is the read VI for the Pico-Amp was very slow in the while loop.
    is there any way to recored fast continuous measurements from the Pico-Amp using the read VI in a while loop with LabView 7.1?.  or if there is another to do fast recordings form the Pico-Amp with LabView? 
    I appreciate your help and suggestions.
    thanks

    thanks a lot guys for your suggestions and comments.
    at the present time I'm using the analog output of the Pico -Amp to recored the readings via a Daq since I couldn't control it form the drivers. So,  I only control the Pico Amp from the front panel.
    Dennis, thanks for your suggestions and it is true that fetch multi-point is faster but it is still not fast enough since I want reading at a rate of 40-50 Hz. if you know of a way to increase the readings rate to the frequency I need it will be helpful.
    F. Schubert, thanks for comments. I don't know how to change the NPLC since when I change the value in the VI an error message appears and Labview terminates. the NPLC setting is 1 and PLC 60 Hz.
    I attached a sample of VI I'm using to find the readings from the Pico-Amp and I would appreciate any suggestions to improve the readings rate. also how can I change the NPLC value of the device?
    Thanks
    Message Edited by Zeyad on 09-13-2007 11:51 AM
    Attachments:
    Pico_AMP_tests_2.vi ‏125 KB

  • Is the Keithley 2612A compatible with Labview 7.1?

    Hi,
    I've got a shiny new Keithley 2612A dual channel sourcemeter and would like to start using it our lab's system.  We are currently using LabView 7.1.
    I found a driver for the 2612A, but it says it's only compatible with LabView 8 or higher:
    http://www.keithley.com/base_download?dassetid=51950
    Does anyone know of another driver, or other method that I might get this thing working in LabView 7.1?
    Many thanks,
    John
    Solved!
    Go to Solution.

    Download it and post it to the Downconvert thread.
    edit - It's a project style driver which was introduced with LabVIEW 8. It might take a little longer.

  • How to read a barcode from a digital camera into labview

    Hello All,
    Ive been working on a barcode reader project. My employer wants to create a barcode reader which rather than using a scanner would acquire the barcode using a digital camera/usb camera. The little that i know till now suggests that there are certain barcode series that labview can automatically read itself once the image has been acquired. We just need to acquire the image the correct way and then the labview will read the barcode from it and the information stored in the barcode will be generated from the hard drive of the computer.
    P.S. My concepts might be way off the actual theory. Please bear wimme if im lost. 
    Regards
    Asad Tirmizi
    Design Engineer
    Institute of Avionics and Aeronautics
    " Its never too late to be, what u want to be"
    Using LabVIEW 8.2

    Hello All,
    Courtesy to AdnanZ i was able to understand the basics of reading the barcode. I downloaded the Vision toolkit from Labview and used the barcode example that comes with it. I have understood the VI except for the ROI part and there are certain more issues that i need to resolve in it before i proceed .
    Please find the VI attached, I have also attached the image of VI block diagram. My queries in the order of there urgency are as under.
    The problem starts with the ROI part. If you see the second flat sequence structure. The example sets the Region of Interest by using a property node and feeding it with a string array. There is also a waveform data type array feeding the "ROI color" part of the property node. Property nodes are there to set or get characteristics of certain types of data. I cannot understand its purpose here. Moreover how can i set the Region of interest according to my own liking. I can see a relation between setting the ROI and the values in the arrays. But by which criterion are these values set. Is it with hit n trial.
    The code works perfect with the images stored as default in the example. But when i tried to add up my own images of barcodes downloaded from internet. It wasnt able to detect those barcodes. The code bydefault reads EAN-13 barcodes. I  downloaded a few EAN 13 barcodes from the internet and fed them into the folder from which the program reads. But that dint happen. I think this is because the ROI is not set correctly. Though i am not sure about it.
    Regards
    Asad Tirmizi
    Design Engineer
    Institute of Avionics and Aeronautics
    " Its never too late to be, what u want to be"
    Using LabVIEW 8.2
    Attachments:
    Digital Barcode Reader.vi ‏73 KB
    Barcode Framework Image.JPG ‏273 KB

  • Where should I start from to use HP4145B with LabView?

    I am not familiar with LabView, but I have to set up LabView to make it work with HP4145B.
    I downloaded the driver from NI, placed it at the correct directory, and can see VI's in function palette.
    Also, when I run MAX, it shows "Instrument 0" under GPIB0.
    When I click on "Scan for Instrument", it says something about IDN query, but now I know HP4145B is too old to understand IDN query.
    I saw a lot of posts that say they can write to the instrument but cannot read.
    However, I don't even know how to test whether my labview can write to 4145B or not.
    My questions are....
    1. 4145B manual says it has "ID"  code.
    I tried testing it by using "Interactive Control"
    And I got this by NI Spy
    1.  ibsic(GPIB0)
    Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    Start Time: 15:23:22.485       Duration 00:00:00.000
    ibsta: 0x160       iberr: 0             ibcntl: 0(0x0)
    2.  ibsre(GPIB0, 1)
    Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    Start Time: 15:23:26.070       Duration 00:00:00.000
    ibsta: 0x160       iberr: 1             ibcntl: 0(0x0)
    3.  ibcmd(GPIB0, "@?1", 3 (0x3))
    Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    Start Time: 15:24:18.606       Duration 00:00:00.000
    ibsta: 0x178       iberr: 0             ibcntl: 3(0x3)
    4.  ibwrt(GPIB0, "ID", 2 (0x2))
    Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    Start Time: 15:24:30.242       Duration 00:00:00.010
    ibsta: 0x168       iberr: 0             ibcntl: 2(0x2)
    5.  ibcmd(GPIB0, "? Q", 3 (0x3))
    Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    Start Time: 15:25:12.333       Duration 00:00:00.010
    ibsta: 0x174       iberr: 0             ibcntl: 3(0x3)
    > 6.  ibrd(GPIB0, "", 20 (0x14))
    > Process ID: 0x00000C1C         Thread ID: 0x00000EB4
    > Start Time: 15:25:23.289       Duration 00:00:16.784
    > ibsta: 0xc164       iberr: 6             ibcntl: 0(0x0)
    There are four LED's on the front panel of HP4145B.
    It shows status of HP4145B whether it is talker or listener.
    LED changes properly to my command. (So I don't think there is any problem with harware connection)
    But, I still get nothing but EABO error when I want to read something.
    What am I doing wrong?
    How can I test "ID" code?
    (I do not have ultra-fast typing speed so I think I gave 4145 enough time to respond before I typed new command)
    2. I tried to use driver I downloaded from NI.
    Other posts say that people used "HP 4145 Example.vi" for testing.
    However when I put "HP 4145 Example.vi" on the block diagram, I cannot run it.
    How do I test with "HP 4145 Examble.vi"?
    3. I tried testing other vi's such as "HP 4145 source setup.vi".
    I put that vi on the block diagram window, added constant of 17 to GPIB address,
    and other constants to other inputs and run it.
    A new window popped up, so I ran it again.
    However it does not seem to work since I see no change when I go into source set up menu directly from HP4145 front panel.
    Again, LED indicator changes to LTN(which means HP4145B is in listener mode) when I run vi.
    What would be the problem?
    I'm experiencing a lot of trouble with this HP4145B, and I know too little to solve this by myself.
    Somebody please help me with this.
    Thanks in advance.

    My 4145b uses address 17.
    I checked switch setting on the backpanel of 4145b and CRT on the front panel says "HPIB(17, COMMA, EOI)". Also, when I change address to 16 and execute vi file, it gives me an error message of "HP 4145 Define Channel; HP 4145 Send Message"
    When I change back to 17 and execute, error message disappears(and no more error message comes in when I send command to 4145b), but nothing happens on 4145b.
    As I said eariler, LEDs on 4145b seems to be saying that 4145b understands basic command such as "change to listener" or "change to talker".
    In addition, when I try to read from 4145b from "HP4145 example.vi", for example by clicking on "Display Graphics and Plot" and execute, I get error message "HP 4145 Take Measurement; Wait for Interrrupt (GPIB)". However, reading is not the problem to think right now because I don't even know how to read.
    I have Newport 1830-C with me, and I checked this instrument with same GPIB-USB-HS and same PC I am using with HP4145b.
    It works with 1830C. Therefore, it doesn't look like there is something wrong with  my PC and GPIB-USB-HS.
    Anyway, thank you for your attention.
    메시지가 06-25-2008 01:28 AM에 Min Yoon에 의해 편집되었음
    메시지가 06-25-2008 01:36 AM에 Min Yoon에 의해 편집되었음

  • Where can I found hardware to get analog signal from VCR and work with labview and then sample this signal in very high frequency?

    I am trying to build a Digital Video Recorder using Labview. The problem is that I found that Labview sample the signal in the order of milisecond. I wanted it to be in the order of microseconds. Also I am looking for a cheap Hardware solution if it is possible

    Your question does not make a lot of sense to me, so I will just point out a few things.
    1. The PCI-1411 works well with VCR signals. It has a BNC connector as well as a S-Video connector. The price is under $1000, so it is fairly reasonable. The amount of time you save getting it to work with LabVIEW is worth any extra cost.
    2. The PCI-1411 is sampling three colors at 30 frames per second, with an image resolution of 640x480. This is the best resolution you are likely to get from a VCR signal. The sampling rate for each byte in the image is about 28 MB/sec. This is in the microsecond range that you are looking for, I think. If you are only interested in the raw signal instead of the image, you could look at the high speed digitizing boards NI sell
    s that acquire at higher rates.
    If this information isn't really what you were looking for, perhaps you could clarify your question.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Where can I find implamantations from Kalman-Bucy-Filters with LabView?

    I want to develop a kalman filter with labview! So I am looking for some examples of implementations from Kalman-Bucy-Filters with labview

    Maddi73,
    I don't think there are any examples out there.However, if you have MatLaB, you could always call matlab scripts from LabVIEW, because MatLAB has the kalman filtering implemented.
    Cyril
    Cyril Bouton
    Active LabVIEW Developper

  • Reading dilimited input from a text file with tokenizer

    i am trying to read in a text file with the following structure: 2 integers on each line with comma as the delimitor.
    i am using the BufferedReader stream and Tokenizer to detect ",".
    try {
    BufferedReader in = new BufferedReader(new FileReader(filename));
    //read in the data file
    while ((s = in.readLine())!= null) {
    int i = 0;
    for (i = 0; i < 100; i++) {
    t = new StringTokenizer(s,",");
    A1 = Integer.parseInt(t.nextToken());
    catch (IOException e) {System.err.println(e);}
    When i print out A1[i], it only reads the last line of the text file. Please tell me what's wrong.
    Also i'd really like A1[i] to store the integer before the comma and another array A2[i] to store the integer after the comma. Please help.
    Thanks.
    p.s. A1 and A2 are arrays...when i previewd message in Netscape 7 it left out the brackets and the index....

    What is the for i loop for? If it is to read the next line from the file, then the while loop has taken care of it. Other than this there should be no problem with the rest of the code.
    Just add another line to store the next token into A2.

  • What VI can read raw data from a TDMS file with scaling information entered?

    I would like to use scaling with my TDMS files so that the end user will
    only see engineering unit values, however, within my Labview application, I
    want to retrieve the raw data.  Is there a way to read the raw data using
    one of the Vi's in Labview?

    The scaling information in a TDMS file is stored as properties of the channel.  One trick (that I haven't mastered yet) is you can change the properties of the TDMS file (set properties) and set all the scales to have a offset of 0 and a scale of 1.  This will apply a scale that has the engineering units be the same as the raw values.  Then you can read the data like normal and you'll get the raw values.
    There are several issues to be aware of, the first is changing the scale and forgetting to change it back, or some how modifying the data to be incorrect units and not knowing it.  For this reason I'd recommend making a copy of the TDMS file to a temporary location to make the modifications to the properties, read it, then delete the temporary TDMS file when you are done.  
    This is the only way I know of to get the raw readings from a scaled TDMS channel.  
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for