Parallel process run independently, but do not stop when vi completes

So I posted a problem yesterday about getting 'elapsed time' express vi to provide updates from a sub-vi to the calling vi. It was suggested that I create a parallel process in the sub-vi that will run the elapsed time function at the same time the other processes are running. I tried to implement this idea, but ran into a problem. The elapsed time process is a While loop paralleled with the main While loop in the sub-vi, It updates every second, based on my time delay, and when I view the running sub-vi, the elapsed time indicator is updating as it should. The calling vi, however, is not seeing these updates. I have wired an indicator to the sub-vi icon, but does not change until the sub-vi finishes.
Also, the other problem with the parallel process is that it runs forever, regardless of the other loop finishing. I have tried to wire an or'd bool to the stop inside the While loop, but when I do that, the elapsed time process does not start. 
I have tried data binding a shared variable in the project, and then dragging that to my calling vi, but again I get no updates on the elapsed time.
Any ideas????

A VI must finish looping before it has an available output (the terminal on the sub-vi icon).   Research how to communicate between loops. What you are doing can be accomplished with Notifiers (that's what I'd use), Queues, or Global/Shared Variables.
Your issues appear to be due to a lack of understanding of the LabVIEW data-flow paradigm. Check out the Producer / Consumer example. Post code here and see if one of us can give more guidance.
Richard

Similar Messages

  • PSE 9 was running fine but will not start now and I get the following message:  This application has requested the Runtime to terminate in an unusual way.

    PSE 9 was running fine but will not start now and I get the following message:  This application has requested the Runtime to terminate in an unusual way.
    I have an HP Desktop running XP Professional and tried Restore but it didn"t help. I was just going to uninstall and re-install but I can't get in to deactivate.

    See if anything here helps:
    Troubleshoot C++ runtime errors | Adobe products | Windows

  • I baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    i baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working. when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have a vizio led 26" but displays not support when I connect to my MacBook pro

    I have a vizio led 26" but displays not support when I connect to my MacBook pro

    Hello, Benlot.
    You may find this article helpful in troubleshooting the external display issue.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Cheers,
    Jason H.

  • I updated the spelling of a song in my itunes but its not reflecting when i check my ipod. this never happened before when after i updated to IOS5. please help.

    i updated the spelling of a song in my itunes but its not reflecting when i check my ipod. this never happened before when after i updated to IOS5. please help.

    Try unsyncing the sone and then resyncing. That works sometimes. Sometimes restoring from backup works. Other times nothing seems to work.. Yuo are not alone since iOS5 and iTunes 10.5/6.

  • U/tube videos open when using Safari but will not open when using Firefox.

    u/tube videos open fine when using Safari but will not open when using Firefox. With Firefox I get the unhighlighted Quicktime symbol with a question mark in the center. WHY?? Any help appreciated --- Toroya

    Hmmmm, strange you view YouTube in Safari & not FF. Which version of FF are you using?
    Try the following:
    Repair permissions & restart.
    Make sure you have the latest versions of Adobe Flash Player Software
    QuickTime Preferences > Advanced > MIME Stettings > Miscellaneous.
    Deactivate the "Flash Media" option.

  • My imac is on power but does not open when pushing start button

    My imac is down after 1,5 years! it is on power but does not start when i push the on button!

    Does it chime or nada?
    Might try an SMC Reset
    http://support.apple.com/kb/ht3964
    Also have a look at this Apple article
    http://support.apple.com/kb/TS1367

  • I get the message Ipod detected but could not identify when i plugged in my new 7th gen Nano. Tried troubleshooting steps with no luck. Tried plugging in my old iPod and i get the same message.

    I get the message "Ipod detected but could not identify"when I plugged in my new 7th gen nano. Tried troubleshooting steps with no luck, Treid plugging in my old iPod that worked fine and I get the same message.

    Tried troubleshooting steps with no luck
    Doublechecking. Have you also tried a complete uninstall of both iTunes and all the other related software components and then a reinstall? If not, try the instructions from the following document:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • I have update my 3g software to 4.21 but its not working when it come to restoring firmware its show a error please help me out

    i have update my 3g software to 4.21 but its not working when it come to restoring firmware its show a error please help me out

    That error shows up when a phone is jailbroken or you are trying to downgrade the iOS version. Neither of which is supported by apple.

  • I am using Iphoto 6 to create a slide show but my music stops when it supposed to loop?

    I am using Iphoto 6 to create a slide show but my music stops when it supposed to loop?

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • I am creating webpages with frontpage and trying to make collapsible lists. The lists collapse and work correctly in "preview" mode, but do not work when accessed through firefox or explorer 8. Does anyone know what I am doing wrong?

    I am creating webpages with frontpage and trying to make collapsible lists. The lists collapse and work correctly in "preview" mode, but do not work when accessed through firefox or explorer 8. Does anyone know what I am doing wrong?

    Welcome to the 'wonderful' world of HTML5 e-learning.
    In my view, from the issues I am seeing everywhere, HTML5 output from rapid e-learning tools such as Captivate is not ready for the kind of mobile device e-learning you want to develop.
    Sorry to be pessimistic, but you may need to consider going back to the drawing board and coding it from the ground up.

  • Problems with Labivew 2013 / 14 install - Ni Variable Engine error and Labview does not close, processes do not stop when I run Vis.

    Hi All,
    I am hoping at all my problems are relateded to a problem I am experancing, when I look into my windows 7 (64bit) event viewer near every time I boot up I get an error regarding the NI Variable Engine which reads.
    The description for Event ID 0 from source NI Variable Engine cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    C:\Program Files (x86)\National Instruments\Shared\Tagger\ni_tagger_plugin_mxs.dll: Failure to load plugin: Unexpected Error: Unable to get the Interface from the plug-in.
    and a second which is the same apart fomr the last line
    Unable to load the MXS configuration plugIn: Failed to get MAX Configuration interface for Tagger: 0x80040318
    I have tried uninstalling all labview things and I have tried repairing all labivew programs. Along with this I got this error when I installed Labview 2013 so I thougth why not try 2014 and I still get the same problems. I also shoudl point out I use bot 32 bit and 64 bit versions of labivew. I have installed labview on many machines before but never encountered this problem. That being said this was a new clean windows install.
    Along with thiese errors labview heardly ever shuts down properly when I close the program it just freezes and needs forshed shut down.
    Apart form this I noticed that when I run any of my Vis which I have never had problems with in the past and I stop the program somtiems processes keep using CPU such as "lktsrv.exe"
    I really need to get this sorted out because its morstly the crushing and processes not stopping which is rather annoying.
    I shoudl also say that these problems are both in the 32bit and 64 bit versions of labview not difference. and no difference if its 2013 or 2014
    Cheers

    Hi GajanS,
    Thanks for your reply sorry I havetn noticed anybody had replied as I stopped hoping for any responce before then.
    I have attached a screenshot of the four processes that seems to be giving me a problem.
    I have actually managed to find the program causing labivew to crash was in fact my antivirus software which I have now removed and have no more problems with labview crashing on shutdown.
    After removing it I tried the repair feature again for all my labview programs but sadly the one persistant problem remaining is still the four processes using around 13% processor each. I have found out this happens sometime after booting up regardless of if I run labivew or not. So it does not directly seem related to the running of any labview applications but rather a bug in the labview software.
     the processes are:
    lktsrv.exe
    tagsrv.exe
    nidmsrv.exe
    lkads.exe
    as shown in the task manager.
    I would relaly help if I can get this sorted out.
    Cheers
    Attachments:
    Screenshot 2015-03-24 21.50.00.png ‏12 KB

  • No Oracle processes running Oracles Shared segments not cleaned up

    I've been running into situations where a databases SGA isn't cleaned up from memory but no Oracle processes are running. I always thought that if the Oracle processes die the instance does too, but that doesn't appear to be the case. There's a script that pulls down databases to refresh DB copies. My initial thought was that in certain situations the db isn't shutdown and the files are overwritten, but I have not been able to reproduce it. There's nothing in the Alert.log.... no errors what so ever. In what sort of circumstances would you see a databases SGA still in memory and no Oracle processes running? I can cleanup the shared memory segments.... I'm more concerned about understanding how it is occurring.
    Any insight would be appreciated.
    Thanks

    Please reread your post with great care.
    Do you see a platform and operating system?
    Do you see a product name and full version number?
    Do you see a description of which commands were executed?
    Good. Because I don't either.
    Post a full and complete description of the environment so we can try to replicate it.

  • Adobe connect video running smooth but mine not

    Hello everybody,
    I was trying to publish and receive H.264 video using AMS 5 developer version from flex code using netconnection and netstreams. I am trying to send a 200 kilobits/sec of video.
    1) The video being received at the other end is not smooth. Even a small drop in the bandwidth at publisher or receiver side produces jerks in the video and audio gets broken as well.
    2) Then I compared it with Adobe connects video it worked smoothly for the same scenario. So i decided to dive deep.
    3) The packet information says that there were some major differences in my video packet and adobe connect's video packet
    Property
    My video packet info
    Adobe Video paket info
    Flags
    Flags: 0x018(PSH, ACK)
    Flags: 0x010(ACK)
    PUSH
    Set
    Not Set
    Window size value
    1189
    229
    Scaling factor
    64
    -1
    Can anyone explain me the differences and guide me about these attributes and how to change them in my application so that i can use this beautiful technology by adobe optimally.
    Regards,
    Sahil.

    I am happy to help but I still have the problem of not connect when addin installed. I need the addin very much.
    Still waiting for help.
    Update:
    Tried now at home with Windows 7 Ultimate 32 bit. A computer that havn't seen Connect pro in it's life. Fresh install of the addin on an already installed flash player 10.0.45.2. More and more I start to think it is related to the flash player version
    Update 2:
    After digging very deep into what exactly is going on when the addin is initializing, using a process viewer and the Windows Firewall activity log, I saw that when the addin tries to connect to Adobe, it automatically requests port 443 (SSL Connection). I have a hosted account and the option "Require SSL connection" is disabled. Nevertheless, automatically when connecting to my admin page, it switches the connection to SSL (instead of http://.... it has https://....). It doesn't even try to run a 1935 port connection and then SSL. Goes directly to SSL.
    The solution was of course to remove the "s" from https and it worked. 2 days of searching came up to this one letter. Today I am going to call support and report this thing.
    Why does it block SSL connection on my PC, I have no idea. It worked perfectly last week.
    I have not installed anything new on my PC, besides updating to the newer flash player on Friday.

  • Firefox will not open and states that its already running. But is not?

    After several opening and closing of Firefox several time it will not open when I click on the desk top icon. A screen will come up that Firefox is already running and that I will have to close it before I can start Firefox. To correct this I have to restart the computer. It will then work ok for a few time but will then not start again.

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.org/kb/Firefox+hangs

Maybe you are looking for

  • Channel partner

    Hi All, I have few questions , might be basic. what uis will be used by channel partners: am thiunking as below: for rigistration purpose: they will use b2b icss or isa ui for other functionalitities like maintianing qualifications and certifications

  • Crystal Report not visible when using IE9

    Hello, I have a report that has been displaying fine in IE8 for me, but when I upgraded to IE9, the report stopped displaying.  This problem seems to only occur if the report has more than 5 columns of data in it.   If it has 5 or less columns, every

  • Prevent document name from appearing in named destinations?

    Is there a way to prevent the InDesign document name from appearing as part of the named destinations that get automatically generated when exporting to PDF? For example, I add a text anchor named "Help" to a particular heading in an InDesign documen

  • Best backup of iTunes purchased music: not cd, or dvd

    let's say you have 30 gigs of iTunes purchased music. what's the best backup if you can't choose cd or dvd? i'd figure another iPod would be the answer. any opinions on the matter much appreciated. ipod_madness

  • Arabic letters are typed reversed

    Dear All I have been several month having this problem, when I lost hope to find the answer using search engine, I decided to ask it here in forum hopping that someone solve my problem. I have Photoshop Middle Eastern Version CS5. When I type Arabic