Labview program to control keithley 2400 to output current using GPIB cable

as topic suggests,i would like to have a VI program to let the 2400 sourcemeter output current using labview.sorry,but i'm still new to this stuff and i direly need it by today... so please help me out... thanks a LOT!also can u brief on the connection?
Message Edited by SG_SP_OLED on 05-15-2006 12:16 PM

Below is a link that describes what an instrument driver is.
http://zone.ni.com/devzone/conceptd.nsf/webmain/119B3B705B84B041862567D90074F425?opendocument&node=D...
The instrument driver found from the Instrument Driver Network for this instrument is not maintained by National Instruments. It can be downloaded from the Keithley website. If you search the Keithley site for software drivers, they do have a LabVIEW driver that should contain an example of programming with their VIs. Otherwise, you can search for examples on the Keithley site, and they do have example programs (however, it may or may not be the functionality you are looking for).
Regards,
Missy S.
Calibration Engineer
National Instruments

Similar Messages

  • 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

  • LabVIEW Program not running if i lock my PC (using an EXE made from LabVIEW)

    Hi everyone 
    I observed some odd behavior when I was running my program on a PC. I prepared an EXE for a LabVIEW program, this am running on another PC. Purpose of the program is to read a text file and follow the command given in that text document, we are accessing parallel port, calling third party EXEs in this. It is not running when I minimize the window or lock the PC. Do we have any property in VI properties for this?
     Please help me in this.
    Thanks
    Anil

    Hi Anil,
    Minimizing the application or locking Windows should not stop the executable from running. Can you reproduce this behavior on the development PC?  Also try to create an executable with a simple VI that counts the number of iteration and check for this behavior ?
    Tunde.

  • Write a Labview program to control both speed and direction of stepper motors

    Hello,
    I am currently undertaking a project in University. As part of it I have to run two stepper motors at varying speeds, and one of them in forward/reverse. The motor I have for the project is a RS 191-8334 (V9728) and the controller is a RS 240-7920 (v10900). I have no experience of using Labview, and the version I have on my laptop is Labview 10. Any help would be greatly appreciated.
    Ideally I would want a program to do both full/half steps, forward/reverse, have speed control and be able to control the number of steps.

    Hi Wef,
    I would need to know more information about the devices in order to assist you.
    What inputs does the stepper motor controller require and what hardware are you using to supply the required signals to the motor.
    Best regards,
    Stephen C
    Applications Engineer

  • Switching audio outputs when using optical cables

    I have an optical cable out to my main home stereo for listening to music. Sometimes I only want to use the iMac's internal speakers instead of the home stereo. Unfortunately, the System preferences does not seem to allow me to change output sources via the software. The only way that I can find to switch outputs is to physically unplug the optical cable. Given the reported frailty of optical cables, I would rather not have to do this. Is there a way to allow a software change from external to internal speakers without unplugging the cable?
    Thanks for any help that you can offer!

    Does not seem to be any software control of multiple outputs. Just have to unplug the output for the internal speakers to come back to life.

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

  • 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

  • Using APT ActiveX methods to create a labview program for BPC 203 3 channel Benchtop Piezo controller

    Hi Everyone,
                      I am really very new to Labview and i am in great need for some help.I am assigned a task where i am supposed to create a labview program to control or moniter a BPC203 3 channel benchtop  Piezo controller. I created a program with the help of the instructions provided in the APT-Labview guide provided by Thorlabs.But th program doesnt run . Whenever i try to run it i get the same error which says that "Control HW Communications disabled".I have attached a snapshot of the error message.So i tried to create a small program in labview which would read the volage output.Even there i got the same error message.I suppose there is some mistake on my part which i am not able to correct due to the lack of proper knowledge.Could anyone please help me to solve this problem.A slight elaboration would be highly appreciated.Also i think the error lies in the use of invoke node with the get Voltage output method. I am not sure whether the parameters i have provided to the invoke node are correct.Any help of any sort would be highly appreciated.
    Attachments:
    Front Panel with error message.PNG ‏202 KB
    Block diagram.PNG ‏101 KB

    Hi
    I had the same problem today. However, I noticed that the piezo controller has 3 channels with separate slots and they are packaged in the same box. Therefore the whole box has a serial number, probably something like 71822280, and this is written with large letter. Now, in order to communicate with any of the channels, this does not help, but one needs to communicate directly with the interested channel and they have thier OWN SERIAL NUMBERS.
    For example channel 1 (my X direction in the nanoMax stage) has serial 91822281, Y has 91822282 and Z has 91822283. So try looking if you have the right serial number Hopefully you found out this yourself but this might help others, I took me3 hours to get this thing working when I started to plug-in the cables and everything.
    Lasse

  • LabVIEW program crashes after running for few hours

    Hello,
    I am doing some experiments at the moment which are supposed to last for 18 hours.
    Basically, I use a LabVIEW program to control a power supply through a LabJack U6 DAQ. I am currently using LabVIEW 8.5 on Windows 7.
    In order to do that, I use a laptop where everything has been disabled such as power management settings, network access is off, windows updates are also off...
    As far as I know, the computer can't turn into sleep mode or just shut down (I'm a 100% sure of that actually).
    But last night, I started an 18 hours experiment at 5 pm, and when I came in this morning, the program shutted down by itself. Fortunately, the power supply is still providing the voltage I want, but I can't figure out why the program crashes.
    When I start the experiment, it also automatically starting saving data in a spreadsheet file (I guess the size of the file should be 36 MB), so it might be a problem of memory access or something.
    I really don't know what could have cause this crash, does someone have an idea?
    I saw some other threads similar to my problem but I am not running an executable, I am running the front panel directly from the editing mode.

    Hi,
    thank all of you for your quick answers!
    @Josborne : I do not have an error handling in my program. Actually you can look at my program in the attachment file. This is my first LabVIEW program so I've never dealt with error in and error out function... Moreover, what is a log file exactly?
    @Johnsold : Yes, I am building an array continously growing over time. Actually, my program stops saving data when you hit the "STOP" button, it doesn't write into a spreadsheet file through a period of time, that is something I eventually need to correct.
    @LabJackSupport : I can try to reduce my time step, so far it's 100 ms. I have a problem with disconnecting the USB cable from the computer though : for no reason, if I just unplug the connection between the LabJack U6 and the computer, my power supply will just go providing 157 Volts! And for my experiment, this is something we don't want to have so we just leave it as it is now. Disabling some part of the program is a good idea, I can try it
    Thank you for your answers
    Attachments:
    Control Software.vi ‏511 KB

  • Error when running the LabVIEW program

    hello...........
    I'm newbie in LabVIEW....I have a problem when i'm running the LabVIEW program...i want to analyse data using the LabVIEW through the real experiment....
    My problem is, there is an Error when i try to start the program...This Error forced me to restart the program several times until it can run.......By the way, i'm using Picoscopes 3206 to connect the LabVIEW program in PC with the real experiment.....
    Here, I'm attached the picture that I snap when the Error occur....
    Attachments:
    error.JPG ‏222 KB

    You have to try to isolate the problem...
    Use 'Diagram disable' or 'Case' structure to run special part of code or try write a specific code to access and manage your equipment.
    Several questions could help: 
    - Are you up to date with your hardware driver?
    - Do you call external ressources (ex: dll)? perhaps with instability
    - Do you properly close connection with your equipment after using? 
    - With your offline mode, do you load all the code, including hardware driver or do you use a special method without no loading the specific code?
    - When you are able to run after many tries, is the program stable? Can you re-start it without exiting LabVIEW?

  • Comment out some sections of Labview programs during debuging

    In other programming such as VC or VB, we can always comment out some sections of our program so that the commented section are not executed during debuging. Is there any way to comment out some sections of Labview program during debugging?

    YanWong wrote:
    You can use a case structure to surround the section of the program you do not want to execute and then wire a false constant into the input so the case will never execute.
    Also remember that doing this will only work if the code you "commenting" out must be executable. A broken run arrow will still be there after you put it in the Case Structure. If you are trying to comment out some broken code, you're out of luck, at least now.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How to set correct audio output while using external screen for presentation purposes over a wire

    while trying to make a presentation or simply playing a video from my MacBookAir over thunderbolt/HDMI table to large screen I am experiencing problems with audio only being played from the MBA and not the soundsystem built in to that screen (unless using a VLS application and manually selecting the audio output target).
    Please help in finding how to steer audio output device  using 2in1 cable such as thunderbolt?

    Hi jar9,
    If you are not hearing audio over your HDMI/Thunderbolt connection, you may want to see if it is showing up as a selectable audio output as outlined in the following article:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    Regards,
    - Brenden

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

  • Keithley 2636 measures current and 2400 offers a 3 volt pulse synchronized in a labview program

    Hello,
    I am not very familiar with labview and I neet a program to realize keithley 2636 measuring current and 2400 offering a 3 volt pulse synchronized.
    It means that when 2636 measure one times, 2400 give a pulse. When 2636 measure 100 times, 2400 offers 100 pulses synchronized.
    The Channel A of 2636 is used for measuring and Channel B is used for another works.
    The attatchment is the labview program I created and it can not be run synchronized.
    Thanks for your help!
    email:[email protected]
    Attachments:
    repeat04.vi ‏38 KB

    Hi Lin,
    I did not talk about a GPIB (or similar) cable to connect both devices with a PC, I did talk about the special cable for synchronizing both devices with each other called TriggerLink!
    Please read the user manual of your K2400, (chapter 11 on triggers, or figure 1-2 for a view of the rear panel). It describes the TriggerLink capabilities of Keithley devices!
    RTFM!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • 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

Maybe you are looking for

  • Oracle 8.1.5, ORA-03113: end-of-file on communicat

    My Environment: ==================== Unix Solaris 7 jre 1.1.6; using native threads (sparc) Oracle 8i 8.1.5 Netscape Enterprise Server 3.6 Servlet Exec 2.0.2 plugin for NE Server LD_LIBRARY_PATH is set to include oracle libraries. CLASSPATH is set to

  • HP 6110 All-in-One Printing from Vista question

    I have recently started using Vista with my printer at home. Whenever I try to print certain webstites that are running programs on ( like one of my work websites) it will print out the HTML code and not what is on the screen. For instance I am looki

  • Help with the enlarged display after install an old PC program!!

    I've installed "hooks on phonics" program on my think pad T7700.  The program is 4-5 years old. The program functions on the thinkpad computer but the rest of the display on the computer is all enlarged.  I've deinstalled the program but still con't

  • Air File is Damaged and is not Installing

    Hello, When I try to install an Air Aplication in my computar I got the following error: Sorry, an error has occurred. This aplication could not be installed because the installer file is damaged. Try obteining a new installer file from the applicati

  • How to backup iPhoto to Flickr

    Hi. Im a constant user of iPhoto to manage and centralize my photo library but Im always concern about loosing my library. I constantly backup the library to an external disk drive but as a second backup I want to have a cloud back. I tried Dropbox b