Error with VISA Read (-1073807346)

Hello

I use VISA read/write to control a glucometer and read files in memory. When I run the file memory for the first time, I get the error 1073807346 and the explanation is "VISA: (Hex 0xBFFF000E) the given reference of session or the object is not valid."

However, when I run again immediately after (without doing anything except click Run), it works perfectly every time until I have log and restarts (while I get the same error, but it works each time after this).

I checked my settings, they are correct and I also tried to run the command with Hyperterminal and it works. I don't know why this does not work the first time around.

Any help you could give would be great. I have attached the file ("read Mem").

Thank you.

Hello

You choose the resource monitor correct (I assume you are) before starting the program?

Why do you have a picture of sequence around your code? The sequencing is already accomplished by the data cables. The last wait is relaxed.

And most important: why do you have a feedback node in your visa session just before writing.

Delete and press cleaning diagram.

Tags: NI Hardware

Similar Questions

  • Why do I get a warning "stop character has been read" with VISA read and TCPIP?

    I use VISA readings with raw sockets TCPIP without problem with NI-VISA 3.0.1 but when I moved to NI-VISA 4.4 I was getting timeout errors.   Time-out errors disappeared when I put the stop character allow the property (which seemed to be default in NI-VISA 3.0.1) but now I get a warning indicating that the "stop character was read.

    Can I turn off this warning?   Can I put the ending character activate by default?   How can I get rid of this annoying warning?

    Hey, Dagwood,.

    Unfortunately, there is not a way to globally change the attribute VI_ATTR_TERMCHAR_EN to VI_TRUE.  Talked with R & D ability to use registers and they say that it is not accessible through that.  To answer why this change was made so the developer who made the switch isn't around more I can not find his reasoning to explain.  The best to you in your code would be during initialization, use the node property VISA to make the change and until the closure of this VISA resource, this change will be the value that you assign the value.  I'm sorry, we cannot provide any other solution for these problems.  Also, if you feel that it is a heavy load on your programming practice you can certainly submit a product idea for the ability to change the overall values for default attributes VISA.

    Thank you

  • Error with Adobe Reader

    I'm putting it on a page that requires adobe reader... I click on the link it will not come to the top, the error message is the problem with the Adobe reader... so I click on a different site on the same page and it happens with the help of adobe

    Hello
    If Adobe Reader opens fine on a webpage or link and PDF files locally, it probably isn't and issues with your system.

    It could be that the site or the link to the file is broken. I would try to refresh the page to see if you have just a bad cache of the page. Go to the page and press F5 and try again.

    If this does not work, let us know the site and the file you are trying to open.

    Hope that helps!

    Mark <> Microsoft Partner

  • Error with Visa and USB device

    Hello

    I am currently working on a VI to use visa to get information from a USB device. The device is a digital-line tachometer.

    I was able to get the drivers USB and everything set and the device appears in MAX, but now I get an error after the open block of visa, and I don't know why.

    Any ideas would be greatly appreciated, but I don't know that anyone will be able to do, because you probably don't have the same one.

    VI is attached


  • Problem with simple reader of fingerprints and pass - can not connect with either

    When I try to log on my laptop, I get an error with simple reader of fingerprints and pass code. The code is "the service user profile Service does not have the connection. Unable to load the user profile.

    I tried to restart. But does not help. Can U help?

    Hello

    Check out the links below...

    The user profile Service has no logon

    Or,

    Try the microsoft fixit

  • VISA Read (error BFF0015)

    Hi all

    I use COM VISA library and c# communication with my instrument via TCP/IP.

    I add the reference "VISA COM 3.0 Type Library ' to my c# project and try to establish communication using the following codes:

    *********************************

    Ivi.Visa.Interop.ResourceManager ResMsg = new Ivi.Visa.Interop.ResourceManager ();
    Ivi.Visa.Interop.FormattedIO488Class ioClass = new Ivi.Visa.Interop.FormattedIO488Class ();

    Imsg = Ivi.Visa.Interop.IMessage (ResMsg.Open ("TCPIP0::192.168.0.170::10001:OCKET", Ivi.Visa.Interop.AccessMode.NO_LOCK, 8000, "") as IMessage);
    ioClass.IO = Imsg;

    ioClass.WriteString ("* RST", true);

    ioClass.WriteString ("* IDN?", true);

    String ret = ioClass.ReadString ();

    Console.WriteLine ("ID:" + ret);

    **********************************

    I could write "* RST ' command to the device without errors. And I could see that the device really do a reset of the command.

    But when I send "* IDN?" and read the answer, I still get a TIME_OUT error. Even if I add "\r\n" at the end of the command and increase the value of the time-out period, can I still the same error. Not only "* IDN?" but also another order of reading as "* STB? ', they all can the same timeout error.

    But when I use the VISA-ReadSTB function, it returns the correct data.

    I also tried to use Labview VISA-open, entry VISA, VISA-read for the same test. I also have an error (BFF0015) after VISA-read.

    I also use a programm IO monitor to view the data. I find that I have seen the answer, but I still have a time-out error. Currently, I could only read the answer by Agilent IO control successfully.

    I'm using c# 2008, Labview 8.2.1, VISA 5.0.3

    Any notice will be really appreciated!

    Kind regards

    Please take a look at this KB. Maybe this can help you solve your problem.

    Why should I receive Timeout error-1073807339 on VISA Read or Write?

    http://digital.NI.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0?OpenDocument

    See you soon

  • VISA READ timeout error - several GPIB resources

    Hello

    I'm working on a network 3 GPIB instruments (Optical Attenuator, amplifier in fiber, spectrum analyser), controlled using VISA sessions in Labview. When it is run separately, the three corresponding screws (which are located in three different Labview projects) works as expected. However, when they ran at the same time, one gives them timeout-1073807339 VISA READ errors. These errors seem to occur when another instrument is sending / receiving data / instructions at the same time that she is.

    The exact context of the error is either:

    -an another VI is running, which includes sending several requests and responses every 100 ms, reading

    -by failing VI starts, I get an error of waiting time among the first Subvi containing a VISA READ operation to perform (sometimes initialize.vi (in situation 1), sometimes one of the subVIs connected the rest State (State 0) on the time-out of the structure of the event).

    or:

    -the default VI is running,

    -by starting another VI, which includes repeatedly sending requests and reading the responses, the failing VI up a mistake among the first Subvi containing a VISA READ operation to run (one of the subVIs linked the State of rest (0) on the time-out of the structure of the event).

    What I tried:

    -gradually increasing the delay between the VISA WRITE and READ operations to the relevant instrument (from 10 ms to 10 s), without success. More surprising are my observations which, by operating this single VI, increasing WRITE it / READ delay results in the same timeout errors. I have found no mention of such behavior through research google and forum. I hope that this may point to a solution to the main issue,

    -switching between synchronous and asynchronous VISA WRITE / READ operations.

    -reorganization of the network GPIB to a star to a linear topology topology (three instruments have different GPIB addresses in case anyone is wondering).

    My thoughts:

    It seems to me that the error is related to a delay introduced between a VISA request and its read operation by the transmission of another query associated another instrument in the same network GPIB. But I have no idea why pass a query to another instrument would introduce such a delay, or why this delay would result in a timeout error (and only an instrument, while writing / reading in each pilot screws are basically the same). Hopefully a more experienced Labview-er will be able to shed some light on my problem.

    Included is the project that contains the default VI (main.vi) and the driver custom made use of.

    There are a number of ways. If you want to keep separate projects for instruments, you can use semaphores often slandered around calls for screws in each project. Locking is not expected or predictable, but it would give controlled access to the GPIB resource.

  • Error timeout on VISA read during program execution

    In my application, I need to read an instrument via a USB serial COM (a Heidenhain ND 280).

    When I run a single VI that comes write and read the data it works very well (see attachment). But when the main Vi runs and this runsin a Subvi, it always gives error timeout on read VISA after awhile. I do not understand what can cause that.

    EDIT: in fact even alone, it give a time-out error after awhile. I just let it run for 30 minutes and he gave one. Just more time in appen, it seems that when the program runs.

    Thank you


  • VISA Read Timeout error when using stream protocol BUS

    Hello

    I currently use the BUS Flow for a MFC Protocol and I get a time-out error VISA Read:

    Error 1073807339 occurred at VISA read in Send Setpoint.VI-> test.vi

    Possible reasons:

    VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    I extracted the part of the code and it attached to this message. Basically, whenever I hit OK to send a VISA just read set value times out. I tried to use the sub VI who is responsible to send the set value and it was fine (when manually, I copied and pasted the ASCII codes) but when I run the global function it times out.

    Any help is appreciated

    Thank you

    If you have a command string or a constant you enter a \r\n in, you MUST have '-' Codes view turned on in order to enter the actual control characters. If you enable "\" Codes to display and see \\r\\n, then you have used Normal display to enter the characters.

  • play sounds temporary and file of your choice when reading data with VISA functions?

    Hello.

    I read the function of reading data with VISA and then I use as multiple functions to display data on the graph. everything is OK.

    now, I want to play a sound specified (like a song in my desired folder 3s) signal which cross above the specified value range. then after the desired time, it will wait still new cross above the specified value and this repetition of the procedure until I stop the program.

    Data MCU is from and it does not stop when his game system and what system of incoming data for this part (his play) will ignore them pending that outdated.

    I use this for reading data and part VI mentioned which belongs to her is empty and I don't know what I have to do?

    altougth I use an another while loop for his apartment because I want to save time CPU.

    Thank you.

    I recommend you do the data type of the notifier a cluster that contains a path and a numeric (double).  The path indicates the reader what file to play.  Digital is the duration.

    Now in a way a bit complicated, but really good stop your second loop.  Do not use a second notification.  Instead, send the normal notification but not use a path for the path in the cluster.  Your second loop can write a check for the path of a not and stops when that is received.

  • ERROR 1073676294? READING OF VISA...!

    How you guys doin. ?

    I got the error above when reading my ECG sensor via a serial port data... you guys would help me with the following steps?

    1. I see that there is a signal showing disappears a second and then go back to appearing and so on.

    2 - the number of bytes read varies between 1 and 2 only... I think it's impossible... I send you an ECG signal so the number of bytes expected to be much higher.

    the attached picture can show you the result that I want to come...

    any help would be appreciated!

    It looks like the LabVIEW code, at least the part series, works very well. If the waveform is not correct, check your connections to the probe and the programming of the microphone.

  • What does Visa Read.vi? with a number of zero bytes

    If I use the bytes to property node Port to entry VISA Read.vi number of bytes, and the value is zero, what happens?

    VISA will Read.vi return immediately with zero byte?

    VISA Read.vi returns immediately with however the number of bytes may have shown in the buffer in the meantime?

    VISA Read.vi expects bytes or characters of termination?

    VISA is Read.vi waiting for timeout?

    The documentation does not say, and I need to know.

    Thank you.

    WARNING 1073676294 was held at VISA Read in Untitled 1

    Possible reasons:

    VISA: (Hex 0x3FFF0006) the number of bytes transferred is equal to the number of entries requested. More data may be available.

  • Common problem with Windows 7, what causes errors with itunes, the software adobe reader, TurboTax 12

    Is there a common problem with Windows 7, what causes errors with itunes, the software adobe reader, TurboTax 12?  I get error messages when I try to use one of these programs

    Hello

    Thanks for the reply with the details.
     
    Problem with opening PDF documents, please see the link and follow the steps in the article:
     
    Error "Windows cannot access the specified device, path or file" when you try to install, update or launch a program or file
    Important: Disable your antivirus or changed settings can make your PC vulnerable to viral, fraudulent, or malicious attacks. Microsoft does not recommend that you disable your antivirus software or change settings. If you need to temporarily disable your anti-virus software, you should reactivate as soon as you are finished.
     
    See the link for the question with idevices:
     
    iTunes for Windows: "Could not load the data class" or "Cannot load provider data" alert synchronization services
     
    Problem with TurboTax 12, check out the links and follow the steps:
     
    5639 error: Cannot configure the product update system
     
     
    If the troubleshooting steps above do not help, check in a new user account:
    Reference:
     
    If it works in the new user account, then the current may be corrupt user account.
    To fix the damaged user account, follow the steps in the following article:
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile
     
    Hope this solves the problem. If the problem persists, you can write to us and we will be happy to help you further.
  • I get this error when I try to open a file with Acrobat Reader, it is said: Adobe Reader could not open "heels 2014 001.bmp" because it is not a type of file supported or because the file has been damaged (for example: it is sent as an email to)

    I get an error msg when I try to open a file using adobe reader software.  Error States: Adobe Reader could not open ' heels 2014 001.exe bmp because it is not a supported type, file or because the file has been damaged (for example: he was sent as an attachment to e-mail and has not been decoded correctly.).


    I tried to send an email with attachments 44 and would not send the email. Ever since I tried to send this e-mail, I have been doing the error msg.


    Anyone know how I can get this to work for me again?


    Thank you, any help is greatly appreciated.


    JoJo

    The file you are trying to open is (you can see from the name) a BMP, PDF files no file. Adobe Reader can only open PDF files, just so stop trying to open it with Adobe Reader. The app, users of Windows for BMP files is painting.

  • With premiere pro cc2015 why can I get this error message when reading 'timers video and audio are not synchronized?

    With premiere pro cc2015 why can I get this error message when reading 'timers video and audio are not synchronized?

    Hello

    Here are the steps.

    Install a cable Audio virtual on your machine:

    http://virtual-audio-cable.en.softonic.com/

    Under HW Audio Configuration configured Virtual audio cable as default input device

    And value clock maser virtual audio cable and try reading.

    This issue with the message 'Audio material e/s overloaded at 00' can be fixed, follow these steps.

    Vinay

Maybe you are looking for