Run a VI in real-time without a delay

Hello

I want to communicate in real time with a sound level meter via a serial port. I have already created my program, but I still have a 3 second delay, maybe it's not important but I have to remove to my request.

Is it possible to completely remove the delay?

Just for the record, my Vi contains two local variables, could that be the reason? Or perhaps because only a certain port timeout series?

If you need to see the program, just tell me.

Thanks in advance for your help.


Tags: NI Software

Similar Questions

  • Display in real time with a delayed recording LV6.1

    Hi, I need help with LabView 6.1

    I have a hardware module FieldPoint where I read 8 channels for thermocouple. I want to display the value of the thermocouples in real time (or as close as I can manage) all saving the values in a CSV file at discrete time intervals (every 10 seconds). I am able to display the values in real-time, but the recorder real-time records, produce a lot too much data. I'm able to delay the recording interval, but in bulk then display in real time!

    The following example shows a method I've tried. The delay time in the loop of logging seems to delay the entire program. I also tried to use the loop of the logging of a sequence (using a simple delay of 'Wait') structure and a structure of matter (with a counter and only do the loop of logging real when the counter gets to 1). I tried to configure synchronous display without success.

    I'm having no luck and wonder if someone could point me in the right direction?

    Ah, the benefits of time.

    I think that I managed to create a solution for me using a different tact. Instead of using individual meters of delay, I used a "trigger time" approach as demonstrated in this thread;

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=286988&query.ID=6280650#M286988

    Currently, it is limited because it will allow only a delay of 59 seconds between the readings, but this should be relatively easy to solve. The solution works continuously update the display with a slight delay to help cope aging computers, and then the button "Log Data" is selected writing worksheet function is called second pushed together as selected. Quite a simple and elegant solution I think.

  • How display you continuous data in real-time without sacrificing the functionality of control of users?

    Hello

    I created a vi (see table) that displays a signal when the user selects the start/stop button. The user can interrupt the signal by selecting the same button. "Gathering" and "stop collect" buttons each screen a message when selected, and the button "exit" to stop the vi.

    What I want to do: create a user will be able to start/stop the signal and be able to call the functions from the 'collect', 'stop collect' and 'Quit' buttons, no matter what state the start/stop signal is in.

    What is actually happening: buttons work if not selected in a specific sequence. For example, by clicking on the 'stop collect' button then the ' start/stop' button, the signal will not appear. But reverse the order and the signal is displayed.

    Why the loop containing the Simulator signal interfere with the loop that contains my structure of the event for my buttons? I'm using Labview 2013.

    No, this loop ends. In your diagram, it starts when your program does (although you should also press the start/stop button to generate data), and once he is arrested, there no way to start it again.

    Cameron

  • Browse the contents of the hard disk of the target in real time

    Hello

    Is there an easy way to browse the content of the hard drive on a real-time target by using the file path control (or another type of control)?

    What I have in my application is a PC real-time desktop (running on PharLap) who has a Main.vi running on it. There are a few configuration files (for this VI) I want to be able to read and record to that would be stored on the hard drive of the target in real time. However, when the application runs and I hit the Browse button, it displays the contents of the Windows machine and not the machine in real time. Is there something I'm missing?

    Please note that I can send via FTP on the Windows computer to the target in real time and can interact with the drive of the target in real time without any problem.

    Thank you.

    Mike

    If you LV 2013 actually use WebDAV screws thus:

    http://digital.NI.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvcomm/WebDAV/

  • Is it possible to start remotely apply exectutable on target in real time?

    Hi all

    My apologies if this is an obvious question - I couldn't get an answer using the search terms I could think of - and I'm quite new to programming in real time.

    Is it possible to launch a .exe in real-time without head (or not compiled application on the computer of RT) with the help of a contribution by a distance VI - one .exe running on a portable computer based on Windows for example. I'm currently building an application where my Windows based GUI communicates with the use of machine RT shared variable. However I soon would like to put my code on a colleague who will test the application. I remember that a .exe can be saved in a specific on the RT machine folder such that it will launch at startup. However I prefer to store several .exe on the machine and allow my colleague to choose which launch.

    My first thought is to write an .exe wrapper (which will be autolaunch) who can then launch any other .exe saved on the computer using the wrapper. However, I prefer to launch the .exe directly and one at a time if possible - it seems a more elegant solution.

    Best regards and thanks,

    Dave

    Well, there is certainly a way to do it, but NEITHER does not expose this method.  However, you can programmatically restart an RT target and also you can use the vi FTP rename the "startup.rtexe" file that will autorun on reboot.  Good luck!

  • Deployment of local variables shared on a real-time target

    Hello everyone, once again

    I read more posts and knowledge base articles about this topic than I can count at this point, and I'm scared, I'm still not clear on exactly how it works, and I hope that someone can delete it for me, if it is to earn themselves some laurels more.

    I have a project with a real-time quote and the other Windows.  They shared communication via network-published variables.  The real-time part also uses shared single process variables to communicate between the loops.  I have the intention of all 3 libraries of shared variables (Windows-> RT, RT-> Windows and RT Local) to be hosted on RT target for reliability.  Real-time executable must start at startup and run even if side Windows is not started (on the side of Windows is optional).

    I realized that real-time executable will not start the variable engine shared and/or deploy itself shared variables.  I also read that I can't deploy the shared variables programmatically from the side of RT.  This leaves only two options that I know of:

    (1) their deployment programmatically in Windows-side program.

    (2) deploying the shared variables on the target RT manually via the project in the LabVIEW development environment, and

    About option 1, as I said running Windows is supposed to be optional, so you have to run a program on the Windows side before the side RT will work is highly undesirable.  Moreover, even if I do a little "Deploy shared variable" application that runs at Windows startup, I can't guarantee that it will work before start of the side RT executable will run.  In this case, the executable file RT will fail due to not having the variable engine shared running?  If so, and side Windows, and then starts the engine / deploys the shared variables, the side RT begins to work automatically?  If not, is it possible to trigger this restart of the Windows startup application side?

    Also, I just read everything and tried the option to build to deploy variables shared in the application of the side Windows.  Not only that my RT shared Local Library variables not listed as an option (given that the application of the side Windows does refer to it in all for obvious reasons), but when it deployed two other libraries at startup, the program side of RT (which was running in the development environment) stopped.  I'm not positive that would happen even if he was running like a real executable file, but it is certainly enough to make me nervous.  I assumed that the library is not listed may be resolved by including a variable network-a published in the local library of RT and including the app side Windows.

    About option 2, I don't understand how I'm supposed to deploy my libraries shared variables without stopping the execution of the startup on the target real-time application.  Once I did, the only way to restart the application of the RT is to restart the computer RT, correct?  In this case, I just undid all the interest to deploy the shared variable libraries?  Unless libraries remain deployed and variable motor shared running even after restarting the computer of RT, which would solve the problem I guess.  Certainly, I would like to know if this is the case.

    However, option 2 is complicated by the fact that when I manually right-click on any of my shared variables libraries and select "Deploy" or 'Deploy all', libraries still do not appear in the Manager of the distributed systems, even after clicking Refresh several times, on the local system or the target system.  The only thing that shows up, on both sides, is the Group of 'System', with FieldPoint, etc. in it.  The same is true when I run my application in real-time in the development environment, even if the shared variables are clearly working, as I mentioned earlier.

    So, if you have done so far through this mammoth post, thanks!  I have three main questions:

    (1) are that all my descriptions above correct in what concerns the variables how work sharing?

    (2) what is the best way to meet the requirements I have described above for my project?

    (3) why shared variables libraries not appearing in my manager of distributed systems?

    Thanks for any help you can give on any of these three questions!

    -Joe

    1. Yes, as soon as you deploy the project the NSV is tranactional.  EVS is loaded by MAX when you configure the RT target and begin to operate as part of the boot sequence.

    2. you can see anything on your target rt in the DSM?

    3. Yes, NSV and EVS are persistent resets.

  • Application errors of the RT with the PXI-4461 with Labview real-time 9.0.1, DAQmx 9.0.2

    HI -.

    I recently converted a PXI time system real OS (PXI-1042 q chassis, controller PXI-8187, DAQ, PXI-4461, DAQ, PXI-6259). I can write and run DAQmx applications in real time with the 6259 very well. Whenever I try to write a labview RT app to use the 4461, however, it will fail. Note that I can use two cards through MAX I tried switching card slots, just in case it was a problem. Both cards worked with labview, the PXI chassis was before Windows.

    Attached are pictures of the screw base demo I built to show the problem. Since I was a mistake (-200758) if I started from the raw strings, I tried to create a MAX task and use it. The task, but he complained of a buffer is too small. I explicitly put the buffer to work around this problem and still get the same error (-200608). I've also attached a screenshot of the software currently on the Max MAX RT PXI system is version 4.6.2 btw. (I installed the most/all this from DS1 Dev Suite 2010 version).

    Please let me know if I hurt something installed, versions if 4461 just don't play nice with the new BT or RT software, or if something is wrong. Thank you.

    Kregg

    The first error you see is (details in the help-> error explain in LV)

  • Apply real-time: delay is ignored

    Hello

    I am trying to set up a standby database can be found in paragraph 12.1, but apply in time is always activate.

    Of the primary database, I always see in the alert.log:

    WARNING: Managed Standby recovery started by APPLYING in TIME REAL

    DELAY of 60 minutes ignored elementary

    Same database alert.log emergency exit:

    Managed Standby recovery started by APPLYING in TIME REAL

    Specified previously ignorant DELAY 60 minutes for the sequence of thread 1 169

    Archived newspapers is copied on standby but applied immediately. Delay of log_archive_dest_2 is ignored. Why?

    Primary DB:

    Select the id dest_id, database_mode db_mode, recovery_mode,.

    protection_mode, standby_logfile_count 'litigants. "

    ACTIVE standby_logfile_active,

    archived_seq #.

    v $ archive_dest_status;

    ID DB_MODE RECOVERY_MODE PROTECTION_MODE ACTIVE ARCHIVED_SEQ LAR #.

    --- --------------- ----------------------- -------------------- ---- ------ -------------

    1 OPEN 0 0 169 IDLE MAXIMUM PERFORMANCE

    2 RISE-STANDBY MANAGED IN TIME REAL IS APPLIES TO MAXIMUM PERFORMANCE 4 0 169

    Specific parameters are:

    log_archive_config DG_CONFIG = (JFDG, JFDG_SB)

    LOG_ARCHIVE_DEST_2 SERVICE = JFDG_SB ARCH ASYNC DELAY = 60 VALID_FOR = (ALL_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = JFDG_SB

    LOG_ARCHIVE_DEST_STATE_2 ENABLE

    standby_file_management AUTO

    I restarted standby db with

    ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.

    or

    recover the parallel managed standby database disconnect 2;

    = > same result

    How can I use a delay of application of archived log?

    The version of the database is:

    Patch 20831110: applied on Thu Sep 24 09:55:04 CEST 2015

    Patch ID: 18977826

    Patch description: "Set update database: 12.1.0.2.4 (20831110).

    Operating system: Redhat 64 x 6.6 (2.6.32 - 504.el6.x86_64)

    Hello

    1. oracle docs: https://docs.oracle.com/database/121/SBYDB/release_changes.htm#SBYDB5408

    Apply specific features to redo

    • The USING CURRENT LOGFILE article is is no longer required to start real-time applies.
    • To physical databases ensure, issue the ALTER DATABASE RECOVER MANAGED STANDBY DATABASE statement. (From the Oracle 12 c Release 1 database (12.1), the USING CURRENT LOGFILE article is obsolete and is no longer necessary to start real-time applies.) (doc: https://docs.oracle.com/database/121/SBYDB/log_apply.htm#SBYDB0050)

    2. entry delay (real-time applies to will does not provide the option, his conflict with your apply requirement)

    Doc: https://docs.oracle.com/database/121/SBYDB/log_apply.htm#SBYDB4762

    Note:

    If you set a deadline for a destination which in real time is activated, delay is ignored. If you set a delay as described in the following paragraph, then you must start the application using the NEWSPAPER ARCHIVE in the HELP file

    clause contained in Section 8.3.1

    .

    3 doc:https://docs.oracle.com/database/121/SQLRF/statements_1006.htm#SQLRF00802

    https://docs.Oracle.com/database/121/SQLRF/statements_1006.htm#BGECJDHB

    Note:

    Beginning with the Oracle 12 c database

    real-time applies

    is enabled by default in the course from the redo apply. Real-time apply redo retrieves waiting for redo log files as soon as they are written, without having to check in all first to the physical database ensures. You can disable real-time apply, with the USING ARCHIVED LOGFILE clause. Refer to:

    It may be useful

    Every bit of information is covered in Oracle docs, spare some time for learning.

    -Pavan Kumar N

  • RAM Preview plays is not in real time on the new Macbook Pro

    Hello world

    I have problems getting after effects to play the video in real time in AE CS6. I use a brand-new Macbook 2015 Pro 13 "retina with a dual core 3.1 GHz processor Intel Core i7 and 16 GB of RAM. I just made sure my copy of AE CS6 is up-to-date with the latest updates (11.0.4.2), and yet I am unable to read the video or animation in real time using the RAM Preview to any size greater than 25% in the Viewer.  If I try to play a video clip of 29,976 fps, the framerate tops out at about 17-18 frames per second. When I press 0 for the RAM Preview, it starts caching the images such as normal, but even after a loop continuous cadence comes not near real-time. The audio plays fine, but the video starts immediately behind. I can't even a scene of simple great test of a form of retouching layer move on the playback screen in the real time RAM Preview.

    That said, I can get it to play in real time if I reduce the viewer up to 25%. But obviously, I won't be limited to work in quarter resolution on a new laptop. My last Macbook pro from 2008 and completely across the well treated RAM previews, being able to cache images and play them back in real time without problem.  I have to assume that there may be a function that I'm missing or something goes wrong, unless I just grossly overestimated the capabilities of my new laptop.  But surely, it should be able to manage simple video playback. I had no problem using first on this computer, then it can of course deal with the video.  Any help you can offer would be much appreciated, because this problem becomes really frustrating!

    Just for fun, try the trial of CC 2015 and see if it behaves correctly.

  • Windows Essentials program running "Real-time Protection"... the mouse cursor turns into hourglass several times per second...

    I have disable real-time protection it stops on and off an hourglass toggleing... its annoying... How to stop to turn to an hourglass without disabling protection... it doesn't seem to be a problem of performance... but it is visually annoying... Please and thank you for your comments.

    I had just installed Microsoft Essentials... before uninstalling software anti-virus TrenMicro expired... maybe Detailer left some files on my system after uninstall?

    Hello

    This problem normally occurs when there are files that are infected by viruses.

    Method 1:

    Run a scan antivirus on your computer.

    www.Microsoft.com/Security/Scanner

     
    Note: If infections are detected during the scan, there is a risk of data loss because infected files will be deleted.

    Method 2:

    You also try to run the uninstaller to complete tool to remove traces of antivirus Trend.

    http://eSupport.trendmicro.com/solution/en-us/1056551.aspx

    Check the issue.

    Method 3: Clean boot

    If the problem persists, you can place the computer in a clean boot.

    Put the computer in a State of boot is a way to know which application is causing this problem.

    To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    Step 1: Follow the steps in the link below to do the same thing:

    How to configure Windows XP to start in a "clean boot" State

    Note: After troubleshooting, be sure to set the computer to start as usual as shown here:

    Step 2: To configure Windows to use a Normal startup state

    After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    a. Click Start and then click Run.

    b. type msconfig and click OK. The System Configuration Utility dialog box appears.

    c. click on the general tab, click Normal Startup - load all services and device drivers and then click OK.

    d. When you are prompted, click on restart to restart the computer.

    Hope this information helps. Response with status so that we can help you.

  • Loudness Radar can run faster than real time?

    My apologies if this has been asked before - I couldn't find an answer to a search.

    Loudness Radar can run faster than real time? Making sure that my levels is ready for dissemination of a television show, I'll have to essentially play through the whole thing to get a global level. Is it possible to have the Loudness Radar go on and give me a general level without having to hit 'play' and go away for a while? I'd like to be able to do in the first, but I'm fine with the export of hearing if that's what it takes.

    I've never had a problem with just dropping the main level (make sure that the Loudness Radar is set to post fader, btw). So in your example, Yes, I turn down the master by 0.9db.

    Speaking of which, my new faster way to manage the volume on the content of the longer emissions must export just the audio format .wav temporary somewhere, then load this file in hearing and its volume tool to know the LKFS level. Then, I take whatever number I get and set the main volume in first to do no matter what level the station/deaf network/tv customer needs. It's a heck of a lot faster, since the hearing can analyze loudness faster than real-time. On 30 seconds, commercials, using the Loudness Radar in Premiere Pro's no big deal, but dealing with half-hour TV series, with the help of hearing on export to .wav is much faster.

  • Can I download a background on the system in real time and run it?

    Hi, I would like to take advantage of some tools in the system in real time.

    I thought that I could download it by file transfer,

    and then did something like this in the system in real time.

    Probably it is not...

    However, there is other ways to achieve my thought in the system in real time?

    Do you mean the exe was built for windows, so that it is not allowed to run in time real system?

    Fix.

    I have to communicate between CompactRIO and servers through an ethernet cable...

    so... you write a program runs on the cRIO and bring it to your servers over TCP.

  • How to get the query execution time without running...?

    Hello

    I had one condition... as follows...
    I had 3 sql statements. I need to run only sql what runtime is very less.

    Can someone help me, how to get the time query and run this query without using explain plan... ?

    Thank you
    Rajesh

    I can't think in any way at all to get the query execution time without running the query.

    You might get an estimate ( approximation ) If you are using explain plan.

    But you have governed to explain plan for a reason, so I can't help you.
    Why you do not want to use don't explain plan?

  • Defender pro 5-in-1 is unable to run, because the real-time protection is disabled

    I installed Defender pro 5 in 1, it won't work. He said: real-time protection is disabled. don't know how to turn it on

    Never heard of Defender Pro 5 in 1 until now.

    Suggest you contact Defender Pro 5-in-1: http://www.defender-pro.com/support/

  • Multi layer R3D is not running in real-time on Mac Pro

    Dear all,

    It is the first time that I am on the Adobe Forums, so please bear with me. I work with r3ds EPIC on first Pro CS5.5, with Red Rocket installed on Cyclone Expander via x 16 Slot PCIExpress, its also got a Quadro 4000 on the Mac Pro Slot 1 and one of the Expander. However, the Mercury playback engine does not play in real time on the preview. Drive to work is on a Promise Vtrak x 30 via CF 8 Gbps ATTO HBA. The Mac Pro specs are 24 GB of RAM, 8 Core Nehalem 2009 2.26.

    Any ideas if I can increase performance.

    Well Yes, his work. RR turned off, allows engine Mercury and Quadro 4000 alongwith processors to do the hard work that allows you to play several 5K image streams to the res and quality according to what the mentioned components can handle. The thing is only debayer to RR can a max of 1/2 of sequences of 5K anyway and because he is demosaicing to full quality his works already at 100%. So adding another track with the RR rocket active just don't cut. Its says that when you work with the EPIC HDRx (two streams of 5 or 4 K video with different stops to give more leeway in the post for the same single shot is saved by EPIC) 1 HDRx stream requires 2 RR because its 2 stream, if there are several layer of HDRx let say 2, then you must install 4nos RR in the system to actually play it back to quality debayer full (this is why you turn it off when you are working with several layer of r3d RR). Also note that the lowest wreck, you can go with active RR is 1/4, while others are grayed out.

    I hope this helps.

Maybe you are looking for

  • QuickLook works do not for the pictures in Messages

    I am a very experienced user with multiple Macs and several iOS devices, all El Capitan running (or Yosemite) and iOS 9.3 and all messages (SMS/text/iCloud) synchronize correctly between all devices. But on my main Mac, a 2015 (MBP) (El Capitan) MacB

  • connection - after moving to a new location and a new Internet service provider

    I'm moving to a new location and get a new ISP .What can I do to connect again with Skype? MOD edit: [title to be more descriptive]

  • Haradware

    Mr President, I bought hp DC7800 and installed windows 7. The microphone of my computer is not woking. To start the computer, this message reflect "this version of AudioESP is not scheduled for this operating system. Is this problem due to what MIC d

  • HP 309 paper jam message

    1. There is no paper that is stuck inside. 2A looked everywhere, took off the duplexer. Removed all paper. 3. the power recycled several times. 4. do you have a #3 then #6 then #9 (two times nothing). 5. rocked and shook, nothing. 6. use compressed a

  • ITunes no sound is audible, but "seems" to play properly.

    Very well.  I have a Dell Inspiron 1525 with Vista Home installed.   I also have an IPhone and therefore I have ITunes on my computer.  Yesterday, everything was working perfectly fine. This morning when I turned on my computer ITunes is not playing