KEITHLEY 238 / NI GPIB-USB-HS-change delay time

Hello

I have a keithley 238 meters the current measures such as voltage is swept. It's the GPIB device and connected to my PC via NI GPIB-USB-HS

adapter. I would like to control with Labview 8.6. I used the VI available at your instrument driver network who directed me to the website keithley and is attached below. Keithley said that the VI is unsupported freeware. The VI is located at

http://www.Keithley.com/products/CurrentVoltage/?path=238/downloads#1

The first "sample program" on this site Web is the VI that I use.

Now the VI works well.  The VI sweeps the tension and shows the current measured as a table and a chart.

I want to just change the scanning time, but I can't increase it beyond 1000 ms. Why is it so?

Scan delay is the time that he made a break after each increment of voltage.

I don't know if there's a change in the VI or NI GPIB-USB-HS adapter settings are a problem. I checked the settings of this device under MAX - time settings are the following

(1) time I / O-> by default set to 13 (10 sec)

(2) antipolling - verified

(3) then there are a few termination settings and advanced settings, there is a setting, bus game calendar to-2 (500nsec)

So are bad parameters GPIB or code needs to be changed? How and where to change the code?

The reason why the VI will not attribute to a value greater than 1000 is simple to understand. Just right click and select data entry and you will see that the maximum value is set to 1000. It is set so that I don't know. Have you looked in the manual to see if 1 s is a limitation of the instrument?

Tags: NI Software

Similar Questions

  • Synchronization and optimization of keithley-Labview with GPIB-USB

    I started an old thread on this subject, but I have some new problems. My vi is to control a Keithley sourceMeter to read measurements every 5 ms for 6 to 10 hours, using GPIB-USB. The vi simply sends the commands under a full script to the instrument and then bed measures (voltage and current) in a loop using the visa and saves the data and displays them in a second loop using a queue. I decided to use a queue and a second loop due to the delay caused by reading data, save them in a file + display, all in a single loop! I want to be able to see all the data with real time axis, so I used a xy chart.

    Having a shorter time in the upper loop isn't a bad idea.  Using the wait until the next ms multiple rather than just the Dequeue wait time can cause the occasional time jumps.

    I have no LV open now, so I'll try to remember your VI.  I think you picked up 3 data values and a timestamp of each 5 ms.  It is 800 items every second. If you want to save all the data but only write to the file every 5 seconds, you will have to accumulate 4000 items. Because file entries are not always made exactly when you ask them because of the behaviour of the OS, you must allocate a bit more wide open spaces.  You can initialize an array 2D as 1200 X 4 (1200 lines of 4 columns) of NaN. Place this table into a shift register.  Every time you Dequeue data, replace the next line with the data.  When you write to produce, use the subset of the array to get the part that was replaced with real data and write the part in the file.  Return the initialized array of NaN in the registry to offset and continue to replace the data.

    Lynn

  • Problem Keithley 236 control using a GPIB/USB cable

    Hello, I would like to use my PC to control Keithley 236 SMU to make some simple steps I - V (sweeping voltage and measuring the current). If you can give me some advice about my problems, I will be very grateful.

    Situation: I have a PC (windows XP) with labview 7 and 8.2 and 8.5 installed and a GPIB cable / USB a Keithley 236 SMU. I want to make very simple I - V measurements (voltage scanning and measure current). The GPIB-USB cable has already been installed on the PC to control some other Multimeters (voltmeters). Now, all these multimeters are deleted. The PC is connected ONLY to the 236 Keithley. The GPIB-USB cable status in green color.

    I downloaded a labview program adapted for Keithley 236/237/238 of Keithley Web site (home, 237 SwpMeasl - repeat.llb). But no matter how I tried, it cannot communicate with the Keithley...

    Do you know why? Any suggestion is welcome. I am a beginner in labview. Thanks a lot for letting me know.

    No, you cannot use the NI GPIB functions with a card of Agilent. You change using VISA.

  • OR GPIB-USB-HS + NI GPIB-USB-HS vs

    I have a visual basic program 6 which measure IR using a meter of high resistance of agilent 4339 B.

    The existing work PC running Windows XP and use the NI GPIB-USB-HS and works very well.

    The original code uses the 32-bit Visual Basic Language Interface Version 1.7 of National Instruments with the DLL of NOR-488.

    When I try to use the NI GPIB-USB-HS + controller it does not work. I installed the new driver for the NI GPIB-USB-HS +.

    I uninstalled the driver and returned to the NI GPIB-USB-HS controller and re-installed the driver appropriate for her and the program works.

    I tried to implement the same program on another PC and could never get the program to communicate with the tester using the

    OR GPIB-USB-HS + controller.  That is when I decided to check the controller has worked on the original PC and discovered that it is not.

    I also had the same problem with communications with the bridges of cap and had to re - write programs using NI-VISA that the

    OR GPIB-USB-HS + works fine when with.

    I would have thought the NI GPIB-USB-HS and the NI GPIB-USB-HS + both work on the same application without any

    code changes just and necessary update the driver.

    I thank in advance for any help, you can provide on this subject.

    Thanks - I made some progress on that yesterday.

    It turns out that the initial program had the primary address of the hard coded device.

    I added logic to get the main address of the device and I have replaced the hardcoded with a variable value.

  • GPIB-USB-HS and USB-8451 communication issues - appearing only in VISA

    Hello

    I recently started a new job and have had communication problems between my adapter GPIB-USB-HS, my VISA or MAX-Labview and USB-8451 I2C/SPI interface.  I installed LabView to 32 bits, OR-488. 2, the driver for the 8451 on my windows desktop and VISA 16.0 7.

    In the windows Device Manager, the 8451 appears as a device USB of NI-VISA and Gbspecifications FOR-USB-HS presents itself as a GPIB Interface of NOR.  Two of these instruments are recognized NI Max so but communication Gbspecifications FOR add-in adapter (and connected instruments) fails and he can't find the instruments and the self-test fails with a hardware error unknown gpib (-37052).  The watch also neither device VISA Interactive Control.

    The ready light is lit on the GPIB-USB adapter and the 8451 flashes green as if nothing is wrong at the end.  I uninstalled all the software of NOR and reinstalled, and I run MAX as an administrator.  Is there possibly some computer settings I could neglect or need to change to open a communication?  Any other ideas on why I can't communicate with devices?

    Thank you!

    Trey

    This is a device-Lock software that my it was preinstalled on the computer blocks the USB port.  SHE has added features like confidence, and now it works.

  • Place HP 34401 in Local with GPIB-USB-HS Mode

    Hello

    I'm using LabVIEW 2010 SP1 to control the 34401 HP with the NI GPIB-USB-HS device. I use I/O built-in 34401 instrument drivers.

    If I plugged in everything, the 34401 will be immediately placed in "Remote" mode when I run my software. However, I would like to be able to use LabVIEW to force the 34401 to 'Local' mode Unfortunately I could not find a way to do this. I tried Close.vi, but has no effect.

    Here are my planned operation if it makes things clearer:

    1. Launch the software

    2. Initialize the 34401

    3. Place the 34401 in the 4W resistance measurement mode

    4. Pass the 34401 in "local" mode so that the end user can adjust a knob until the desired resistance is obtained while seeing the value of the resistance to change on the 34401

    5. Re-initialize the 34401 when I need to switch to another measure

    If not, is there a way to get the 34401 to permanently display how it is taken in remote mode?

    Best regards

    Ian Williams
    Linear Applications Engineer
    Product precision linear, and remote sensing

    The feature I mentioned does exactly the same thing except that you have to do this awkward analysis of the address. It's a VISA function you have just used the search button to find (and have lit context-sensitive help) to obtain explanations of what he does.

  • USB-6289 DAQmx delay early in the program

    Hello! Anyone help me with this problem.
    I have a new data acquisition is USB-6289.
    I'm only looking for I multiply by a decimal factor, after putting this result on AUG.
    for example
    AO0 ai0 * x =
    I want to do in continuous mode and in real time, with minimum delay. When I start the program, I have a time delay which varies.
    How can I measure this delay time?
    Anyone have an example of program to do (a simple multiplication in real time) and check where I have my mistakes.

    Thank you very much.
    Jonathan

    I put my program and a few cards of my oscilloscope (ai0-signal ao0 drop signal)

    Hi Jonathan.

    The code that you downloaded was not in parallel. Flat sequence structure forces the process to the AO HAVE to wait for the update panel. You can use the "Acquisition and recording of data" model to Create... Project for a reference on how to separate the update of the user interface of the real transformation.

    However, you must keep in mind that it is not possible to "simply to acquire a signal, multiply it and transmit" with DAQ hardware. This is because you must proceed as follows to get a signal and send it through the AO:

    1 acquire the signal in the DAQ card.

    2 send the signal to the computer via USB.

    3. ask the OS and LabVIEW process the signal to multiply.

    4. send the signal via USB in data acquisition.

    5. the output signal.

    This means that, while you can probably reduce the delay, you will always have this delay in the order of milliseconds. If you really need a shorter delay, you have a few options:

    (1) I noticed that the signal you're reading seems to be periodic. If it is a periodic signal, you can enable the regeneration in the AO and drastically reduce the delay, like the acquisition of data will just get the waveform periodical and cycle it. However, if the waveform changes, you will have some glitching.

    (2) use a multiplier circuit separated instead of data acquisition.

    (3) use a FPGA or RIO device instead of data acquisition.

    I hope this helps.

  • Is compatible card GPIB-GPIB-USB-B? If so, what card and driver?

    I have my written codes while I was using GPIB-USB-B to connect with HP-4145 of my PC win - XP.

    Now, I want to use a GPIB card instead of the USB version.

    1 - can use a GPIB card without changing my codes?

    2 - If Yes, then what GPIB card (and driver) should use?

    Thank you

    Yes, you can use another card without changing your code. As long as you used the VISA, you can use any desired GPIB controller. If you stay with the GPIB controllers of OR, you can use the same driver, you have now.

  • Connectivity of VISA GPIB/USB Agilent 82357 B

    Hello

    I'm under LabVIEW 8.5 on a 8106 PXI controller.  I connect to an Agilent E3632A DC Power Supply via an Agilent 82357 B GPIB/USB cable.  I installed the Agilent IO 15.5 Library Suite and have NI-VISA 4.4.1 installed as well.  All my gear of PXI chassis and NEITHER appear in MAX.

    LabVIEW is currently not able to see my 3632 on the bus A VISA, but the Agilent connection Expert he sees very well.  I am at a loss as to why NI-VISA do not.  Help, please!

    Thank you

    Sean

    Thanks for the replies, but I found it finally.  The Agilent IO 15.5 Suite library helps:

    ----------------------------------------------------

    Activation of the NI-VISA for Tulip Passport

    For software OR recognize the Agilent material, you must activate the Passport NOR VISA for Tulip. It is a software module that is included with NI-VISA for support of Agilent material and is not enabled by default. Use the NI Measurement and Automation Explorer (MAX NOR) to activate the passport for Tulip.

    In versions 3.0 and later of NEITHER MAX, you can do:

    Beginning NOR MAX
    Click Tools > NI-VISA > VISA Options...
    In the tree, select passports.
    Select the passport for the Tulip checkbox.
    Click Save to save the settings
    Output OR MAX, wait a few seconds and restart NI MAX (you must restart NI MAX for your changes to take effect).

    For details specific to your version of MAX to OR see documentation of NOR.

    ----------------------------------------------------

    It worked like a charm.

    Thank you

    Sean

  • Agilent E3640A PSU with GPIB-USB-HS

    Hello all, I created an Agilent E3640A power control software standard interface GPIB. It works very well. Now, I want to replace the standard GPIB interface (with GPIB card) with GPIB-USB-HS adapter cable, so that I can send commands via USB connection, eliminating the need for GPIB card. How can I use my existing application to work with GPIB-USB-HS adapter cable? Is this a change? or I completely rewrite the code, and if so, are the drivers available for GPIB-USB-HS adapter cable? Thanks Jeet

    More information please.

    Have you removed the PCI interface before you try the USB interface? If this is not the case, your program may still try to access the E3640A on the PCI card.

    What is the USB HS recognized in Explorer measurement and automation as GPIB0?

    The E3640A knows if scan you for Instruments to MAX?

    What (number) error is raised during the execution of your program with USB HS?

    It would also help if you could show us NI SPY logs saved when executing your program with PCI and USB-Interface Card

    Usually you don't need to install different drivers, because the package NOR-488. 2 installs drivers for all variants of the NI GPIB hardware.

  • I need to query the name of Board/controller/interface 488.2 (GPIB-USB mainly)

    Having an application that communicates with HP8510 & HP8720 NWA. Can I ask what kind of test set is connected, but how I ask not what model of GPIB-USB is connected? A model interface using 'A' requires some State read to complete, but the "HS" crashes (for what seems like the expiration time). If I comment out the code to read state, "HS" works very well. Sort programs NOR that come with 488.2 software can get all kinds of info on the controller. Please tell me the web/manual/whatever page that shows how to do this.

    Thank you

    Hello

    The properties of all of the GPIB cards that you have connected to your computer are found in a GPIB.ini file.  The location of this file may be different, based on the version of NOR-488. 2 you have.  "" "" I have version 2.52 and on my system, it is located in C:"Documents and Settings" all users "Application Data" National Instruments "NOR-488. 2' gpib.ini.  It is imporant to note that this file should not be changed under any circumstances, because it could cause a lot of problems able & Automation Explorer (MAX).  Once you open this file, you can see under "BoardName" what Board GPIB is attributed to GPIB0, GPIB1 and so on.  You can analyze programmatically then this file (in read-only mode) to see what card is connected to your instrument.  Have a great day!

    Kind regards

    Todd v.

  • Connection of an instrument with GPIB-USB connection.

    I am trying to use a GPIB-USB adapter to control a unit of Source of LabView. However, I have problems my instrument drivers to recognize the GPIB address specified for the device. I have attached an image below the address specified by IO Keysight connection Expert. I am currently trying to initialized the EMS with the GPIB driver I have attached below. Because of my knowledge limited in LabView instrument control, how should I approach of collecting the correct address of GPIB and recognize it in my VI?

    Hi wyattcurtis824,

    Before we dig into the LabVIEW code, I would recommend a Test Panel of max aperture and trying to communicate with. Are you able to send orders via Keysight connection Expert or NI MAX and see the valid data?

    In addition, when you run the vi in LabVIEW, is pilot it returns an error in the error on the box? If so, what the error is?

    This shoule information help us to the root of the problem.

    Best,

  • GPIB-USB-HS shows no MAX after that I used the wizard NI VISA DRIVER

    I accessed GPIB USB HS in the MAX software. As I was not able to communicate NF RLC remotely, so I tried Wizard DRIVER VISA OR according to tutorial Assistant pilot NI VISA , however, thnings went wrong and I am not able to see same GPIB to the MAX software now. What should I do now?

    The first picture below shows the GPIB USB HS as shown in the software MAX and the other image shows no GPIB USB HS.

    Yet once I installed driver USB GPIB link below:

    http://www.NI.com/download/NI-488.2-15.0/5427/en/

    Its working fine now.

    Thank you.

  • GPIB-USB-HS will recognize any instrument in LabVIEW but somewhat done in MAX - help

    Hello

    I'm having a problem getting my GPIB-USB-HS device to recognize instruments in LabVIEW.  The unit has been running year last on many instruments.  I tried the GPIB-USB-HS other materials too just to make sure it wasn't a defective unit.

    NOTE: I installed the latest drivers for NI-VISA 5.1.1 and 300 of NOR-488. 2 for Windows XP

    See the images below:

    It's the idsplay to the MAX:
    I'm not sure why there is a yellow "!" next to GPIB0::INTFC, I think it's an indication of my question.  However, note that the instruments connected to my GPIB-USB-HS are counted in MAX.  As you'll see LabVIEW 8.5 does not recognize them.

    I get this error Max warning when I try to open TOOLS > NI-VISA > VISA INTERACTIVE CONTROL:

    It comes to the image of my LabVIEW 8.5 window when I try to select a VISA of an instrument (including MAX recognizes):

    Any help would be much appreciated

    Thank you

    -Brian

    Thank you all for your help,

    Problem solved after hours of uninstallation and reinstallation of all devices/software from National Instruments.

    Once all programs have been uninstalled (with a disk cleanup on my unnecessary hard-maybe records)

    LabVIEW 8.5.1 has been reinstalled

    NOR-DAQ has been reinstalled

    NI-Visa 5.1.1 has been reinstalled

    NOR-488. 2 worm 2.7.3 has been re-installed (correctly)

    Now, LabVIEW recognizes all ports/devices and connects to the instruments properly once more.

    My question must have been installing LabVIEW 8.5.1 after already installing LabVIEW 2009.

    Somewhere during the installation of 8.5.1 - main post problem occurred.

    Thanks again

  • GPIB-USB-HS works selectively

     

    Situation

    -an old HP3962A works very well using a PCI-GPIB connector on a PC. Code of Labiew.

    -a digital Voltmeter K2000 works well using a hub of GPIB-USB-HS, on a laptop. Laview code.

    Problem:

    NIMAX does not recognize the HP3962 when you use the GPIB-USB-HS hub, on the laptop, although it recognizes seveal other instrument, such as the K2000 dvm.

    Thanks for the suggestions, Philippe

    After having removed the long 1.5 m GPIB cable and linking the GPIB-USB-HS unit directly to the old HP3562A unit, NIMAX recognizes this instrument (low level).

    Direct com on NIMAX does not, but the LabView code (old) written to read the data works.

    The bus speed was maybe the question.

    Resolved for now, thanks to you all.

Maybe you are looking for