Visa error 1073807346

I?m new on LabView and create an application that uses a power meter, everything works fine during 127 tests but after this I get the following error message :
- Error ? 1073807346 Occurred at VISA Write in ?
- Error Query VI -> ???.
Posible reasons:
VISA: ( Hex 0xBFFF000E ) the given session object reference is invalid.
Why is that the system works fine during 127 iterations ?
Is there any buffer or something that maybe is getting overload ?
I hope somebody can help me.

Hello,
The open VISA is not exactly in a loop, because it?s in a VI that opens twice on each test but when is open then the VISA session open only is called once and the loop is for the measure, because the meter is accessed X number of times but the VISA session is closed only after all the measures have been made I think this works as you mentioned, then is not really inside the loop, I couldn't send you the Spy capture file the system indicates an error, the file is about 1.2 Mb for one run, I only capture one because the systems run very slowly when the NI Spy is running then it will take a lot of time and a very large file to reach the 127 tests, I think the file is big because the meter it?s not the only instrument
that I?m accessing, I?m using a generator and a power supply during the same test.
Let me know if there is another way to send you the file.
BCU

Similar Messages

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

  • 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

  • Error -1073807346 occurred at VISA Write in rsspecan_core_write.vi

    Possible reason(s):
    VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid.
    I'm using a USB to GPIB connection to a Rohde Schwarz FSV30 Spectrum Analizer from Windows 7.
    My program works 100% in LabView but the problem comes in when I've compiled the program into an executable.
    I have already installed the NI VISA Run Time Engine 5.0.1 and it still does not work.
    I've also installed the NI-488.2 2.73 drivers for the GPIB unit.
    Any ideas?
    Solved!
    Go to Solution.
    Attachments:
    Error -1073807346 occurred at VISA Write.png ‏30 KB

    Hey,
    the problem when building executables with LabVIEW is, that the driver core of the attribute based instrument drivers (esp.. the VIs which are creating this error) is linked while runtime dynamically to the VIs. The application builder which follows all dependencies and include them into the package fails in this case.
    To get a running executable please add manually all VIs for the folder <inst lib>\rzspecan\_utility\rsspecan_core\callbacks\ to the LabVIEW project and everything should work fine.
    For more details of this driver refer to http://www.rohde-schwarz.com/appnote/1ma170
    So long, juergen

  • Error -1073807346 will get away when i run VI for second time

    This is the weird thing
    i open the vi for the first time and run it and it will put out the error :
    Error -1073807346 occurred at VISA Open in Prompt for com port.vi
    Possible reason(s):
    VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid.
    i run the vi for the second time and the error goes away.. and everything works...
    i dont know whats wrong, have you had this problem also?
    Attachments:
    serial.png ‏31 KB
    serial.png ‏31 KB

    You know that almost threw me untill I re-read the vi name!
    Dude, that's not how you write a "Prompt User" routine!  What is happening is that you read the VISA In Terminal run that value through the for loop (At warp speed burning a cpu core) while the user fiddles with the VISA in terminal.  BUT, nothing changes the value on the wire!  so you pass the "Old" value to the VISA Open.
    I've been meaning to add Prompt(VISA).vi to my reuse for a while anyhow.  Thanks for the excuse.
    Jeff

  • All my instruments are returning VISA Errors

    I recently added the Lake Shore Model 336 Cryogenic Temperature Controller driver to the instr.lib folder under National Instruments program files. When I tried running one of the example programs that came with the driver, LabView returned:
    Error -1073807346 occurred at VISA Open in Lake Shore 336.lvlib:Initialize.vi->Lake Shore 336 Write Curve.vi
    Because I was working on another VI at the time I just ignored the error and planned to fix it later. That other program, which had been running a servo motor error-free for the last week, also starting giving an error:
    Error -1073807343 occurred at VISA Clear
    Could improper installation of the Lake Shore drivers somehow affect my other instruments? I am currently running LabView 2012 and have NI-VISA 4.6.
    Thank you for any help.
    Solved!
    Go to Solution.

    To recap:
    The original problem was that the servo motor stopped working when the Lake Shore Temp Controller was connected and drivers installed.
    The temp controller does not work as well.
    You corrected the servo issue by replacing the USB cable to the servo (which uses an Arduino), but are still having issues with the temp controller.
    Both devices are recognized by MAX.
    Do you still get the -1073807346 error?  Or is it different now?  That error means "VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid."
    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 please help

    I installed instrument driver for afg 3021 (signal generator).I ran an example and following error showed up.
    Error - 1073807346 occured at VISA write in tkafg3k
    Error Query.vi->tkafg3k Configure Standard Waveform.vi ->tkafg3k Frequency Sweep Example.vi
    please help what should I do....

    When you right click on the error cluster, you will see the option 'Explain Error". When you do that, what it says is:
    VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid.
    What do you have entered in the VISA Resource Name control (or it might be named VISA Session)? Did you type something in there and does it match the actual resource name of the instrument? On the right side of the control is a little arrow. You can click on that and get a lits of all VISA resources on your pc. You should find your instrument listed there and all you have to do is select it.

  • Error -1073807346 when stopping RT Host VI in a cRIO application.

    I am receiving error --1073807346 when I stop the RT Host VI in a cRIO application.  The FPGA VI compiles and runs without error.  All of the I/O s are configured in the Project Explorer.  I am using 3 DMA channels in separate loops in the RT VI.  Data to the DMAs comes from 3 channels on a 9233.  I am also using a 9122 and 9263.  Does anyone know what causes this error?

    Thanks for your interest in my question. The project is attaced.
    Attachments:
    Condition Monitor.zip ‏1285 KB

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

  • What is Error 1073807346

    Error 1073807346 has occured at property node in a particular vi. The error comment says "The given session or object reference is invalid".
    How can we solve this problem?
    iam using Labview ver 6.0

    What kind of property node is it? The problem is that it's not correct, so you should check it. If it's a VI server property node, be sure the reference is properly opened, and that you don't close it. If it's an activeX property node, be sure your activeX library is registered in your system, and the automation opening vi is properly adjusted.
    Hope this helps

  • 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

  • Not printing in color at all...

    I am a teacher and have been trying to print in color on my printer and everything is coming out in black and white. I have already changed the toner cartidges and ran test pages and "cleaned" it. Each color cartidge is showing at 100% but no matter

  • Comms between a database and an oracle client is slow

    I have a Win2000 server machine (Running MicroStrategy) with Oracle client (9.2.0.1.0) querying an Oracle DB (9.2.0.6.0) on AIX 5.2 (They are connected via Gbit ethernet, ping times are 1ms and no hops enroute). After a lot of testing I have simulate

  • No Par File upload option in NWDS

    Hi Experts, Yesterday i was working on NWDS when i go to file --> import --> i used to get many options including PAR file option but today when i tried the same go to file--> import, i get only two options Developement component and Multiple existin

  • Essbase Error 1016016

    Hi all,<BR><BR>Here's another error I can't find any information on. I received the error while running a script in the MaxL shell in an aggregate storage cube. I was using the "export database to data file" statement. The report is being created, bu

  • Vault problem after upgrade to Aperture V3

    I recently bought a new iMac and had the Apple Store transfer the files from my old one. I then upgraded Aperture to Version 3 and upgraded my existing Library. I had a couple of files that had not been sent to the Vault so I updated the Vault. That