Porblem in GPIB

Hi, every one, I try to use the following program(see attachment) to measure a resistance using scanner card of Keithley multimeter. It show the following error: " Labview.exe have generated errors and will be closed by Windows, you need to restart the program"
I try to restart the program, it doesn't work. It has pass the configuration test in the MAX . Everything seem oK, Anyone can help!
thanks
zhou
Attachments:
execisetempe1.vi ‏73 KB

A very difficult VI to help you with. The diagram is password protected. Can you post a non-password version or send the password?
That error is usually created by a problem between LabVIEW and the operating system. Restart your computer. It is possible that the drivers are attempting to talk to memory that it should not have access to (possibly some program locked some memory and did not release it again - unfortunately too common).
If resetting does not work, then it's time to dig some more.
Rob

Similar Messages

  • Preciso de um conversor de 4 a 20mA para GPIB. Voces fornecem

    Gostaria de saber se vocês fornecem uma solução para medição de sinal de corrente padrão de instrumentação de campo (4 a 20mA) para protocolo IEEE 488 (GPIB). Um cartão de conversão ou algo deste tipo?

    Acho que acidentalmente você colocou a sua pergunta no grupo de TestStand, que é um Software utilizado para automação de testes.
    Basicamente a linha de produtos da National inclui entre outros produtos, instrumentos/placas para serem acoplados ao seu micro, chassis PXI ou fieldpoint bus.
    Para leitura de correntes e tensões, a National Instruments oferece o Digital MultiMeter NI-4060 que é uma placa padrão PCI que quando acoplada ao seu micro pode efetuar leituras de corrente, tensão e resistência.
    Na área de GPIB a National Instruments oferece placas GPIB e conversores de bus tipo GPIB-USB, GPIB-Ethernet, etc.
    O catalogo online pode ser acessado a patir da página www.ni.com
    Além disso, existe um grupo de discussão específico para instrume
    ntos GPIB em exchange.ni.com. Em geral as perguntas são feitas em inglês, para que um maior número de usuários tenha acesso as perguntas e respostas.
    Roberto Piacentini
    Applications Engineer
    National Instruments
    www.ni.com/support

  • GPIB Ethernet/1​00 Performanc​e

    Does anyone have some real world peformance measurements on the transfer speeds of the NI GPIB-Ethernet/100 box. I am very disappointed in the performance of a block read which is approximately 6ms/byte transfer (tested from 20 bytes to 32kbytes block transfers). This is on a 100 Mb Ethernet. I can ping the box with 64 byte round trip transfers at ~0.7ms/packet.
    I almost feel that the GPIB-Ethernet Box is not buffering my GPIB transfers.
    Thanks

    Actually ignore my question. My transfer speeds are ~6 microseconds/byte (not milliseconds!). This is still a little slower than I would like, but not totally unreasonable! Note the vertical axis in the included plot (pdf) is in ms, so the linear coefficient in the fit equation is 13 microseconds/(16 bit word).
    Attachments:
    GPIB_ENET_Plot.pdf ‏25 KB

  • How can i get the count vaule from GPIB?

    I want to get the count waule from GPIB ,but I find that the vaule I get from GPIB now is the trace vaule ,
    so I ask How can i get it.

    The count of what? What kind of instrument are you using?

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

  • Data-acquisition with NI 6036E DAQ card & GPIB using an external trigger

    Hi all,
    I hope somebody could give me some help with the following and answer some questions:
    Simple system description:
    Labview 6.1
    PCI-GPIB card
    6036E DAQ card
    In my system, I am using an external analog trigger signal (A) for continuous data-acquisition. Characteristics of the analog trigger signal (A) are: ~40 Hz, signal height +1.48V, triggered by rising edge (the analog trigger signal (A) could be changed to a TTL signal). Each data-acquisition is done within ~1.0 ms after the rising edge of the trigger pulse. The timing of the data-acquisition and analyzing procedure is controlled by execution in a sequence structure placed in a loop.
    Now, I connected a power meter to the system, to measure the laser power during the data-acquisition. The power meter has two options to provide the laser power data:
    a) via analog signal output (voltage corresponds to laser power in watts)
    b) via GPIB (direct output reading of laser power in watts).
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    b) If I use the GPIB connection of the power meter. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    An other possibility would be to trigger the power meter directly, so it outputs constantly power meter values at ~40 Hz. How could I than acquire 1 power meter value (at a certain time im my sequence structure) via analog input at DAQ card or GPIB?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    It would be very nice if somebody could give me some help.
    Kind regards,
    beam

    Hi beam,
    I just want to verify that I understand your situation correctly:
    An external trigger signal (A) is wired to one of your input channels (e.g. CH0) to trigger data acquisition of a second channel (e.g. CH1). Your power meter is connected to an analog input channel, which you would like to trigger with a certain rising edge at some of your sequence structure.
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    If a task has been configured to acquire signal from one analog channel, it's not possible to run a second analog input task or to add a second channel on the fly. You had mentioned that it's possible to read from the instrument through GPIB. Is it possible to perform a software trigger such that at a certain frame of your structure, when the trigger signal A reaches voltage "x", a GPIB command is written to your power meter to query a measurement reading?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    You do not need to explicitly configure the PFI0 line as an input. If you want to use it as an input such that it acts as an analog trigger, simply wire the trigger signal to this pin. When configuring the trigger in your software, specify PFI0 as the trigger source.
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    You can try using the Limit VI to find out when the trigger signal reaches a certain level, and count how many times this level is reached. Similarly, you can use this as the condition to execute GPIB commands.
    Hope this helps,
    Lesley

  • Error when running software on computers w/o GPIB interface card

    I'm writing some simple GPIB I/O software using the VISA libraries and I'm getting an error when I run the program on a computer that doesn't have a GPIB card. The error is "The application failed to initialize properly (0xc0000142). Click on OK..." The program runs and works fine on the machine that is hooked up to GPIB devices, but I would like to be able to use my laptop for development. I've installed version 2.3 of NI-488.2, so all the required dll libraries are there.
    Thanks in advance,
    Jeff

    Unless you're using all IVI drivers, there is no built in simulation mode. As long as you make calls to VISA that expect a GPIB board, you'll get errors. Even if you had a gpib board, if you write your code correctly, you would also get errors when the board doesn't find an instrument to write to or read from. The only solution is for you to write your own simulation code. Encapsultate your write/read functions with case statements that skip the driver calls and return simulated data.

  • Error 7 occurred at Open File+.vi:Open File,NI-488: Nonexistent GPIB interface

    I did some clean-up of my computer and have been having issues ever since.
    I'm not the one that did the programming; the person who did is long gone.
    The VI loads fine but when I hit run I get:
    Error 7 occurred at Open File+.vipen File
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488:  Nonexistent GPIB interface.
    All the necessary VIs are available and I've tried changing all the file calls in the VIs to the new locations but the error is the same.
    Any suggestions?
    Thanks.

    Error 7 is a generic file not found.  If it is happening after cleaning up files, more than likely you moved some subVIs called in a main VI to a new location on your computer.  If all the VIs are in a project, a possible solution would be to remove the vis in the project directory and add them back to the project as they may be pointing to a previous location where the files were once stored.  Perhaps this is what Anon123123123 meant by "linking".  Hope this helps.
    Regards,
    Isaac S.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • How to resolve the error -1073807339 when using Agilent LAN/GPIB Gateway (E5810A)?

    Dear Sir/Madam,
    Appreciate that you could advise me on the following error occur when connect power meter E4419B to computer via E5810A LAN/GPIB Gateway(remote interface) & run with Labview: 
    -1073807339
    VISA Write in E4419_read_power.vi
    I have added 5s timeout to Labview program but the result as previous.
    There no error occurs when the power meter to computer via USB/GPIB interface(82357B).
    Is it related to E5810A driver or the program I wrote?
    How to resolve it?
    Attachments:
    E4419_read_power.vi ‏16 KB

    Hi.
    I'm experiencing the same problem when connecting a laser controller (New Focus Vortex TLB-6000) via the Agilent E5810A to a PC.  
    There are no problems when connected through a regular serial port, but timeouts arise every few seconds through the E5810A.  I have another controller (SRS LDC501) which works very well with a second Agilent console.
    Have you managed to find a solution to this problem?
    Thanks,
    Orel.

  • How do I use multiple GPIB cards in one computer?

    I have two GPIB cards installed in my computer. One has aprimary address 0 and the other is 1. The card with adress 0 works fine but when I try to communicate with some instrument via the second card, the instructions are not carried out. However MAX ha detected the presence of instruments on both the cards, but it is only that when the second card(address 1) is used the intructions are not carried to the instrument. Please advise on how to select the card while sending an instruction? Or is it that I can use only one card at a time??

    When you say that your commands aren't carried out, could you describe what commands you are sending, and what error is being returned?
    When you say that you cannot communicate with the second instrument, are you using the 488.2 Communicator in MAX?
    Did you make sure that all the settings for the second GPIB board in the properties page are correct?

  • How do I create Labview VISA ports for *individual* GPIB instruments using Prologix USB GPIB controller?

    Hello,
    I'm trying to use a Prologix USB GPIB controller to control GPIB
    instruments, and I would like to have a virtual serial (VISA) port for
    *each instrument*, as is the case with a normal GPIB controller with a
    standard NI driver. However this is not what the Prologix driver
    provides -- it provides a single VISA virtual serial port for the
    entire controller. To address the instrument with GPIB address 11,
    you first send "++addr 11" to the serial port, and then you're talking
    to instrument 11. However, this means I have to change all old
    Labview programs.
    Is it possible to create a "wrapper" function of some kind that will
    define a virtual serial (VISA) port for each *instrument* on the
    controller? For example, to talk to GPIB instrument 11, call it
    ASRL3::11::INSTR, each time it is written to it would have to write to
    the virtual serial port of the controller, say ASRL3::INSTR, first "+
    +addr 11" and then the command that is sent to it.
    A clearer explanation of the difference (i.e. incompatibility), and of
    my objective:
    1) A normal GPIB controller with NI driver: I go to the NI
    Measurement & Instrumentation Panel, under GPIB, and Scan for
    Instruments; all the live instruments show up; subsequently when I
    want to use Labview programs that use VISA ports, the VISA drop boxes
    allow me to choose a different port for each instrument, e.g.
    "GPIB0::11::INSTR", "GPIB0::12::INSTR" would be instruments at
    addresses GPIB 11 and GPIB 12.
    2) The Prologix GPIB controller that plugs into a USB port: In
    Labview you get a *single* VISA virtual serial port, ASRL3::INSTR, for
    the entire GPIB0 controller. Therefore to address GPIB instrument 11,
    you write "++addr 11" to the virtual serial port ASRL3::INSTR, and
    then you are communicating with device 11, so you can write and read
    ASRL3::INSTR to talk to that device. Then to talk to device GPIB 12,
    you write "++addr 12" to the same VISA port, and then you are talking
    to that device. The problem is that this requires recoding all
    Labview code, whereas I would like to be able to use the same program
    either with a normal or with a Prologix GPIB controller. Therefore, I
    would like to create code that scans the controller for all GPIB
    attached devices and creates VISA ports for all. Such ports, when
    written to, would have to first write "++addr DEVICENUM" to
    ASRL3::INSTR (i.e. the port of the GPIB-USB controller) where
    DEVICENUM is the GPIB address of the instrument corresponding to that
    port, and then would have to do a write or read or whatever function
    is being done on that instrument VISA port.
    I haven't figured out if it is possible to do this easily. Help and
    pointers on where to look for hints would be much appreciated. Many
    thanks!
    Milos

    My first impression is that if you don't want to make any changes at all to existing programs is that the wrapper you need is one around VISA. You would need to intercept all of the calls into the NI VISA driver. If you create your own visa32.dll and in there, change the addressing and then call the real VISA driver, you might (repeat, might) get something to work. If this would even work, you still might find that you have to make significant changes anyway. The serial connection is going to be considerably slower, and interface specific functions such as service request handling, bus triggering of multiple instruments, etc., would be difficult to impossible. This would be a lot of work, imho, to just save a couple of hundred dollars over a real GPIB controller. I've seen this Prologix device before and have even used NI's RS-232->GPIB controller. The Prologix intended use to me seems to me more for a hobbyist or very casual user. Of course, I'm used to having multiple GPIB instruments worth 10s/100s of thousands of dollars and the cost of an fully compliant GPIB controller is just lost in the noise.

  • Can I use a USB hub to connect to multiple USB ports from one GPIB-USB-HS?

    I have one instrument which has a GPIB-USB-HS connected and the USB cable is connected to a USB hub. Can I have multiple PCs to connect using USB hub at their respective USB ports? If so, how many PCs can I connect using the USB cable?
    I have downloaded the latest NI-VISA from the website.
    Solved!
    Go to Solution.

    You would first need a hub that allows you to switch between multiple pc's and then only one pc at a time would be connected and in control.
    When you buy this special type of hub, one of the specs is how many pc connections it has.

  • Whats the difference between VISA and GPIB?

    The reason i am asking this question stems from a problem i am having.
    I am using an MXA N9020A to aquire Burst Power measurements and i'm using labview to automate and issue the commands.  If i connect to the device using VISA (which is how i pretty much have connected to other devices) and i issue a command :INIT:TXP it will start the burst power and then freeze the measurement disallowing me from changing channels to measure other channels' burst power.  If i use the GPIB VI instead it will not do this and I am capable of channel hopping to measure other channel powers.  I really dont have a reason to use VISA other than to keep it uniform with everything else in the application but why is this?

    Hi Brent,
    Thank you for your quick response.  This should not be happening, as the VISA VIs merely make calls to the NI-488.2 DLLs.  Which version of NI-VISA and NI-488.2 are you using?  Could you also attach both of your VIs (the 488.2 one that works and the NI-VISA one that doesn't)?  Also please perform one NI-Spy capture for each VI, and attach the two resulting screen shots.  If you need assistance performing the NI-Spy capture, you can find more details here.
    Regards,
    Todd V. 
    National Instruments
    Applications Engineer
    NI Prototyping Community

  • How can I convert output data (string?) from GPIB-read to an 1D array?

    Hello all,
    I am reading a displayed waveform from my Tektronix Oscilloscope (TDS3032) via the GPIB Read VI. The format of the waveform data is: positive integer data-point representation with the most significant byte transferred first (2 bytes per data point).
    The output data of GPIB-Read looks like a string(?) where the integer numbers and a sign like the euro-currency sign are seperated by spaces e.g. #5200004C3 4 4 4 4 3C3C3........ (C represents the euro-currency sign).
    How can I convert this waveform data into a 1D/2D array of real double floatingpoint numbers (DBL) so I can handle the waveform data for data-analysis?
    It would be very nice if someone know the solution for this.
    t
    hanks

    Hi,
    First of all, I'm assuming you are using LabVIEW.
    The first you need to do is parse the string returned by the instrument. In this case you need to search for the known symbols in the string (like the euro sign) and chop the string to get the numeric strings. Here are some examples on parsing from www.ni.com:
    Keyword Search: parsing
    Once you parse the numeric strings you can use the "String/number conversion VIs" in the String pallette.
    Hope this helps.
    DiegoF.Message Edited by Molly K on 02-18-2005 11:01 PM

  • GPIB Communication between multiple devices

    Hello, 
    I am trying to build an application in C# which will be able to send commands to more than one device on the GPIB BUS.
    For example I have 3 devices connected to the computer with addresses as:"GPIB0::18::INSTR","GPIB0::19::INSTR","GPIB0::28::INSTR"
    Now, I know how to communicate with a single device. 
    But is there a way I can send commands to multiple devices. So far I have the following. 
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using Ivi.Visa.Interop;
    namespace Step_Attenuator
    public partial class Form1 : Form
    ResourceManager rMgr = new ResourceManager();
    Ivi.Visa.Interop.FormattedIO488 ioobj = new FormattedIO488();
    object resources = null;
    string address1 = "GPIB0::18::INSTR";
    string address2 = "GPIB0::19::INSTR";
    string address3 = "GPIB0::28::INSTR";
    public Form1()
    InitializeComponent();
    private void PsaComm()
    private void Form1_Load(object sender, EventArgs e)
    private void button1_Click(object sender, EventArgs e)
    ioobj.IO = (IMessage)rMgr.Open(address1);
    ioobj.WriteString("*RST");
    But now If I want to send a RST command to say device on address2, do I have to again open the session and send it?
    There are going to be a lot of commands to these devices. I am sure there is a much simpler way to do it. 
    Please pardon me if this seems to be a silly question. 
    Thank You. 

    Hi nmedelec,
    I made a research about “Ivi.Visa.Interop.FormattedIO488” and it seems that it is related with Ivi.Visa.Interop which is a third party product. If you have any issue about a third party, I would recommend you go to the office site for help.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

Maybe you are looking for

  • Customer cancels purchase order

    Hi alltogether, I have to give a recommendation for the following case: - user created a customer order with one item and item cat. TAB! - user created a po with ME57/ME21N and ordered the parts - user received the parts (with or w/o MIGO, doesn't ma

  • Safari 6.0.5 keeps crashing!!!

    I have Safari 6.0.5 (OS X 10.8.4) and it constantly crashes everytime I open it up.  It stays open for less than 3 seconds .  Does anyone have any tips?  I've some of the things such as removing plugins that may not be compatible, but still no luck. 

  • Why am I prompted to download the .asp file whenever I attempt to view an asp page in a browser?

    I am doing tutorials on dynamic pages in Dreamweaver 8. I am doing both php and asp. When I preview an asp page, for instance, it displays properly - from 'Localhost.' When I enter the url of the page in a browser, however, the 'Do you want to open o

  • Media error with old project

    Hi All, I'm opening an old FCP5.x project on my FCP6.0.6 system. There are 5 media files in this project. I have all of the original files, but they are now on a different HD. When opening the project FCP asks me if I want to update from an older ver

  • TreeTable control: where is hasExpander property?

    Hi all, I'm using TreeTable control to show dynamically loaded data. When the first level elements are loaded, I am not loading the whole tree, just the root. The children levels will be loaded when the toggleOpenState event is triggered. I have foun