Keithley 2400/237 trigger

Hi,
I am trying to set up two Keithley instruments to trigger remotely and make a measurement simultaneously. I have a 2400 set up to trigger a 237, however, the 237 never reads a measurement. I wrote out each specific command to write to the bus. I haven't been able to figure out if the problem has to do with the commands  given to the 2400 or the 237. I have read both manuals, and have used instrument drivers as well, but that didn't work either. Thanks in advance for any help,
Mitch
Attachments:
trigComTest.vi ‏37 KB

I am attaching a vi where I forced the sequence as you had described. I had put the full one out before just so one could see all the commands at once. The two are linked by an external trigger cable. The 237 will turn its output on, and the trigger light blinks on the front panel of the 237 (waiting for a trigger) but it never receives it. It just stays in that state without making a measurement.
Mitch
Attachments:
trig_test.vi ‏36 KB

Similar Messages

  • Keithley 2400 Trigger 2000

    Hi,
    I have tried for a couple of days to let a Keithley 2400 source current and measure voltage and at the same time trigger a DMM2000 on which a current will be measured. This is for use in a LIV characterization. I�m using Labview but prefer to write directly to the bus instead of using the Labview drivers, which I find a bit complicated to use.
    First I configure the 2400 with the following commands
    *RST;
    TRAC:CLE;
    SOUR:FUNC:MODE CURR;
    SOURWEPAC LIN;
    SOUR:CURRTAR 0;
    SOUR:CURRTOP 0.1;
    SOUR:CURRTEP 0.0001;
    TRIG:COUN 100;
    SOUR:CURR:MODE SWE;
    SENS:FUNC "VOLT";
    FORM:ELEM CURR,VOLT;
    TRIGOUR TLINK;
    TRIG:INP SOUR;
    TRIGUTP SENS;
    Then I write the following to the DMM 2000 to initialize
    *RST;
    TRAC:CLE;
    SE
    NS:FUNC "CURR";
    TRIGOUR EXT;
    TRIG:COUN 100;
    Now the two instruments should trigger each other.
    I then write to the 2400 to turn on and initiate the sweep.
    OUTP ON;
    INIT;
    And finally an INIT is sent to the DMM2000 to initiate this instrument
    This starts the measurement ONLY if the instruments have been turned on just before the program is executed.
    If I run the full program again it doesn�t start. What is wrong?
    If I run the program from the initialization of the 2000 it works well. But if the intialization of the 2400 is included it just wont start the sweep.
    Any suggestions?
    Regards
    Francis

    You may wish to try this. I struggled with a 2400 for some time. After a single reading, the buffer in the 2400 contains current, voltage, ohms, a timestamp and another variable. You have to read the entire buffer of the 2400 or it ignors future commands. I struggled with the 2400 drivers also. The help files of the drivers did not describe one of the variable inputs. Finally, I figured out that it was leaving data in the buffer. I increased the variable to read all five values and it finally worked!
    You will have a different solution because you are not using the drivers. But I suspect you may have the same problem. You will have to write commands to be certain you extract all measurment information for the reading. Perhaps the DMM may also have a simi
    lar feature. If you do not read all the data, the systems will hang.

  • Programmed vs measured voltage on Keithley 2400 and other things

    Hello everyone,
    I have two issues with our Keithley 2400, which we control through Labview, and I would be very grateful for some help/advice. The issues are listed below:
    1) We use the 2400 for 4-point probe measurements, so we plot graphs of current vs voltage to get the resistance from the slope of the curve. However, when we look up the data generated during a measurement, the voltage sweep values that we program often, but not always, do not match the measured voltage values. For example, what was meant to be 1 V, might actually end up being 1.2 V or maybe 0.8 V, this can be both positive and negative with respect to the programmed values and is not constant. This also leads to the fact that our curves, although straight (so Ohmic conductor), do not go through the (0, 0) point on the graph.
    2) Second problem is that we would like to determine what is the time between successive measurements in a voltage sweep. We have tried some example vi files that by default come with the Labview, e.g. Keithley 24XX Read Multiple - SW Trigger or Keithley 24XX Read Multiple. If someone knew how to find the time separation, then we would be grateful. We only have control over the number of invididual readings taken and the timeout, which we guess is the maximum time allowed for the measurement.
    Many thanks!

    Good Afternoon PiotrW,
    1. Could you please provide the code you are using to program the voltage sweeps? 
    2. You could use the timestamp output of the Keithley 24XX.lvlib:Read (Multiple Points).vi to allow you to find the time difference between successive samples. It should be a simple case of subtracting succesive measurements from each other to find the time difference between data points.
    Regards,
    Al 
    Regards,
    Al C
    National Instruments,
    Application Engineer

  • Can you control the display on a Keithley 2400?

    I have created a VI to control a Keithley 2400, but the enduser also wants to see results posted on the actual device.  Is this possible?

    Hi dt 1804,
    Thanks for the post and I hope your well today!
    I just had a read through the commands (from keithley website) and I couldnt spot anything that would display results - so I guess not. Unless there is some manual option..but Im afraid I wasnt up for reading the massive manual!
    Surely if your using LabVIEW there isn't much point seeing the data on the device...
    Kind Regards, 
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • How to read current using labview 7.1 from Keithley 2400

    Hi, All,
    I am trying to read current out from labview 7.1. The program I wrote is attached (program.gif). But when I run this program, the error message poped out when it reach the function of GPIB write (error.gif). Can anybody help to point out what's wrong with this program?
    Thanks a bunch!
    Joyce
    Attachments:
    PROGRAM.gif ‏40 KB
    ERROR.gif ‏45 KB

    Hi, Dennis,
    Thanks for replying. You reminded me of putting 24, which is the GPIB address of Keithley 2400, in the front panel. Now this error doesn't occur, but it failed when it's trying to scan the result.
    I attached the program in this post. I attached the figure because i thought people couldn't open the code if they don't have the right version of LV.
    Thanks,
    Joyce
    Attachments:
    Keithleyreadcurrent.vi ‏63 KB

  • Keithley 2400 voltage Issue

    Hello, I am using Labview 2010 to try to control a Keithley 2400 Sourcemeter by GPIB.  I am using the labview drivers from the Keithley 24XX drivers package which I downloaded from the "Find Instrument Drivers" in Labview.  
    I am trying to use the device as a current source to power an electromagnet.  I have the device set up and it will output current, but no matter how high I adjust the compliance value, the voltage output of the sourcemeter will not exceed 2 volts.  
    I'm pretty sure this is not a device limitation because when I adjust the compliance and current manually the device has no trouble.  For some reason when I control the device with labview it just won't go over 2 volts. Any help would be great.
    I have included my program here.  If anyone needs screenshots to diagnose this issue, let me know.   
    Solved!
    Go to Solution.
    Attachments:
    KeTest.vi ‏16 KB

    Yep, the "Compl" light is blinking, so it is the range compliance.  The range compliance is set at 2.1V.  I added the "Configure Measurement" vi and set the vi to Auto, but this didn't change the range compliance. 
    Also, I set the Auto to false and tried adjusting the "Manual Range."  When I get above 2.1 V, I get a message that says :
    Instrument reports:
    824,"Cannot exceed compliance range"
    I have included the latest VI here
    Is there a VI that changes the compliance range, or a VI that sets it to auto?
    Attachments:
    KeTest.vi ‏18 KB

  • Keithley 2400 Real Time Resistance Values in LabView 2010

    Hi,
    I keep getting Error 803 and Error -230 on my Keithley 2400 SourceMeter (connected NI-GPIB-USB-HS; everything is talking correctly) when I use the attached LabView program. I'm using the most updated drivers for VISA, 488.2, and the KE24XX. I've looked at the VI Tree and everything should be okay. Individually, the VIs are not causing errors. Also important to note is that when I take 4W resistance readings from the Keithley without the PC interface the Keithley's display indicate different settings, including ARM, while when recording from computer it displays AUTO and 4W. No data is displayed on the device while recording from computer, while data is displayed without recording from the computer. 
    Please let me know what you think. Thank you!
    Attachments:
    resistdatawrite.png ‏217 KB

    Hi coldcarbon!
    I did a search and it looks like this is not a totally uncommon occurrence with these devices.  I found a few forums searching google, and also was able to find a discussion forum at Keithley's website.  These drivers look like they were built by Keithley, and I would encourage you to get in touch with them to figure out what exactly is going on.  I wouldn't jump to that issue being a hardware problem just yet.
    Get back in touch with us after you talk to Keithley and we might be able to help you more with this issue, but it is probably an issue with the software, and Keithley would definitely be the people to talk to.
    Ben N.
    Applications Engineering
    Certified LabVIEW Developer

  • Keithley 2400 Problems

    Hi,
    I'm trying to run a Keithley 2400 SourceMeter with LabView using the latest driver (Keithley 24XX) and the example VI "Keithley 24XX Read Single.vi".
    After selecting the GPIB Adress I run the program and Labview throws the following error message:
    Error -1074000000 occurred at Keithley 24XX.lvlib:Error Query.vi
    Possible reason(s):
    Instrument reports:
    -113,"Undefined header"
    -230,"Data corrupt or stale"
    -420,"Query UNTERMINATED"
    0,"No error"
    Complete call chain:
    Keithley 24XX.lvlib:Error Query.vi
    Keithley 24XX.lvlib:Read (Multiple Points).vi
    Keithley 24XX.lvlib:Read (Single Point).vi
    Keithley 24XX Read Single.vi
    I also have a Keithley 2000 Multimeter up and runing with it's latest driver and the example program and it works just fine.
    What could be the problem?
    Thanks in advance!
    Solved!
    Go to Solution.

    There should be examples with those drivers.  If not, then go through the driver palette and think about what you would do manually.  Find those functions to do what you would do manually.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • Keithley 2400 VISA driver limited resolution

    Hi,
    I have a Keithley 2400 sourcemeter, what I use in the +-1mA range, as a current-source. This is the driving part of a PID control.
    I use the official VISA drivers, and everything is okey, except that, it seems I cannot use the specified resolution from LabView.
    In this low +-1 milliAmp range, the usable resolution is 50 nanoAmperes. In manual mode, everything is ok, I can set for example an output current to be:
    -0.245450 mAmperes.
    But when I use LabView with the Configure Output .vi from the official llvlib package (i attached it) it rounds for microAmps:
    For example the above double value will become: -0.245 mAmperes.
    This is really bad for my project, since I need the 50 nanoAmp resolution for the really fine control.
    Can someone help me?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    Configure Output.vi ‏18 KB

    Thanks very much!
    Now I learnt that, I should be always suspicious even with "official" libraries and drivers.
    Actually there are two LabView drivers for Keithley 2400, one from Keithley, it is an exe installer type, and the other from National Instruments. I became curious about this bug, and I checked the Keithley VISA drivers, they are okey, they use everywhere double precision variables. 
    But if you have a look at the NI Keithley 24XX.lvlib:VI Tree.vi, where is the full list for available VIs, there are many problems I think. At many places (voltage sensing, sourcing, etc) the programmer just used single precision variables to pass information.
    I think these problems should be reported toward NI, but I do not know what is the way to do this...

  • KEITHLEY 2400 code problem

    Hello
    I am trying to acquire data from keithley 2400 using labview 9, NI VISA 4.5.1,  and serial RS 232 interface.
    I used the attached "Keithley 24XX Read Single.vi"  ( obtained from NI certified drivers )   and got this message-
    Error -1073807346
    occurred at VISA Write in Keithley 24XX.lvlib:Error Query.vi->Keithley 24XX.lvlib:Configure Measurement.vi->Keithley 24XX Read Single.vi
    The keithley meter indicated "REM", as soon as VI was run, which means "Remote" operation and froze up.
    Under MAX, i can see COM1  and device status is "Device is working properly"
    Kindly  help in debugging
    1. Should i use GPIB?  Are the drivers good for serial interface? I used the  first NI certified driver indicating serial/GPIB compatibility.
    2.Is keithley meter being recognized by MAX?
    3. Any errors in the codes?
    Regards
    poli
    Attachments:
    Keithley 24XX Read Single.vi ‏24 KB

    you  guys are amazing!
    I switched off all other vi and tested the "Basic serial read and write.vi". It worked fine.
    So the first step regarding MAX communication  is ok.
    Now, i tested the attached "Read (Single Point).vi and it showed the following error, after some time.
    code = -1073807339
    VISA Read in Keithley 24XX.lvlib:Error Query.vi->Keithley 24XX.lvlib:Read (Single Point).vi
    If i get this to work, that will solve the problem.
    Attachments:
    Read (Single Point).vi ‏17 KB
    Keithley 24XX.lvlib ‏12 KB

  • Error using the Keithley 2400

    Hi, I am pretty new to LabVIEW and right now I am just trying to set up a simple test (source current, measure voltage) using the Keithley 2400 and Labview 8.2
    I got the driver for this instrument off of NI's website at
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=25B255F3AA83660EE0440003BA7CCD...
    In the Measurement and Automator it sees the Keithley (GPIB0::14::INSTR) and I also gave it an alias so it is easier to find amungst the other hardware current set up.
    I wrote a simple program using some of the VIs in the driver to source a current and read a voltage.  When the program runs, it errors out, and then after it errors the keithley still runs the test.  I can see the measurement on the front panel of the instrument however it does not send anything back to the computer.
    I then tried to just run an example found in the driver and I get the exact same error.
    Error -1074000000 occurred at Keithley 24XX.lvlib:Error Query.vi
    Possible reason(s):
    Instrument reports:
    -113,"Undefined header"
    0,"No error"
    Complete call chain:
         Keithley 24XX.lvlib:Error Query.vi
         Keithley 24XX.lvlib:Read (Multiple Points).vi
         Keithley 24XX.lvlib:Read (Single Point).vi
         Keithley 24XX Read Single.vi
    Anyone have any idea's as to what might be causing this error?  Any help would be greatly appreciated
    Nolan

    Hello nblue:
    Can you communicate with the Keithley 2400 in Measurement and Automation? Do you know if there is a query command for the instrument, if so can you test to see if you can query the instrument to make sure it is working.
    Regards,
    Roland A.
    Applications Engineer
    National Instruments
    Check out VI Roadshow

  • "Read Single Point" Keithley 2400 Problems

    Hello!
    I am recentely having some problems with the "Read Single Point Measurements" function in Labview 2012. I have already sucessfully used my Keithley 2400 in other programs to sweep the voltage, but now I am trying to use it also to read the current across my sample. 
    I wrote a very simple program, which resemble the one you can find among Labview examples (see 1st attachment). The only differences are a sweep-subVI and a "for" cycle. My problem occurs at the "Read" Keithley function. On the Keithley's screen I have the following errors:
    - 113 : undefined header;
    - 230: data corrupt or stale;
    - 420: query unterminated.
    While in the Block diagram, when the system gets to the "read" function, the error -1074000000 shows up.
    I have found a lot of posts on this topic, but unfortunately I could not find the any solution for me. I also tried the 2nd attached program, to check the comunication to the instrument, but errors still occur. In "Measurements and Automatic", it says that the instrument is working properly. 
    Do you have any ideas?
    Thanks  
    Attachments:
    Keithley 24XX Sweep and Acquire Measurements.vi ‏26 KB
    Basic Serial Write and Read (1).vi ‏26 KB

    The following video demonstrates how to check the firmware revision: http://www.keithley.nl/centralized_display?mn=2400&assetid=55934.
    In order to update the firmware you will be need to download a flash program and the firmware file. gAfter obtaining the Flash program and the Firmware file from Keithley Application support staff, unzip the three files in a folder of your choice and run the "setup.exe" program.  Follow the instructions to install the program.  When the installation is complete, launch the program from your Windows Start menu under Programs/Keithley Instruments. The Application support staff will also provide the file for the latest firmware revision. Put that file in a folder where you can find it and then run the Flash Wizard32 program. The program will autodetect the instrument and request to specify the firmware file.
    This link contains the flash program: http://www.keithley.com/base_download?dassetid=52609
     See attactment for the firmware revision.
    Attachments:
    2400c30.zip ‏358 KB

  • Keithley 2400 driver for Labview 8 not working

    I searched the boards and found this driver for a Keithley 2400 that should run with Labview 8.  I have Labview 8.6.
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=25B255F3AA83660EE0440003BA7CCD...
    I put the driver folder in the proper location and the vi's are appearing in the selection menu as expected.  I have my Keithley 2400 connected to a serial port on COM1.  When I simply try to run the initialization VI it doesn't work.  I know it's communicating in some form, because my Keithley goes into remote mode and the initialization driver is able to properly read what the model of the Keithley is.  When it gets to the VISA read vi it is timing out, but still outputs the correct model identification.  I don't understand why it's timing out and not working.  
    Is there something else I should've installed?  The driver readme says the only additional software required is NI-VISA 3.2, however I have version 4.4, so I should be fine.  I just don't understand why it's "sort of" working.  Any help would be greatly appreciated. 
    Solved!
    Go to Solution.

    It doesn't sound like it. You are using serial and that requires nothing beyond VISA - plus simple commands are working. The fact that the drivers can send and receive the SCPI identification command tells me that you are communicating with the instrument. (That is what causes the instrument to tell you what kind of device it is.) The thing to remember about drivers you get from vendors is that they can be very buggy. Often times they were written by someone who doesn't know LV very well, or were perhaps donated to them by one of their customers. I always view vendor-supplied drivers as simply a starting place for creating really usable ones.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Swap DC and ground voltages of Keithley 2400 meter

    Hi
    I am using Keithley 2400 source meter to apply voltage to my chip. The test that I am performing
    has the following requirements:
    In the first stage, I apply DC voltage (from source meter) on one pad (Pad-A) of the chip and ground
    (from source meter) on the other pad (Pad - B) and take some capacitance measurements.
    In the second stage, I need to swap these voltages i.e. DC voltage to Pad-B and ground to Pad-A.
    I am already using a labview code to apply the voltage and make the capacitance measurements.
    Is it possible by any chance that I can control the swapping with the labview code automatically,
    without having to swap them manually?
    Thank you for the help

    Is it important to switch the GROUND? 
    Or do you only need to switch the polarity of the voltage between your pads?
    Sometimes it makes a BIG difference
    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 ǝɥʇ'

  • Keithley 2400 and 2182 V-I measurements

    Can anyone help me with a program in Labview regarding V-I measurements with a Keithley 2400 source meter and 2182 nanovoltmeter?
    Thanks!

    Hi danimarconi,
    "anyone" will help you as soon as you ask specific questions!
    Tell us your problems, attach your VIs and you will get help!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • Exception caught during processing mail message

    I am getting the following error in CC monitoring for my sender mail adpater: exception caught during processing mail message; java.io.IOException: invalid IMAP status response; not finding * STATUS, but 001I NO The requested item could not be found.

  • Unknown Error (1418), iPod 3rd Generation help please!

    So I bought a fantastic old school retro iPod 3rd Generation and I love it! It plays fine, syncs music and all, but only through USB 2.0 (and doesn't charge!). It takes iTunes ages to recognize the iPod with Firewire. And I wish it would be quicker!

  • ISDN and Faxing from my iMac g5

    I have an ISDN phone here in Germany. It has two cables going to it. One looks like a standard RJ11, the other is similar except that the little hook-thingee is off to the side instead of centered, as with the RJ11. I assume this is the digital line.

  • Apple tv2 with macs and PCs

    i recently ran out of room on my MBP to store movies/iTunes. I acquired a PC and i'm wondering if i set up this PC and store movies on it, will the apple TV be able to play the movies?

  • Two production client on one instance

    Hi everyone.! Can there be two production client on a single instance. If yes then how ? Thanks in advance Puneet