Communication GPIB avec un keithley 2000

Bonjour à tous,
j'essai d'utiliser mon multimètre keithley 2000 en communication GPIB sur mon labview 8.6. J'ai télécharger un vi (pièce jointe) qui est un exemple. J'arrive à initialiser sans pb... mon pb se situe au niveau de la fonction lecture. Le sous vi atteint le time out de 25s et me renvoie l'erreur suivante :
L'erreur -1073807339 s'est produite à : VISA Wait On Event dans Wait for RQS.VI:1->_ke2000 Wait for SRQ.vi->ke2000 Data Read Single.vi->Keithley channel test.vi
Raisons possibles :
VISA:  (Hex 0xBFFF0015) Le délai d'attente (timeout) a expiré avant que l'opération ne soit achevée.
Je ne comprends pas du tout ce qui se passe, quelqu'un aurait-il une idée !!! Merci à tous
Attachments:
Keithley channel test.vi ‏48 KB

duplicate post

Similar Messages

  • Problème communication GPIB avec HP8753B

    Bonjour tout le monde,
    je vous écris car je n'arrive pas à résoudre un problème de communication avec un analyseur de réseau HP 8753B (très vieux), j'ai fait un programme sous labview qui marchait parfaitement, puis quelques jours sans utilisation maintenant je ne peux plus dialoguer avec lui, je n'ai a priori rien modifié.
    Au démarrage de l'ordi je peux communiquer avec lui grâce à MAX mais pas avec mon programme, il y a une erreur lorsque j'utilise le vi de gpib write (code erreur 3). Lorsque je retourne sur MAX il me dit erreur iberr=EADR, cette erreur explique que mon instrument a la même adresse gpib que le controleur mais j'ai vérifié et ce n'est pas le cas, j'ai modifié l'adresse gpib de mon instrument mais cela donne la même chose, les même erreurs. J'ai pourtant éplucher le manuel du HP sans trouver de solution, l'instrument est en mode "listen" mais pas "talk".
    Est-ce que quelqu'un aurait déjà rencontré un problème similaire, même avec un autre instrument?
    Cordialement
    Mélanie

    Bonjour,
    Merci d’avoir posté votre question sur les forums de National Instruments.
    L’erreur que vous reportez correspond effectivement à un problème d’adressage entre votre contrôleur GPIB et votre instrument. Sur le document suivant, GPIB Error Codes and Common Solutions (Part 1), il est clairement indiqué que cette erreur peut survenir si votre contrôleur GPIB à la même adresse que vos instruments. Je pense qu’en plus de vérifier l’adresse de votre instrument, vous devriez aussi vérifier si votre contrôleur GPIB n’a pas une adresse fantaisiste. Le plus simple est de lui donner l’adresse 0. Vous pouvez également vérifier les adresses secondaires de vos instruments et contrôleur afin de vous assurer que ce ne sont pas elles qui causent problème.
    D’ailleurs quel contrôleur GPIB utilisez-vous ?
    Avez-vous vérifié que les paramètres d’adressage que vous utilisez dans votre programme LabVIEW sont bien les mêmes que ceux que vous utilisez dans MAX ?
    Enfin, savez-vous si votre appareil GPIB est bien prêt à entrer en communication avec le contrôleur GPIB ? Je veux dire par là que votre instrument est peut être bloqué en mode remote ou local et qu’il n’arrive pas à basculer dans l’autre mode. Cela pourrait empêcher la communication de s’établir. Il faudrait dans ce cas vérifier si vous n’avez pas sur votre instrument un bouton permettant de passer manuellement d’un mode à l’autre.
    J’espère que ces informations vous aideront à résoudre votre problème.
    Bien cordialement,
    Guillaume H.
    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;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • Interfacial connection to Keithley 2000 thro' GPIB-488

    Hi all,
    Pls give me some ideas about interfacial connection to Keithley 2000 through GPIB-488.
    I dont 've a clear understanding of what to do next...
    Regards,
    Partha,
    - Partha
    LabVIEW - Wires that catch bugs!

    Hi Partha,
    Have you downloaded the LabVIEW driver for the Keithley 2000?  If not, you can find it here.  Simply download the appropriate version for the version of LabVIEW you have, install as directed, and you will have the functionality of the instrument in the form of subVIs.  Most instrument drivers install example programs as well that you can try out.
    Let me know if you have any questions!
    Chris R.
    Applications Engineer
    National Instruments

  • Keithley 2000 voltage measurement

    Hi,
    I want to write a code to display the voltage measured from a keithley 2000 meter using RS232 serial port  and display it on a   graph using Labview 8.5 on Windows Vista based Laptop
    . I guess the first step is to download the driver for keithley2000 http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248. I want to go step by step. Please give me the main key steps on how to proceed on this problem and i will then work in detail based on your directions.
    How do i know that laptop  is recognizing the meter and RS232 connection is sound? What are the next key steps i need to work on? Please give the directions.
    Thanks

    For fast reading, it is important not to use the MEAS? command, but READ followed by FETCH? (if I remember correctly). Normally these DMMs operate at 1 PLC (power line cycle -> 50/60 Hz), so you need to adjust the NPLC (number of power line cycles).
    There is to options to work with the Keithley DMMs inside LabVIEW. You could use the LabVIEW drivers for the Keithley 2000, those can be found on ni.com and on the keithey homepage. Propably they only implement GPIB, the you need to make some modifications on them for RS232. The other option is to send the commands as found in the DMM manual via VISA.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Keithley 2000 current measurement

    Hi All,
    I am using keithley 2000 DMM to measure current. I have configured the DMM under IVI Drivers in MAX. I am using the example program in CVI to configure and read the current drawn. When I read the current drawn from the DMM the current value displayed is incorrect. I have used the auto adjust to zero function also. Even on multiple readings with delay, the value keeps fluctuating and is no where near to the expected value. Can anyone suggest why I am not able to read the correct value? Where can I find the configuration parameters for this DMM in MAX? How do I know if I have configured the DMM correctly in MAX or not?
    Any pointers would be helpful.
    Thanks in Advance,
    Pradeep

    Hi Pradeep,
    Try downloading the drivers for the Keithley DMM from http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248
    Nxt question is as to how you are connecting the DMM to your PC (serial, gpib??)
    If you have connected over GPIB, verify that it is showing in MAX under devices and interfaces.
    You can then right click on the instrument and select communicate with instrument. Use simple commands that should be available in the manual to read data from 
    the DMM. Once you have verified that communication is established, try using the example programs in CVI.
    Regards,
    Denver
    AE, NI India
    Message Edited by denver_ on 11-24-2008 07:46 PM

  • Keithley 2000 with AD007

    I am new to LabView and am attempting to write a program that will record data from a keithley 2000 digital multimeter. So far I can only send "one-shot" commands to read the data. However, my expermiment requires readings to be taken many times a second. I am communicating with the multimeter via a AD007 Tektronix GPIB Lan Adapter. The LabView version I am using is Labview 6.1. If anyone has any idea on how to send GPIB commands to the multimeter using a labview interface, it would be GREATLY appreciated.
    Robert

    I'm not sure what's in this driver that requires IVI 2.0. I use other IVI drivers with 1.83 that you can get Keyword Search: Keithley. If that doesn't work, you could try the LabVIEW driver for the same instrument.Message Edited by Molly K on 02-18-2005 11:55 PM

  • Keithley 2000 DMM AC Read Overflow

    I’ve been having problems controlling a Keithley 2000 DMM during AC volts measurement using IVI. When reading AC Volts the DMM will intermittently sense an ‘overflow’ and return the value NaN. I’m using IVI and TestStand 3.0 but get the same problem with IVI and LabWindows 7.0.
    The set-up is as follows:
    Device: Keithley 2000 DMM, GPIB device number 6
    Device interface: GPIB, DMM set-up in MAX as GIPB0::6::INSTR
    IVI Driver version: 3.02, downloaded from the NI web site
    IVI Compliance Package version: 2.1
    NI-488.2 version: 1.70
    NI-DAQ version: 7.1.0f1
    MAX version: 3.0.2.3005
    For test purposes I’ve connected the DMM front panel input high and low and set the inputs mode on the Keithley to front, this should mean that I get a very low Voltage reading. I’ve then run the LabWindows/CVI IVI control sample code provided with the IVI driver. At the initialisation panel I’ve entered the logical name. At the configuration panel I’ve selected Volt AC measurement but left everything else as default. The second configuration panel I’ve left as default. At the Read panel I’ve left all setting as default. Pressing the read button up to about 20 times with about a second gap in between each press will eventually lead to an ‘overflow’ reading.
    Any help/explantion will be appreciated
    Steve

    Here are the results of my investigation into this problem, it’s two fold:
    1. Keithley have informed me that their engineers in the US have just seen the problem I’ve been seeing and are working on a firmware update. Currently here is no date for the release of the updated firmware but I’ll be informed when this it’s ready.
    Note: I’ve found that the read AC Volts overflow problem only occurs when the read trigger delay is set to zero seconds.
    2. The TestStand DMM IVI configuration step always sends a trigger delay of zero seconds regardless of the trigger delay set.
    In my TestStand sequence the DMM IVI configuration sets the read trigger delay to 3 seconds but as noted above this is sent a zero seconds thus invoking the Keithley DMM AC Volts read overflow problem.
    See attached VISA call log captured by NI Spy. The first 22 call are made when the DMM IVI configuration step is called form TestStand the next 22 calls are made by the IVI DMM sample code configuration provided by National Instruments when DMM configuration is run thorough LabWindows. Note call 12 (IVI DMM TestStand) has the trigger delay set to zero seconds (should be 3 seconds) and call 34 (IVI DMM LabWindows) has a delay of three seconds.
    I’ve found a workaround as follows:
    After each call to the TestStand DMM IVI configuration step an additional step that calls the TestStand IVI Tools step can be added. The IVI Tools step can be set-up to specifically configure the DMM Trigger Delay to 3 seconds. I’ve proven that this individual call does in fact send the correct trigger delay command to the DMM thus alleviating the AC Volts read overflow problem.
    Can NI confirm that this problem does exist with the DMM IVI step and when they plan to fix it. I’ve attached the TestStand sequence file that I’ve been using to investigate the problem.
    Thanks
    Steve
    Attachments:
    DMM Overflow.zip ‏9 KB

  • Measure with Keithley 2000 over RS232

    Hey,
    ich have a problem with my Keithley 2000 by measurements over RS232.
    My programm is running, its a simple serial read and write VI. I send him an command to measure and nothing is happening. I got nothing back....
    I add the VI and the commands, maybe somebody knows whats wrong with my VI!
    Thanks a lot
    Greetings
    Ralf
    Attachments:
    RS232 Serial Write and Read.vi ‏22 KB
    Unbenannt.JPG ‏7 KB

    I have no time to look into your code, but most likley you miss the termination char. On a string constant you can switch to \-display and then use \n or \n\r depending on the settings. You can also look into the LV drivers for the keithley 2000, they are available on ni.com and/or on keithley.com
    Felix 
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Keithley 2000

    Hello,
    I am having a problem with connecting Keithley 2000 with Labview. I downloaded the driver from Ni , however when I run it, the error syntax occur Error +800 in the Keithley 2000. It does not do any measurement. Would you like to help me to deal with this problem? 
    Thank you very much.!

    Hi stranger1!
    I have some steps that might help you:
    First, make sure you have the 488.2 driver installed for GPIB.
    http://joule.ni.com/nidu/cds/view/p/id/3786/lang/en
    Second, make sure the device shows up in NI MAX and you are able to communicate with it there.
    http://www.ni.com/gettingstarted/setuphardware/instrumentcontrol/gpibconnect.htm
    Are you using the IVI driver or the Plug and Play driver?
    IVI: http://www.ni.com/white-paper/3377/en/
    Plug and Play: http://zone.ni.com/wv/app/doc/p/id/wv-1426
    You also might find the information in this forum post useful:
    http://forums.ni.com/t5/Digital-Multimeters-DMMs-and/How-do-I-interface-with-a-Keithley-2000-multime...
    If those documents are not able to solve your problem, we might need a little bit more information. IVI or Plug and Play? You say you try to run the driver—do you mean a particular VI or example included in the driver? The error you are getting is a SCPI error (http://forum.keithley.com/phpBB3/viewtopic.php?f=13&t=70)—are you sending a particular command to the device? 
    Regards,
    Kelsey Johnson
    Applications Engineering
    National Instruments

  • 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

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

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

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

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

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

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

  • 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

  • Lightroom 5.5 ne communique plus avec Photoshop CC 2014.

    Bonjour, Lightroom 5.5 ne communique plus avec Photoshop CC 2014. La commande cmd+E ouvre Ps mais le fichier image ne se convertit pas et n'ouvre pas. J'ai le même problème sur Windows 8.1 et OS X Maverick.
    Merci
    Benoit

    Try signing out and signing in back on Creative Cloud App. Then check if Lightroom CC 2015 working
    Sign in, Sign out | Creative Cloud desktop app

  • Keithley 2000: Strange timeouts

    Halloechen!
    I have to read multiple values from a Keithley 2000 (DC volts data),
    and even that has to be done multiple times. So I did the
    following:
    1. ke2000 Initialize.vi
    2. ke2000 Configure DC volts.vi (no parameters, only "DC Volts"
    selected from the pull down menue)
    3. In a loop:
    a) ke2000 Configure Trigger.vi with a proper calculation of the
    timeout (taken from a Keithley example code)
    b) ke2000 Data Read Multiple.vi (with the correct number of
    readouts)
    c) ke2000 Reset.vi
    4. ke2000 Close.vi
    Unfortunately, with this programming I get timeouts regularly.
    Well, not always but every other measurement say. If I increase the
    timeout time, it simply takes longer, but the timeout is inevitable.
    When it
    happens, the Keithley seems to be unable to leave 3 b).
    Then I created a WHILE loop that repeats the measurement if there
    was a timeout. But the loop is repeated until I stop the program.
    However: If I take the initialisation vi *within* the loop, it
    works! I still get timeouts, but now it cleanly repeats the
    measurement and proceeds.
    But this is neither elegant nor fast. Apparently some delays are
    missing. Does anybody know where to put them? Where is the
    critical phase for the instrument?
    Or is it something different?
    Thank you!
    Tschoe,
    Torsten.
    Torsten Bronger, aquisgrana, europa vetus

    I find this rather interesting. I ahve some older drivers for the KE2000 and they work without problem. But when I seen your question it rasised an interest because you said DC volts from the pull down. I went and downloaded the drivers from NI and installed them wrote just a simple program from them and sure enough the problem is there just like you said it was. I also found that if you do not use the initialize vi it works fine without the timeouts. Seems that the initialize vi is putting the instrument in a funny mode. Anybody have any Idea of wht this is happening.Will do some investigating and get back to you.
    Joe
    Joe.
    "NOTHING IS EVER EASY"

Maybe you are looking for

  • How can I play avi video on my ipad 2

    I have tried to play avi video on my ipad 2. It will load and show on the screen but will not play. Any ideas? Thanks.

  • Can motion do this?

    Hi, I dont know much about Motion (I am a photgrapher) but before investing time and money in Motion, I would like to know how/if it can be used for still images. So my questions are: - how well do is work with stills? - are they any fx to make blood

  • G/L Master Data Creation

    FI team, Can someone explain exactly when I should check "Post Automatically Only" and what exactly Supplement Auto Postings" mean. When can I have both checked or individual. I am having a hard time. Thank you for your help

  • Query for a chart

    I have this query: select null link, creationdate  label, COUNT(PROBLEM) BER from INCIDENTS where PROBLEM=:p10_id AND SOURCE = 'BER' and creationdate between (select (min(creationdate)) from  INCIDENTS where PROBLEM=:p10_id) and SYSDATE group by crea

  • How much space does time machine take up on hard drive?

    Can anyone let me know how much hard drive space time machine takes up?