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

Similar Messages

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

  • Keithley 2400 record data problem

    Hi,
     I use Keithley 2400 to Measure I-V curve, at a sweep mode, like scan the V from 0 to 0.2 V, at low NPLC(eg. 0.1), the data can be recorded very successful and save to data.txt. But when I increase the NPLC (eg. 5 or 10,), this vi usually cause some problem. When the scan votage reach the 0.2 V, the keithley display panel stops at 0.2V and shows this current, the VI still shows at working, and no data recorded in the data.txt. In the correct process, Keithley display panel shoud show the "OFF" and the VI also stop working, and the data recorder correctly. Could some one help me out of this? Thank you very much.
    Attachments:
    24xx_Swp-V_Meas-I_gpib.llb ‏373 KB

    Why can't you stick to a single thread for same topic? Please see here and here

  • Problem with Keithley 2400 source meter

    Hello all,
    I tried to controll a keithley 2400 source meter with Labtracer using a NI GPIB-USB-HI card but when I run the test is send me this error message: "There was ab error reported on Visa Read in Query. Test aborted. Error code: -1073807339"
    is this card (NI GPIB-USB-HI) able to controll keithley 2400 source meter ?
    the keithley 2400 source meter screen show "REM TALK" during the running of the program,
    I installed NI488227 in my computer (windows XP) and also "Agilent Connection Expert", this later also show no possibilty to connect with the Keithley meter, I attached a file for  "Agilent Connection Expert".
    Any help is appreciated
    Thank you by advance
    Attachments:
    ACE.docx ‏133 KB

    Follow the preliminary steps to first check if the device is able to communicate via the GPIB-USB convertor.
    navigate to: Start>>National Instruments>>NI 448.2>>Interactive control.  Use this utility to query the GPIB device for some standard commands for e.g.: *IDN?
    There is also a GPIB analyzer in the above path which you can use to verify the device connectivity to the system.
    Also for communicating the with 3rd party GPIB devices always enable " NIVisa Tulip.dll" which will help recognising the device in max.  Look at the picture to enable this option in max.
    post back for queries
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
    Attachments:
    tulip.jpg ‏175 KB

  • Keithley 2400 Meter Read dans une boucle - probleme de status byte read

    Bonjour,
    j'utilise un Keithley 2400 pour mesurer un potentiel. J'ai débuté en utilisant le modèle Read.vi du driver. Dans mon cas, la portion "read single" se trouve dans une boucle for et après un certain nombre de mesures (cela semble aléatoire), la fonction gèle et en remontant les étapes, on découvre qu'il s'agit de la lecture de "status byte" qui ne reçoit aucune réponse en amont. Il faut alors redémarrer complètement le programme. Celà survient à chaque fois et après un nombre d'itérations variable.
    J'ai même tenté de mettre une boucle while directement dans l'exemple "read single" (le .vi) et le problème est exactement le même, même si on ajoute un wait à la boucle. Après un certain temps, ça gèle et c'est le status read qui ne reçoit aucune réponse.
    Merci.

    Bonsoir PG123,
    Ce que je vois directement dans votre VI c'est le fait que vous exécutiez à la vitesse maximum votre boucle While sans le moindre cadencement ne laissant ainsi jamais de temps disponible au processeur pour effectuer d'autres tâches. Il est propable de plus que l'instrument ne supporte pas un nombre de requêtes aussi élevée saturant peut être son buffer ou ne laissant pas le temps à l'instrument d'écrire correctement les valeurs.
    De plus, je pense que vous n'avez pas besoin de récupérer à la vitesse maximum toutes les valeurs possibles provenant de votre instrument. C'est pourquoi je pense qu'une lecture toutes les 200ms suffirait déjà amplement.
    Voici donc à quoi devrait ressembler l'intérieur de votre boucle While :
    Essayez avec un cadencement d'1 seconde (1000ms en entrée de la fonction) dans un premier temps et voyez si le problème de gel se produit. Si ce n'est pas le cas, vous pourrez alors progressivement diminuer la valeur de cadencement (jusqu'à 200ms minimum, celà devrait suffire comme déjà dit au dessus.
    Cordialement,
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • 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

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

  • 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

  • "Not Enough Memory" Error when programming Keithley 2400 using LabView 6i

    I'm trying to use LabView 6i drivers to control a keithley 2400 via GPIB interface. Most of the drivers work fine but the high level operations such as a the sweep functions or even functions that perform a single measurement gives a "Not enough memory" driver error. What doesn't have enough memory? A single measurement can't overload the PC's or Keithley's memory buffer so why am I getting the error?
    Thanks for any help you can offer...
    Evan

    Evan,
    That's not a LabVIEW, GPIB, or NI-VISA error code - that error is generated by the instrument driver. I went ahead and downloaded this driver from keithley.com to take a look at this Perform DC VI.vi function's source. But unfortunately, the heart of the Perform DC VI function is a "Call Library Node" call to a keithley DLL, so that is a black box. Also, no c-source included that I could find, so I could not look at that either. And since I don't have a Keithley 2400 to play with, that brings me to the end of the rope on my system.
    A couple of more things you could try, however, since you actually have the instrument.
    (1) Definately build a simple VI to eliminate other aspects of your program. In this case, the most simple
    VI would be an Init, Perform DC VI.vi, and then a close. Make sure this simple program reproduces the error. If it doesn't, then the problem is likely introduced in your code, not the driver.
    (2) If #1 reproduces the problem, then check that you have all the driver pre-requisites correct (ie, that NI-VISA is installed, that the GPIB board is working properly, etc).
    (3) If #1 and #2 do not result in any discoveries, then you will have to enter the black box of that DLL. Primary method to do that, to be honest, is to contact Keithley and ask for help, since they developed the driver. Second method is to use our NI-SPY utility, which can capture all calls to VISA drivers, (since this is a VXIpnp driver, it should be fundamentally using VISA within the DLL). Within NI-SPY, you will be able to see the individual function calls, and which ones are returning errors. That may help point in the right direction.
    Regards,
    Greg Caesar
    National Instruments
    Applications Engineer

  • Mesures rapide sur KEITHLEY 2400

    bonjour,
    J'ai fait un programme
    qui me permet de mesurer le courant d'un échantillon par pas de temps
    sur un KEITHLEY 2400 :
    (source V / Mesure I toutes les secondes
    )on envoie une tension fixe et on mesure le courant par intervalle de
    temps.
    Le VI fonctionne bien sous LABVIEW2009 avec les
    bibliotheques du 2400 et seul le module KE24XX_READ se trouve dans une
    étape d'une boucle n dont je mesuse le temps à chaque mesure.
    Le
    probleme se corse lorqu'on veut faire des mesures rapides (toutes les
    ms)
    Le module prend 150ms pour faire sa mesure et je suis passé à
    la programmation par code source avec des GPIB WRITE et READ
    Or
    ces commandes fonctionnent dans le NI Exploreur (WRITE SOURC:FUNC VOLT
    ou OUTP ON par exemple) mais pas avec les modules GPIB WRITE.
    Est
    ce que quelqu'un aurait déjà fait du sourceV/MesureI par code source ?
    Merci
    d'avance

    Bonjour,
    Avez-vous regardé l'exemple LV7 Example to Source V and Measure I using a Sweep - GPIB and SCPI que vous pouvez trouver sur le site de Keithley?
    Vous dites que cela ne fonctionne pas avec les modules GPIB WRITE, avez-vous une erreur et si oui laquelle ? Que se passe-t-il exactement?
    Cordialement,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • Mesures rapides courant sur keithley 2400

    bonjour,
    J'ai fait un programme qui me permet de mesurer le courant d'un échantillon par pas de temps sur un KEITHLEY 2400 :
    (source V / Mesure I toutes les secondes )on envoie une tension fixe et on mesure le courant par intervalle de temps.
    Le VI fonctionne bien sous LABVIEW2009 avec les bibliotheques du 2400 et seul le module KE24XX_READ se trouve dans une étape d'une boucle n dont je mesuse le temps à chaque mesure.
    Le probleme se corse lorqu'on veut faire des mesures rapides (toutes les ms)
    Le module prend 150ms pour faire sa mesure et je suis passé à la programmation par code source avec des GPIB WRITE et READ
    Or ces commandes fonctionnent dans le NI Exploreur (WRITE SOURC:FUNC VOLT ou OUTP ON par exemple) mais pas avec les modules GPIB WRITE.
    Est ce que quelqu'un aurait déjà fait du sourceV/MesureI par code source ?
    Merci d'avance
    Pièces jointes :
    Idet_3.vi ‏89 KB

    Bonjour,
    Je vous suggère de vous référer aux KB suivantes :
    Why Can I Communicate with My GPIB Instrument in MAX, but Not in LabVIEW?
    Source Code for GPIB Language Interfaces
    Cordialement,
    Steve M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions

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

Maybe you are looking for

  • Oracle 8.1.5.2 and Redhat 6.1

    After follow everyone suggest how install Oracle 8.1.5 to 8.1.5.0. I used dbassist to create the script for my database. However, when I try to run the script I got the following messages. ORA-01012: not logged on. Can anyone help me how to run the s

  • How Do you use Cyrillic Fonts (Russian) in InDesign CS4 or CS3

    I have a headline in Russian a client sent me in an e-mail that I need to use on a poster I'm laying out in InDesign. I downloaded ERUniverse cyrillic font, and when I paste the Russian headline in a text box and go to select ERUniverse cyrillic, the

  • Could not complete the camera raw command because of disk error

    Hi, First off, I am using a Mac (OS X ver. 10.9.2) and Adobe Creative Cloud Photoshop (2014). I just downloaded the preset pack off VSCO for Adobe Camera RAW and I am having trouble getting it to work. When I try to launch the "Camera Raw Filter", I

  • Idoc for Incoming Payment lot creation

    Hi Experts, Currently i am working on an inbound interface which  has the requirement of Incoming payment interface from a Payment Processing center  which processes payment (cheques, payment stubs for over the counter payments, etc) and sends daily

  • Trouble with externally moving files in LR v2.3

    Hi All,   Newbie here, so sorry if this is a stupid question. I finally got a computer that is powerful enough to make LR useful, so I have been playing around with it the last few days and I really love it.  My library is woefully disorganized so Iv