Termination of the VI after 20 seconds of acceptance of values from a port series, transmitting continuous data.

Hello

I use a data acquisition unit integrated in a unit of 2 balls of hair, installed with a Zilla controller on an electric vehicle. Hairballs allows other devices to the device via a serial RS-232 port. The option of data acquisition for displays information like speed, tension etc.

I use Teraterm, a terminal Communicator to start communication with the device of hairballs. After having sailed in the various menus, I can access the DAQ feature that provides data continuously to the status of the various components of the vehicle. 5B 01 0b C8 03 53 02 39 27 OMFS is, for example, a sample of data from the module of data acquisition.

When the port is configured to send these data, I close the program Teraterm and run the vi in LabVIEW (series of reading and writing to .tdms only.vi) which stop automatically in 25 seconds (so recording 25 readings). It gives an error (-1073807252) saying that VISA: (Hex 0xBFFF006C) an overrun error occurred during the transfer. A character not read in the material before the arrival of the next character.

I'm unable to change the output of the device of data acquisition. In fact, the DAQ hardware has no controls what so ever. Thus, all the necessary adjustments must be made in LabVIEW.

Is there a solution to this problem? What could be the likely causes?

Thank you for your help in advance.

Best regards

Akhil Kumar mountain (M.)

Year 4 | Undergraduate | Mechanical engineering

National University of Singapore

E-mail: [email protected]

Mobile: (+ 65) 9326 7069

Hi Akhil,

I would be really grateful if you type my username properly - should not be so difficult to copy & paste the 5 letters

"So you are saying that if I increase the rate at which I accepted data, (for example every 500ms) the problem should disappear.

Yes. Read the more often you less likely buffer, you will get a buffer overrun...

"There when even to"Refresh"the buffer after each reading taken? ... How can you increase the buffer? »

Did you look at the advanced features in the VISA-> 'VISA'-> ' / unique Bus Interface "palette? It's all in your face

"Also a faster computer to run the program would help?

Certainly NO! These days, any computer is fast enough to handle standard RS232 serial communication...

Tags: NI Software

Similar Questions

  • Animate a CC-stop the animation after 30 seconds

    Hello

    I want to stop my animation after 30 seconds.

    I have mc MC

    I would like to stop any animation.

    I have try this

    Animate a CC-stop the animation after 30 seconds

    var delay = 30000;

    var startTime is createjs. Ticker.getTime ();

    this.myDelay = myDelay;

    createjs. Ticker.addEventListener ('tick', myDelay);

    function myDelay (e) {}

    If (createjs. Ticker.getTime () - startTime > delay) {}

    exportRoot.gotoAndStop ("stop");

    createjs. Ticker.removeEventListener ('tick', myDelay);

    }

    }

    but does not work.

    Help, please

    Hi you write this code below main scenario

    var root = this;

    function myFun() {}

    Console.log (root. MC1. MC2.currentFrame);

    setTimeout(frame_30,30000);

    }

    stage.addEventListener ("tick", myFun);

    function frame_30() {}

    root. MC1. MC2. Stop();

    stage.removeEventListener ("tick", myFun);

    }

  • Tecra A3 battery stops the charge after a second or two

    Hello

    I used the computer without the battery for a long time. Now, when I try to use the battery it is completely empty (it shows 0% º capacity).

    It starts to load when it is plugged in, but after a second or two, he stops, so it keeps the ability to 0%.

    The problem of any ideas of what can be?
    Thank you

    Hello

    Are you sure the battery stops charging to 100%?
    How have you checked it? What is the status of the battery LED?

    If you plug the battery of the laptop must be turned off.
    In addition, the charge process takes several hours if the battery is empty.
    I think you should connect the AC to the laptop and several waiting time.

    But if the battery will not charge, either the battery is dead or the portable electronic malfunctions.

  • Satellite A100 - turns off the power after 60 seconds

    After pressing the power button, the laptop starts but 60 seconds from the moment it is activated, the it turns off suddenly?

    The fan turns, I tried cutting dvd, wireless, modem, ram, hard drive, it opens and clean all the dust. It turns off after 60 seconds exactly every time

    Any ideas?

    Thank you
    Ben

    Hello

    > and clean any dust
    How did you do that?
    Usually, you can use jet of compressed air to clean the laptop and remove the dust that blocks the fan. That is why it s not necessary to disassemble the laptop as you can read here:
    [How to clean a Toshiba laptop cooling system? | http://forums.computers.toshiba-europe.com/forums/ann.jspa?annID=40]

    And the same thing happens if you access the BIOS instead of starting in Windows?

  • Change to save the file after 20 seconds

    Hello world

    I am trying to acquire data at a frequency of 50 Hz (random numbers for this test) and send to a lower loop with an architecture of producer-consumer. I would change my saving file after 20 seconds (or N seconds) automatically.

    I put a saving botton and a stop one but if I press the Stop botton, my VI does not close.

    I really don't know what could be the problem.

    Thank you in advance!

    Hi Lorenzo,.

    the block "Dequeue Elelement" has a defined timeout value. By default, one is - 1, it will wait indefinitely the incoming elements in the upper loop. So if you stop the upper loop, the bottom will keep waiting until you press "Cancel".

  • Unexpected end of VI after the acceptance of 3 lines of values from a serial port, transmitting continuous data.

    Hello

    I am currently working on the acquisition of data from a unit of 2 balls of hair, installed with a Zilla controller on an electric vehicle. Hairballs allows other devices to the device through a serial port. The option of data acquisition for displays information like speed, tension etc.

    I use Teraterm, a terminal Communicator to start communication with the device of hairballs. After having sailed in the various menus, I can access the DAQ feature that provides data continuously to the status of the various components of the vehicle. I saved the logfile of teraterm (Teraterm - Results.txt). 5B 01 0b C8 03 53 02 39 27 OMFS is, for example, a sample of data from the module of data acquisition.

    When the port is configured to send these data, I close the program Teraterm and run the LabVIEW VI (read and Write.vi series). It accepts 2-3 rows of data (error LabVIEW - 2.jpg In Motion) and then stops. I know there is a message of error involved, but I think that its storage in what concerns the information in the file (this is another problem, I need to resolve, the file is always empty).

    Could someone help me with this problem please. Why the software ends the execution after only 2-3 loops. Sometimes he starts to accept data from the middle (@ 1 0b C8 03 53 02 39 27 OMFS for example) and stops after displaying the it.

    If there is information required please let me know.

    Thanks in advance.

    The error you get is:

    1073807252 VI_ERROR_ASRL_OVERRUN A time-out error occurred during the transfer. A character not read in the material before the arrival of the next character.

    Your buffer is probably full of data.

    See here and here for possible solutions.

  • Menus in the area after two seconds, I scanned viruses with no luck, IBM Laptop XP

    No matter what menu, sure I click close in 2 seconds, so there is not the time to select an option.

    IBM laptop, running XP I updated my virus defs and did a full scan with nothing found.

    Thanks for the reply, the problem actually turned out to be a version of Norton PC Doctor has been moved by my wife, but never used years ago. She ran the program to see if it could speed up the machine, and it has a problem with the menus. Once I discovered this information I uninstalled and everything is fine.

    Thanks again for the response

  • Keep my computer will connect in the display after 60 seconds of inactivity.

    If my computer is idle for 60 seconds, he goes to the login screen and I always have to type my password to windows. I changed the settings to not sleep or hibernation. I could be reading a web article or watching a video and I have to constantly touch the touchpad or press the space bar to keep my computer back to the login screen where I have to enter my password. Having tried everything, no luck! Please help, it made school work almost impossible. Thanks Chris

    Right-click on an empty space on the desktop, click personalize , click screen saver , uncheck the box on the resume, the logon screen . Boulder computer Maven
    Most Microsoft Valuable Professional

  • Media Player open the files in several seconds in them instead of from the beginning of their.

    I use Media Player 12 on Windows 7 64it. Whenever I double click on a media file, Media Player successfully opens the file, but begins to play about 10 to 30 seconds in the file.  I then have to manually, drag the seek button so the file actually starts at the beginning. What type of file. No matter if the file is .wma, .mp3, .avi .mkv,... etc, it always does. Can I use Microsoft Expression Encoder to create a new .wmv file and Media Player will always do.  It is not a problem with the music or video files themselves.  The only plugin I have installed is the Last.fm plugin I've used for years without problem. The problem persists even if I disable this plugin, so it is not related to one or the other.  Please let me know if there is a setting I can verify or something somewhere I can change to get media player to read correctly. All the other media players on the PC work 100% correctly (VLC, MPHC, Roxio, DivX, etc.), but I prefer using Media Player. However, it's boring trying to watch a new movie and suddenly you are thrown in the middle of a scene without having the beginning. Any help would be appreciated.

    Have you tried to Reset WMP12?

  • Software Numark Cue crash or gel to the top after I've upgraded to Windows 7 from Vista-Help!

    I do experience intermittent freezing or the software simply disappears into the Office of many laptops! Just recently went through an upgrade from Vista to Windows 7. If I try to solve the problem of compatibility with Vista, SP1 or SP2 settings it shows that the program is not compatible. Is there a problem known with Numark, regarding Windows 7 or 64-bit... or a patch that I can download... anyone knows? BTW, when the software has been reinstalled it could work properly for months and then the experience of these questions!

    Thank you, Kathy

    The Numark Support site, I found the following page where you can upgrade to the latest version: http://www.numark.com/cueupdate

    Nuance community forum site also has a discussion http://community.numark.com/numark/topics/dj2go_issue_with_cue_full_verison when it appears that Cue can go also under the name of VirtualDJ and contains a link to a free download of http://www.virtualdj.com/download/free.html which is indicated as being compatible in the following description http://www.virtualdj.com/products/comparison.html Wndows 7

  • IPod touch sound stops after 10 seconds to watch the video of youtube

    IPod Touch 9.3.2 volume stops after 10 seconds while watching a YOUTUBE video. Continue to play video.

    This happen using the YouTube app?

    Or by using the YouTube site?

    Try it otherwise.

  • After a second, a number of categories disappear from the website and I can't read more?

    1. Question

    After a second, a number of categories disappear from the website and I can't read more?
    For instantance that I am looking for a telefoonnumber, I became the address and number once a second number disappears

    If you have installed Skype extension disable it.

  • Restart the problem after booting on Satellite Pro L20 - approx. 4 seconds

    I have a toshiba satellite pro l20 series and it worked fine until yesterday.
    the problem is that it restarts... Well actually, he stops in about 4 seconds after the start, remains closed for 1 or 2 seconds and then again
    same problem occurs with or without the battery.
    all I see is the Toshiba logo. I can enter the bios and when in the bios it does not stop.
    When I get out of the bios, saving the changes he stops. and then begins by itsself after 2 seconds.
    Please help me... How can I fix?

    Hello

    If the laptop goes through the Toshiba logo then maybe there is just something wrong with the software.
    In this case, the first step should be again install the Toshiba Recovery CD.
    Put the CD in the drive and try to boot from the CD.
    After installation, all should work properly.
    If it's not, so I guess there is a serious problem and service guys should check the laptop.

  • How the Boolean value off the coast in the system bell auto College after 5 seconds?

    How the Boolean value off the coast in the system bell auto College after 5 seconds?... and also the Bell has to ring only the days... Please help me

    basically take the time, times of beginning and end, including the days of the weeks...

  • Close a first VI after the passage of a second VI

    Ok.  I have a request to develop a program that will basically call first VI and then close it after the opening of a second VI.  I had not done this before (usually there is a VI 'main' at startup that runs within the program).

    I'm curious to know if there is a clean way out starts VI with other screws still open (they are called asynchronously maybe?).

    I don't know that I can just show/hide the front panels as needed for a work around.  But this prevents all loaded and open, etc and I wonder if there's a cleaner way.

    To be clear, the steps, I am trying to accomplish are:

    (1) start an application with a starting VI

    (2) make a simple user selection and equipment audit

    (3) based on the selection, call one of several different screws and transfer control to it

    (4) close the original VI (since it is more necessary).

    (5) close the second VI when the user is finished.

    Thank you

    Grant

    See example - unzip and run the Start.vi.

Maybe you are looking for