VISA error 1073807339

I am new to LabVIEW. I am acquiring my temperature data from 20 T type thermocouples using Agilent 34970A. I get an error that timeout occured before the operation terminated.
Please debug the attached vi.
"Winning isn't everything, Its the only thing"
Attachments:
DAQ34970Atigmanshu.vi ‏20 KB

Here are the screenshots in the form of ppt. Please go through and advice ASAP. Thanks in advance
"Winning isn't everything, Its the only thing"
Attachments:
Codescreenshots.ppt ‏308 KB

Similar Messages

  • Visa error -1073807339 when reading or writing to com 2

    Good morning,
    I am using both com 1 and com 2 to communicate with instruments using Labview 7.1 and Windows XP. Com 1 which works without any problems is communicating with a HP 34970A and com 2 which sporatically works is communicating with a Valhalla 2430 power analyzer. When I get the error, I open MAX and com 2 has an explanation point indicating a problem.
    Thanks for your help.
    Everett

    Hello again and thank you for all the responses. Valhalla charges money for their driver so I doubt they would want it posted in the discussion forum. I ran NI-Spy and will attach the logs. I also changed the byte count from 32 to various lower numbers but 21 seems so far to operate without an error running the Valhalla VI only. This afternoon I will try it again in the program to see if an error occurs or if I don't get my data sometimes. Capture 1 was done using max and open visa for com 2. I ran it several times. Capture 3-1 is after I changed the byte count to 21 and added some delay on the VISA read.
    For some reason it won't let me post a .spy extension
    The file does not have a valid extension for an attachment. jpg,gif,txt,xls,vi,zip,doc,bmp,llb,pdf,png,seq,c,h,cpp,cs,vb,ini,gz,ctl,scr,ico,tar,z,uir are the valid extensions
    Everett

  • Why do I receive error -1073807339 VISA Write

    I have a LV app built using LV2010 SP1 on a WinXP 32-bit machine.  The app uses VISA to communicate serially through a RS232 to USB adpater to a pump.  I can run the compiled app (exe) on another Win XP 32-bit machine without error.  But the app generates "error -1073807339" with a VISA Write VI (timeout before completion) when run on Win7 64-bit machine.  I have verified that both WinXP machines and the Win7 machine all have the NI device drivers installed (NI VISA 5.0.3), the LV2010 Run-Time engine, and the RS232-USB device drivers.
    I have investigated sources of the timeout error and tried increasing the timeout with no success.  I have also verified port settings, although the app is
    identical between all machines.
    I have verified that the installation on the Win7 64-bit machine was done using admin rights and files were installed correctly.
    I feel like I must be missing something, so I'd appreciate some suggesitons.
    Thanks
    Dan 

    Can you communicate to the device on the Win 7 machine using hyperterminal or some some other communication program? Make sure that you have basic communication and it isn't some strange Win 7 thing. Are you runnign Win 7 64-bit? If so make sure you use the correct drivers.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Error -1073807339 when using IVI (setup in MAX) to initialize instrument

    I'm using LabVIEW 2014 and the most recent version of the Measurement & Automation Expert (MAX) to communicate with an Agilent 33500B series function generator with IVI drivers on a Windows 8.1 computer. (I also see this problem when trying to communicate with an Agilent oscilloscope). I've used the MAX to create an IVI logical name and tied the name to the appropriate driver session following the instructions in: http://www.ni.com/white-paper/4594/en/. In LabVIEW, I have created the IVI instrument, tied it to the appropriate logical name, initialize the instrument, and then close the session. When I run this program, the Initialization block runs (resetting the parameters on the function generator) AND THEN I get the following error:
    "Error -1073807339 occurred at IviFgen Initialize With Options.vi
    Possible reason(s):
    Primary Error: (HEX 0xBFFF0015) TImeout expired before operation completed.
    Complete call chain:
        IviFgen Initialize With Options.vi
        IviFgen Initialize.vi
        <myfilename>.vi
    I read in the documentation that I should not simultaneously initialize with options in LabVIEW and in MAX, so I am using the Initialize block which still calls Initialize With Options. The same error occurs when I:
         1. Uncheck all the options in MAX and run the code
         2. Uncheck all the options in MAX and replace the LabVIEW Initialize block with Initialize With Options and run the code
         3. Add a Wait block between the initialization and the close blocks and run the code.
    However, I am able to communicate with the function generator when I use the VISA Test Panel (opened in the MAX) and send it a VISA command. I am also able to communicate with the function generator if I use the VISA I/O blocks instead of the IVI blocks in LabVIEW.
    Is it really a timeout issue? If so, how do I change the timing? If not, what is going on?
    Thanks.

    sagha wrote:
    According to the MAX they are correct (IVI driver for the Agilent 33519B downloaded from the NI website). When I run the IVI Initialize block any frequency, amplitude, offset, etc. settings on the function generator are reset to the default values. So, something is being sent to the instrument.
    However, I've also tried adding the General Error Handler block right after the Initializaiton block to cancel the -1073807339 error. Then, I add the IviFgen Configure Standard Waveform [STD] block to set the function generator frequency. The program throws an error that looks like a resource problem:
    "Error -1074130544 occurred at IviFgen IVI Error Converter.vi
    Possible reason(s):
    The session handle is not valid.
    Complete call chain:
        IviFgen IVI Error Converter.vi
        IviFgen Configure Standard Waveform [STD].vi
        <myViName.vi>
    What could be the reason for an invalid session handle? I've followed the NI tutorials on setting up IVI instruments in MAX and in LabVIEW.
    Okay, this is new information.  Nothing in your previous posts mention that the initialztion did anything at all besides return the timeout error.  The invalid session handle is because you closed the session.
    I'm having trouble following your descriptions.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Error -1073807339

    Hello,
    I am new with Labview and I am currently trying to connect a Lecroy HDO6034 oscilloscope via USB to perform a data acquisition using a NI driver.
    I can see in NI MAX that the scope is connected to the computer but when I try to use a driver I get this error message :
    Error -1073807339 occurred at VISA Clear in LeCroy Wave Series.lvlib:Initialize.vi->LeCroy Wave Series Acquire Waveform.vi
    Possible reason(s):
    VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.
    I looked it up online but it did not help me to resolve the problem.
    Also when I go in the Visa Test Panel in the USB Control (input/output) I get this in return data :
    USB Control In
    wIndex: 0x0
    wValue: 0x0
    bmRequestType: 0x80
    bRequest: 0x0
    wLength: 0x0
    Error
    VISA:  (Hex 0xBFFF0078) La valeur de certains paramètres n'est pas valide (ces paramètres ne sont pas connus).
    Is someone capable of helping me resolve this ?
    Thank you..

    Hello,
    A time out error is saying the scope did not respond to something. (Or, you have tried to read something from it when there is nothing there to read).
    The error you are getting from the VISA tool is because you are not using it correctly.
    Go to the "Basic I/O" tab and hit the "Query" button and you will see the scope respond to the "*IDN?" query that is there by default:
    i.e. Not this:
    Instead, use this:
    Regards,
    Leonard Brown
    Applications Engineer
    Teledyne LeCroy
    1-800-553-2769
     

  • Error -1073807339 Hex 0xBFFF0015 Timeout expired before operation completed

    Hi,
    I am getting the Error -1073807339 Hex 0xBFFF0015 Timeout expired before operation completed message box but unlike many users that seemed to have a similar problem, it doesn't happened systematically... I am getting the message box error at random on a measurement and then it just works back fine, until the next time it happens again during a continuous measurement acquisiton.
    I am working with a HP 34970A, plugged to the pc with a Agilent 82357A USB to GPIB and LabVIEW 2012 sp1. MAX is up to date, so is the I/0 Libraries of Keysight. Drivers are all installed and updated, Communication with IEEE 488 is enable in the I/0 Libraries, passport tullip also in NI VISA through MAX. I run a small VI that should make a continuous acquisition of four temperature using PT strobes plugged to the HP 34970A and graph them, also writting them on a Excel like document. The waiting time between two measurement is set at first by users. To take the measurment, I am runing an adaptated VI from the HP 34970A drivers. I think the problem comes from my VI's structures but I can't find it myself. I am also very surprised that it actually does work fine most of the time and just randomly crash in a loop...
    I attached the VIs if needed.
    I hope I was clear enough and that you might have an idea to help me fix this problem.
    Thank you in advance.
    Attachments:
    Main_VI.vi ‏17 KB
    Agilent 34970 Temp Scan.vi ‏36 KB

    Is there someone here to help me?

  • Wavetek 9100 - Error 1073807339

    Hi my name is Said and I work in the National Institute of Industrial Technology of Argentina, in a calibration lab. We have a Wavetek 9100 Calibrator, Agilent 34401A Digital Multimeter and a NI GPIB IEEE-488-2 board. I have a problem with the Calibrator driver, in the transition from 90 V to 110 V in the DC and AC Voltage the instrument starts to ring an alarm and the program shows me the follow message: "Error -1073807339 occurred at VISA Read in wt9100 Error Query.vi->wt9100 Configure Output State.vi->wavetek multipoint VCC con array desde txt modificado 1.vi" and "Possible reason(s):
    VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed." 
    Can you help me?
    Thanks. 
    Attachments:
    wavetek multipoint VCC con array desde txt modificado 1.vi ‏161 KB

    Hi Sirs,
    Please anyone can help me regarding error message on WAVETEK 9100; The unit is in stock for almost 2 years and it was owned by my company before, and it was closed now, and then when i started to operate the unit, the unit display reads "Selected test has failed number of failures 8" then all keyboard or button are all in active or not functioning and nothing happens on the display, it always hanged.  What will i do, the manual says no detailed. Please help me on my problem.
    Thanks and Regard to everyone.
    Thanks and regards,
    JOHN MARK

  • When trying to test my serial port instrument I receive Visa error 1073807346​, which means that they is not enough informatio​n for Visa to access or resource does not exist.

    The error I am getting is on Visa open.

    I found couple of knowledge base (KB) entries that talk about Visa error 1073807346. The best way to find knowledge bases (KB) is to goto ni.com >> Support >> Advanced Search (option 3) >> type in the keywords in the box "1073807346", you will get them.
    Also refer, http://www.ni.com/support/labview/visa/default.htm​. Hope this helps.

  • Visa error unless logged in as admin

    I'm installing a LV program on several computers running Win7. It uses VISA to communicate with three separate instruments. If I'm logged in as admin everything runs perfectly but when anyone without admin rights logs in I keep getting VISA error "resources not found". This seems to be the two serial ports on a card, COM1 which is the on board port is working. I installed this on an identical computer yesterday and did not have this problem.
    Solved!
    Go to Solution.

    When you are logged in as the other user, what do the serial ports show up as in Device Manager?  What do they look like in MAX?
    I wonder if there is a setting, possibly some sort of Windows Group Policy that is locking out serial ports for non-admins.
    Is this a real serial port (with DB9 connector) or is this a USB-RS-232 converter which gives a virtual com port?  Perhaps if group policy is to disable USB ports for non-admins, it is blocking the converter from working.  Just speculating.

  • TestStand 3.1 Run Selected Steps generates Visa error -1073807346?

    When using Run Selected Step in TestStand 3.1 to interactively execute previous steps in a sequence a Visa error (-1073807346 The given session or object reference is invalid.) is generated even though the selected step has previously executed with no errors.
    Some history:
    The sequence in question was developed with TestStand 2.0 and LabView 6.1 and does not exhibit the above mentioned issue. The error began after migration to TestStand 3.1 and LabView 7.1. The sequence executes without errors in all other conditions. 

    Hi,
    When your sequence halts, does that mean it's closed the visa sessions and if so when running the selected steps are you running the setup with the open visa sessions or are you just reusing the sessions stored in the Station Globals (I assuming when you said globals you were referring to Station Globals).
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Sbrio9636 VISA Error -1073807202

    Hello
    I have a sbRIO9636 and the test instruments. I just want to connect sbRIO and Test instruments(with RS232).
    I am trying to connect RS232 (9 pin) via serial ports..I also have Measurement & Automation Explorer (ver 5.1) to monitor and configure Serial/parallel connections.
    The problem is that when I query, it looks like my device is not properly recognized. I only get time-out errors.  VISA Error -1073807202. But when I connect the Test instruments directly to PC, NI Max shows COM 1 and can get the data from the test instrumnets. That means, I can get the data from PC , but I can't do the same with sbRIO9636.
    How can I ensure that my device is properly recognized? Is my COM1 port activated at all? I can't see COM Port in NI Max for sbRIO9636.
    thank you!
    Solved!
    Go to Solution.

    Hey Kellydog
    This is a kB what the VISA Error -1073807202 is.
    http://digital.ni.com/public.nsf/allkb/10C6C0FBB8E7BD4486257850006CE8FF?OpenDocument
    maybe this will fix your problem.
    best regards,

  • Visa Error in MAX for Compact RIO

    Hi,
    I have a compact rio I haven't used in a few months. In Labview 7.1 and since upgrading to 7.1.1, I can't
    connect to the compact rio. In MAX, I can see the crio device. When I open up the device, I get a VISA error
    under Devices and Interfaces . 0xBFFF00A7 (VI_ERROR_MACHINE_NAVAIL). I can't ftp or ping to the crio either.
    I have NI-RIO 1.2.
    I connected to the crio console ....
    General Software STPC Embedded BIOS 2000 (tm) Revision 5.2
    Copyright (C) 2003 General Software, Inc.
    Copyright (C) 2004 National Instruments Corp.
    NI cRIO-9002 Controller
    00000589K Low Memory Passed
    00064512K Ext Memory Passed
    Wait.....
    PCI Device Table.
    Bus Dev Func VendID DevID Class Irq
    00 0B 00 104A 0201 Host Bridge
    00 0C 00 104A 0210 ISA Bridge
    00 0D 00 104A 0229 IDE Controller 11
    00 0E 00 104A 0230 Serial Bus 11
    00 0F 00 104A 0238 Ethernet 11
    00 18 00 1093 70F7 Unknown Device 11
    00 1F 00 104A 0981 Ethernet 10
    (C) 1996-2003 General Software, Inc.
    STPC-5.2-01DE-EB2E
    BIOS revision: 1.1.9 (08/10/04)
    Firmware revision: 10.1.94
    Booting LabVIEW RT from drive...
    Fat16
    Jumping to 07E0:0000
    Checksum: 011BCEEB
    LabVIEW RT Boot Loader
    (C) Copyright 2002-2003 National Instruments Corporation
    STE10/100A Ethernet found.
    Initializing network... done. IP address is 152.50.232.157
    --------------------- NI-Serial v2.5.4 for LabVIEW RT ---------------------
    COM1 - | Built-In Serial Interface
    Welcome to LabVIEW Real-Time 7.1
    NI-VISA Server started successfully.

    Hi, Raltieri,
    I noticed from the text that you sent that your cRIO controller has LabVIEW RT 7.1. Since you upgraded your host computer to LabVIEW 7.1.1, you will also need to upgrade the LabVIEW image on your controller to the same version. Try reinstalling the LabVIEW RT component into the cRIO controller (in MAX, under Remote Systems, under your cRIO >> Software), and just make sure that you select 7.1.1 as the version to reinstall. Most likely that is the problem.
    Please let me know if that doesn't help.
    GValdes
    National Instruments

  • VISA Error -1073807194 When trying to connect to Dynamixel MX-28

    VISA Error -1073807194 When trying to connect to Dynamixel MX-28
    I'm trying to connect to a Dynamixel MX-28 and receive the above error when I run my VI.
    The COM ports detected by the VI match the ones that I see in Windows 7 Device Manager.
    Any other ideas?
    I've attached the code I'm running below.
    Attachments:
    Single MX-28 Position Control.vi ‏23 KB

    slow wrote:
    I had no idea, actually. I'm just learning Labview (and was handed this code by the previous guy). I appreciate the help.
    I'm guessing I need to replace the "VISA resource name" and "VISA resource name out" blocks (that are currently in the above linked VI) with the "VISA configure serial port" block?
    In a related question, what would be the best way to expand this so that a larger number of servos could be controlled at once?
    Would I just make multiple copies of the current blocks (with several position knobs on the front panel)? Would that make the most sense?
    LOL I was making fun of the unusual place that NI put the VISA serial config, not being sarcastic about you not finding it.  Sorry about that. 
    The config will go right before your write.  If you turn on context help (the little ? in the upper right corner) and mouse over the various things on the block diagram and front panel, you'll see how to use them. 
    Not really sure about a desing suggestion.  An array of position knobs to be indexed accordingly?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Visa error handling in serial communication

    Greetings,
    I have a problem with the serial communication in my Labview program.
    I have made an application that reads from serial port, searches for beggining characters, and later counts data after that beggining characters into variables in Labview program.
    Everything work fine, but problem starts when I unplug the device from computer.
    Program blocks and I could not do anything. Even Visa Close does not do anything.
    I need to restart my computer to make my application works.
    I made some indicators in subVi, and I see that when I unplug the device the error from READ VISA changes.
    My question is:  How to handle this event(error) to restart or unblock my serial device.
    I am attaching a SubVi, that searches for starting characters " KBON,"
    Best regards,
    Chris
    Attachments:
    find_start.vi ‏12 KB

    Hi Chris,
    From the standpoint of VISA capabilities, you should be able to programmatically handle the desconection of the serial port. I am however not certain that your specific serial port hardware is OK with that.
    As to how to handle disconnection using VISA:
    I recommend using the "timeout" pin of the VISA Configure Serial Port VI
    when the timeout is reached and no data is transferred, you will get a timeout error on the error wire.
    You can then programmatically handle this error case in your code in a very similarly to this example.
    I recommend experimenting to see what error codes your application throws, or alternatively you can use the VISA error codes documentation to create the case structures needed to hande these errors.
    In all cases, you should close the VISA reference. Leaving the serial port rescource "open" in your operating system may be the reason why you need to restart your computer every time (as restarting will for sure free up the serial port rescource).
    Best Regards,
    T Simon
    National Instruments
    Applications Engineer
    Certified LabVIEW Developer - Certified TestStand Architect

  • VISA error: -1074003961 What does it mean?

    When attempting to set parameters with Agilent's Set PWM Parameters.vi on my new 81626 power head I get this VISA error: -1074003961 What does it mean?
    I try the exact same VI with my 81623 Power Head and it works fine. Anyone have any answers?
    I have a 8163 Mainframe with two 81619 Interface Modules intalled. In the Modules I have a 81623 head installed in slot 1 Channel 1, and a 81626 head in each of the channels of slot 2.
    The error follows the 81626 heads. The 81623 head works fine.

    Drugar:
    That is BFFC0007, which is not a VISA driver code but is an instrument driver error. From vpptype.h, that seems to say that parameter 7 is what is causing the error. I guess you need to look at the C function prototype to figure out what the 7th parameter value should be.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

Maybe you are looking for

  • Problem with .PDF files from .html files at pagebreaks

    I am using DW CS5.  When I make a .pdf from the .html file it is not handling the images with captions correctly, or even consistently, at the bottom of the .pdf page. Here is the Link to the .html code: http://www.schembs.com/0_PDF_PAGE_PROBLEM.htm

  • How to Password protect doc in pages

    How do I password protect a doc in pages?

  • How do i import a cd if no import cd message comes up

    i am trying to import a cd, but no import message comes up when i insert the cd

  • What are the best ways to protect your macbook?

    I have ordered my 1st ever Apple product, the White Macbook. I would like to know what are the best ways to keep it save and in top condition? Apple have given me this case as a good will gesture, so I won't be needing a case for it: http://store.app

  • XI/PI 7.10

    Hi forum, we would like to installa a new XI/PI system, is 7.10 already available for custumers ? Does 7.10 available in ramp-up only ? In shop.sap.com NetWeaver 7.10 is not available. Regards.