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

Similar Messages

  • 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

  • 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

  • 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

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

  • IV characteristic using Keithley 2400, Labview IVI driver

    Hi...
    I'm Pradeep. I am trying to build a LV program for measuring LjV (luminance-current density-voltage) Characteristic of LED using while loop. I am in the first part of building a program for IV characteristic. I am using Keithley 2400 (connected through PCI-GPIB) for sourcing Voltage and measure Current through the device. I use IVI driver from Keithley website (2400-854B01) in Labview 2010.
    I have made a program (please find it in attachments), while running it shows an error code -110. I fear that the voltage that I want to send to 2400 is not communicated properly. Can someone please help in finding out where I made a mistake. I'm struck for two days. I have used Initialize, Configure SOurce DC, Enable Source, Configure Measurement, GPIB Write, Read and Close from the driver (though not sure of the order to be used)
    Please ignore the Luminance measurement in the LV program at 'XY graph' and at 'Write to Spreadsheet' which are for later use when I need to add a photodiode with Keithley 2000 DMM.
    (I did not do a structured learning of Labview. I have been learning from manuals and through discussion forums for a couple of weeks. Please pardon my ignorance)
    Attachments:
    LjV char.vi ‏22 KB

    duplicate

  • 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

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

  • 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

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

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

Maybe you are looking for

  • How can I speed up the time it takes to deliver mail to lists I build in Workgroup Manager?

    My research group uses Workplace Manger to create mailing lists that we use to email each other. The lists work correctly, but take a long time - when an email is sent from any computer to the mailing address we create (like [email protected]), it ta

  • HOW TO CHANGE DATA IN STANDARD TABLE

    PLEASE HELP AS PER ABOVE. THANKS, LALIT

  • Mac OS 10.2 Password Files?

    Does anyone know where the 10.2 password files are? I would like to recover a user's password without resetting them, becuase he has stuff in the keychain that he doesn't want to re type.

  • ITunes will not import mp4-files.

    For some reason iTune will not import mp4-files into iTunes. The files only contain audio, no video. I know that mp4 is a format that combines the two. The files were generated in an earlier version of iTunes, like in 2006 or something. They were imp

  • SAP BW Production Clean Up Activities

    Hi Friends ! We are planning to perform clean up of SAP BW Prod. The motto is to free the space & delete all un-used objects. Few things to be considered : 1) PSA deletion - Do we have any Tcode which gives the entire list of PSA? Then we can build a