Aborting a subvi and then returning back into the subvi

Anyone,
I have a subvi that is gathering calibration values in a while loop.  However, this subvi gathers precal data before the actual calibration data in which this precal gathering process takes quite a bit of time.  When I run this subvi by itself,and hit the abort button during the time its collecting calibration data, i can re-start the subvi by pressing the run button and it will continue gathering calibration values without needing the precal values.  But, if i terminate the while loop in the subvi, and hit the run button again it will ask for the precal values again, which takes a long time.  So, in my main vi which calls this subvi, "ideally" i would like to call this subvi only one time and abort its execution without terminating its while loop, so i can keep re-entering the subvi without it asking for the precal data.  I do not want to seperate this precal process with the cal process within the subvi because the instrument driver that came with the product has both of these functions together using dll calls to pass values to each other, and Im figuring there is an easier way to do this.  Any help would be great.  Thanks,
cmaddox99

cmaddox99 wrote:
.... and abort its execution without terminating its while loop, ...
Can you explain this statement once more   (I don't think you can abort a VI without terminating its while loop).
Maybe you want to design something along the lines of an action engine? There is also the "first call?" primitive.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Every time I move emails from the inbox to another mailbox, then click on any mailbox, and then go back to the inbox, the moved messages have returned to the inbox

    Every time I move emails from the inbox to another mailbox, then click on any mailbox (the emails are there fine), and then go back to the inbox, the moved messages have returned to the inbox. I have moved them out of the inbox to other mailboxes again and again, but then they keep showing up in the inbox again as soon as I click on any mailbox other than the inbox. Very frustrating.
    This has only happened since I installed Mavericks on both my Macbook Pro and my iMac. It happens on both of them.
    Any ideas how to fix it?
    peter

    This may be one of the known issues with Gmail and it's IMAP settings working with Maverick's Mail.
    It all comes down to if you have the ALL MAIL folder visible or not via IMAP.
    If you do not, then you get the behavior you are describing.
    If you do have ALL MAIL visible, then there isn't a problem.
    Odd, I know.
    Anyway, check out this article on Wired which describes the problem and work around. You may have to click on the NEXT button at the top of the window to advance to the proper gallery image that describes this issue:
    http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/#slideid-23460 1

  • Video/Audio out of sync / stutters at start and then jumps back into sync.

    Everything appears fine in the Simulator and when played in the computer. However I have noticed on 2 different DVD Players that when the video starts the audio is out of sync for about the first 20 sec or so and then slides back into sync for the remainder. Seems to sort of lag.
    I am exporting NTSC videos out of FCP and encoding via Compressor. I am using the Compressor presets (usually 120 min Fastest Encode).
    Anyone see this before?

    Fixed. There was 5 sec video clip that plays before the main video in the track. However, the 5 sec clip was video only, not audio, and was as a .mov as opposed to mpeg2. Anyways I encoded the 5sec clip in mpeg2/AAC and added it before the main clips and everything works. Still don't know WHY it happened and why it stuttered, any ideas? Don't think it was the lack of black at the start as i didn't add any.

  • How can I move all my bookmarks from different Firefox profiles into one area to organize them and then place them into the different Firefox profiles?

    How can I move all my bookmarks from different Firefox profiles (would like to move whole bookmark folders at once if possible) into one area to organize them and then place them into the different Firefox profiles? This is all under one window user account, I am using windows 8.1. Even if you have information on how to do it on a different windows, it may still be helpful. Thanks for any input you have.

    Just a note about the difference between these two things:
    * "export" and "import" use an ancient HTML document format that all browsers can understand. When you import bookmarks, Firefox may place them into an Imported Bookmarks folder, or into Unsorted Bookmarks. This does not displace existing bookmarks, and Firefox does not automatically remove duplicates.
    * "backup" and "restore" use a more comprehensive JSON data file, which contains extra information about your bookmarks (such as tags) not contained in the traditional export file. HOWEVER, a restore completely replaces all existing bookmarks, so the restore feature cannot be used to merge in a set of additional bookmarks.
    Related support articles:
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Import Bookmarks from a HTML file]]
    * [[Restore bookmarks from backup or move them to another computer]]
    Some users find the disk-based Windows Favorites folder a convenient way to organize bookmarks. If you do, too, and you do not need to preserve tags on your bookmarks, you could export each profile's bookmarks to HTML and import them all into IE11. Organize them in the Windows Favorites folder, then export from IE11 to HTML and import that file into each Firefox profile. See: [http://windows.microsoft.com/en-us/internet-explorer/add-view-organize-favorites].

  • Can I access a label inside of an MC and then go back to the main time line

    Here is my current set up.
    I have a labeled section on main time line which has icons of 12 different videos. Each icon acts as a button and brings a user to a labeled section with a FLV Video Playback component impemented to play the corresponding video. These labeled sections are located on the main time.
    This methog makes my main time line very long. Is there a way to make an additional MC which will hold all the video buttons and then have this MC separated into labeled sections.
    In other words can I access a label inside of an MC and then go back to the main time line?
    My present code for accessing the label located on the main timeline is:
    HowTo_maininfo_mc.theArrangement_btn.addEventListener(MouseEvent.CLICK, theArrangement_btn_amimated_btnDown);
    function theArrangement_btn_amimated_btnDown(event:MouseEvent):void {
    gotoAndPlay("theArrangement");
    How would it look if my label "theArrangement" would be located inside of an MC?
    Is there any specific code if I want to have a close button located on the label inside of an MC and it needs to fire out to a label located on the main timeline?

    Oh, WOW! It is working perfectly now.
    My mistake was that I was specifiying the var sourceVar:String;
    for every single button. It was not clear to me from the first example that it has to be specified only once.
    I made a small test Flash file and everything works now. It still doesn't work on my big flash file, I guess some other code messes it up and I can' not figure what it is exactly.
    I would like to include the OUTPUT error message in hopes that you can spot right away what a mistake could be:
    VideoError: 1000: Unable to make connection to server or to find FLV on server
              at fl.video::VideoPlayer/stop()
              at fl.video::FLVPlayback/stop()
              at acolyteVideos_fla::mainsite_mc_2/stopF2()[acolyteVideos_fla.mainsite_mc_2::frame484:21]
              at flash.display::MovieClip/gotoAndPlay()
              at acolyteVideos_fla::mainsite_mc_2/onClick_GoBackToHowTo2()[acolyteVideos_fla.mainsite_mc_2 ::frame484:13]
    If there is no immediate cure for it, I will go through code line by line. Since it is working on the test it must be something wrong with my main file.
    Additiona question (please let me know if I should paste it as a new thread)
    I have similar set up with UILoader. Where different buttons set up to bring a user to individual labeled sections with individual UILoader. Should it be arranged in the same way that it is only one loader and "var sourceVar:String;" code is the one which brings up different content for each button?

  • My sons ipod shows the apple sign and then occasionaaly a white screen appears and then goes back to the apple symbol.. He cant get it to turn on

    my sons ipod shows the apple sign and then occasionaly a white screen appears and then goes back to the apple symbol.. He cant get it to turn on.. He has tried charging it.He also held down the sleep/wake button and the home button at the same time to reset it.  we need help

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Ok. So my iTunes started acting up a few months ago. ALL of the songs I purchased from the iTunes store stop in the middle of the song and then go back to the begining (I keep it on repeat one song by the way). Please help!!! (Windows 7)

    Ok. So my iTunes started acting up a few months ago. ALL of the songs I purchased from the iTunes store stop in the middle of the song and then go back to the begining (I keep it on repeat one song by the way). Please help!!! (Windows 7) I would really like to hear my songs all the way through, but I can't . I tried the "Convert Protected ACC files to Purchased ACC files fix" but it DIDN'T work. I don't know what to do. It does it when I transfer the music onto my Classic too.

    What do you mean "doesn't recognize"?

  • When trying to Airplay from my Macbook Pro Retina, to AppleTv3 it plays for only a few minutes, and then jumps back to the Mac. It seems to do this no matter what I play, music, movies or pictures. I just bought a new router. This could affect it

    When trying to Airplay from my Macbook Pro Retina, to AppleTv3 it plays for only a few minutes, and then jumps back to the Mac. It seems to do this no matter what I play, music, movies or pictures. I just bought a new router. This could affect it.
    I have been playing whole movies before from VLC without problems.
    Any Ideas?

    Welcome to the Apple Community.
    Yes it's network issues or settings that cause these types of problems most of the time.
    The following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.

  • The sound doesn't work.  It's set appropriately in settings, the volume is turned up all the way with the side buttons, but no volume.  When we try to play songs, it acts like it's going to play and then goes back to the play list.  Restored and still no

    It's set appropriately in settings, the volume is turned up all the way with the side buttons, but no volume.  When we try to play songs, it acts like it's going to play and then goes back to the play list.  Restored the device and still no sound.

    Try A and B
    (A) Restart iPad
    1. Hold down the Sleep/Wake button until the red slider appears.
    2. Drag the slider to turn off iPad.
    3. Turn iPad back on, hold down the Sleep/Wake until the Apple logo appears
    (B) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • TS3276 When I click on the "Get mail" icon, nothing happens even though I know there is mail. However, if I click on "send" and then go back to the Inbox, the emails start loading. What's going on?

    When I click on the "Get mail" icon, nothing happens even though I know there is mail. However, if I click on "send" and then go back to the Inbox, the emails start loading. What's going on?

    Make sure your Mac's software is up to date.
    Click your Apple menu  top right in your screen.
    From the drop down menu click Software Update.

  • Since updating to OS X Yosemite, I am unable to save files into another computer or server. I have to save it on my desktop and then drag it into the server. How do i correct this?

    Since updating to OS X Yosemite, I am unable to save files into another computer or server. I have to save it on my desktop and then drag it into the server. How do i correct this?

    Ok this worked to solve the error.
    Use cmd prompt in windows 7 or 8 and run as admin:
    sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc config mrxsmb20 start= disabled
    No need for all that power shell nonsense as shown elsewhere for windows 8.
    That's it. Also force smb2 disabling on the apple side for good measure.
    With the above I was able to network mavericks and windows 8.1 pro flawlessly. He issues I had before where I could not read video, ISO and audio files (but could open documents and pictures from the windows machine connected to an apple network share folder went away.

  • Ple logo shows and then its back to the home page

    my ipod in the middle of an app it goes off and then the apple logo goes on and then its back to the home page what shold i do?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • My iPhone 4S has decide to stop playing any of my music. All my songs are there, but when I click to play, it just scrolls through a bunch of songs and then reverts back to the play list. Anyone have any suggestions as to how to correct this? Thanks.

    My iPhone 4S has decide to stop playing any of my music. All my songs are there, but when I click to play, it just scrolls through a bunch of songs and then reverts back to the play list. Anyone have any suggestions as to how to correct this? Thanks.

    I am having the same issue. And today, I noticed that when I was talking on the phone, the volume went down low. I had to reboot the phone, so that the volume was up again. Mostly, though, it's my music that I am having issues with.
    Same issue as listed above. iPhone 4S. IOS6.

  • Everytime I click on an app, it loads then cuts off, and then goes back to the home screen. What do I do?

    Everytime I click on an app, it loads then cuts off, and then goes back to the home screen. What do I do?

    - Reset the iPod. Noting will be lst:
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Download/install any new app
    - iOS: Troubleshooting applications purchased from the App Store

  • Is it possible to take a mixed and bounced wav and convert it back into the original individual aiff separate tracks?

    Hello.  Is it possible to take a song that has been bounced down to a .wav and is now in itunes, and import it back into logic but as the original seperate tracks that make up the bounced .wav?  I have some songs I recorded when I first started using Logic, and the mix and mastering is horrible.  I have gotten way better since then and I would like to remix and re-master some of these tracks.  Only trouble is I no longer have the original seperate track Logic Aiff files. I know I can obviously import the bounced down stereo .wav file and remaster that,but it would be really cool if Logic had some way of recalling the song back into its seperate tracks.  Is there any way at all to do this? If Logic can't do this maybe there is an app out there that can? 
    Even though I just downloaded Logi X I also decided to keep Logic 9.  So I can run both if that helps.
    Thanks,
    Mike

    That would be like mixing a cake batter and deciding you wanted to start over using the same ingredients, separating the eggs, milk, baking powder, baking soda, flour...etc, back into their original form.
    Can't be done... the instruments share the same frequency ranges.  There is sofware that let's some adjustment to pitch be done but trying to pull out individual instrument/vocal tracks from a mix would leave you with very, very inferior tracks to re-mix with.

Maybe you are looking for

  • Possible to capture an image if the button on the cam is clicked?

    Hi! Im testing JMF and wonder if anybody knows if it is possible to capture click events from the web camera? The web camera itself has a button made to capture images and I'd like this feature in my application. All I wonder is if it's possible to c

  • Problems with repainting in new JD 9.0.4.0

    I just installed new JD 9.0.4.0 . I think that from this moment I have problems with painting java graphics objects (for example Application Module tests or simple login dialogs). When I move that window, its remains are left on the screen until I ov

  • How to connect Hyperion Essbase

    Hi all, I am new to ODI.I have requirement to load data from oracle to essbase. Please help me to create connection deatils for hyperion essbase? Rama

  • Turning off validation in EVS

    Does the Extended Value Search Service support a mode where there is no validation of the input field value (i.e. the message is not shown in the messageManager)?

  • "Inside isClusterMode, bCluster is : false" while installing 9i

    Hi, I am facing a strange error while installing Oracle 9i R2 on RHEL4 x86-64 Bit on HP ProLiant DL365 servers. After i have run the ./runInstaller command the Universal installer starts the installation.. however in the background on the unix prompt