Launch of a vi without end in the order

Hello!

I have a vi that essentially can be represented by a while loop that never stops until I press a button.

I want to load and run this vi of a sequence without him hanging up this sequence.

In addition, at the end of the sequence it would be great if he could end the loop in the vi.

For this last part, I made the vi gave reading a variable in my premises and the loop stop as soon as it's value.

(I think it's a good solution, but any suggestions are of course welcome )

To be able to run the rest of the sequence, even if the vi never ends, I was less successful.

I tried to put the vi in a sous-suite and then, by running this subsequence in a different thread.

However, browsing the main sequence, he made the steps over the call of the subsequence,

but then the main sequence always freezes until I stop the loop in my vi.

What I'm doing wrong exactly? Any help would be appreciated!

You were on the right track with the call sequence in a new thread. What you are missing, is that you should use the Thread.ExternallySuspended API in your vi. Set it to true initially and it wrong right before returning to teststand. This will allow the follow-up by the other thread of execution then your VI is still ongoing. You must also use the Execution.InitTerminationMonitor and the Execution.GetTerminationMonitorStatus in your VI so so that your vi knows when to exit if a user requests execution to terminate or cancel.

In addition, insofar as the main sequence, saying your asynchronous when VI at the exit. You can pass a local Boolean variable as a parameter to your main sequence to your "New discussion" sequence and your vi then it goes from its context of sequence as a parameter. $myvariable or everything that you named your setting. Make sure that the parameter defined as "pass by reference" (right-click on it in your sequence and make sure that this menu item is enabled).

Hope this helps,

-Doug

Tags: NI Software

Similar Questions

  • I bought the photo Illustrator and ask the Adobe site plan for individuals with credit cards, but to date I have not received the confirmation email. How can I contact for more information on the good end of the order?

    Hello 11/18/2015 I bought Illustrator photo and ask the Adobe site plan for individuals with credit cards, but to date I have not received the confirmation email. How can I contact for more information on the good end of the order?

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    .

    If Yes

    Some general information for a subscription of cloud

    Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • I'm stuck on a sign without end through the loop. Help!

    I'm stuck in an Adobe Indesign CC sign in infinite loop. Help!

    Adobe Creative Cloud connection errors

  • Start without end after a update___ of Windows Vista

    I and the HP laptop with Windows Vista.  I lost a hard drive last week and replaced myself and reloaded all my software.  No problem after that until this morning, I got a Windows download update, I went to auto install updated.  After the download, the machine/Windows is stuck in a start-up without end with the message «loading update 3 of 3»

    I tried F8 and can successfully access the boot menu.  I tried all modes safe mode adds the restore option.  All of lead them to a black screen, with a lot of waiting, and then hand it to the boot without end upward.

    I only have recovery disks that were made for me by the Geeksquad at time of purchase.  My computer is powerless, that I am at this point.  Help, please.

    Hello

    You can use the solutions in this KB - 3 methods and I listed a little help for them below

    The update is not installed successfully, you receive a message, and the computer restarts when you try to
    install an update in Windows Vista and Windows 7
    http://support.Microsoft.com/kb/949358

    Method 1: Start Windows Vista/Windows 7 with the Windows installation media and use the repair feature

    How to do a startup repair in Vista and Windows 7
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    You can also do a safe mode startup repair to access the Recovery Options If you have them available
    or use the DVD as described above.

    This tells you how to access the system - Vista Recovery Options
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    This tells you how to access the system - Windows 7 Recovery Options
    http://Windows.Microsoft.com/en-us/Windows7/Startup-Repair-frequently-asked-questions

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    Method 2: Start the system in safe mode and then use the system restore feature

    How to do a system restore in Vista and Windows 7
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can also do a restore of the system of starting with a disk of Vista or Windows 7.

    Method 3: Use the downloads at the end of this article - note for Vista x 86 versions 32 bit and Vista
    x 64 64-bit.

    The update is not installed successfully, you receive a message, and the computer restarts when you try to
    install an update in Windows Vista and Windows 7
    http://support.Microsoft.com/kb/949358

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

    Once you are in Windows I was running once again reset here as a precaution.

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    Hope this helps sort it out for you.
    Rob - bicycle - Mark Twain said it is good.

  • I have a tree without end of links that I can't get rid of

    A few days ago I tried to use robocopy to do a backup of my "User" folder on another laptop computer in network. Unfortunately, I forgot to use the /XJD. switch Now I have a 500 GB drive that is saturated due to an endless loop of records "Application Data" nested in the other with a casual Adobe folder thrown in. I tried to manually delete the directory tree but get him "...". path is too long.. "error in Windows. I get similar questions in a command prompt cmd by using RD (remove directory).

    I tried to use the script at the address, use robocopy again to remove the folder through /mir below switch structure. Yet once, it failed after 12 min due to the track being too long. Whenever I run the batch file, the run time keeps getting shorter and I am always left with a folder tree without end of the 'Application Data' folder. I managed to release 100 GB in this way, but I still could not get rid of the folder.
    I would like to avoid formatting the drive as he always gave him on it that I want and no place to put it right now. If I have to format the drive, just wait until I can pick up a spare part in the future to move the data off the coast.
    Does anyone have a suggestion how to remove this link of circular reference directory?
    script: http://www.windowsitpro.com/article/tips/jsi-tip-9651-how-can-i-delete-a-folder-that-returns-path-too-long--84207

    Hey Joe,

    Thanks for the reply.

    You can also post this question in the TechNet Forums: http://social.technet.microsoft.com/Forums/en-US/category/w7itpro/

    Thank you.

  • Animation reverses without end

    So, I based this code online just now to play the animation in reverse along the timeline.

    var targetFrame:int = 1;

    If we are in front of the camera, start going backwards

    if(currentFrame > targetFrame) stage.addEventListener (Event.ENTER_FRAME, goBack);

    function goBack(evt:Event):void

    {

    prevFrame();

    kill the event listener when the target is reached

    If (currentFrame < = targetFrame) stage.removeEventListener (Event.ENTER_FRAME, goBack);

    }

    It worked very well and I have since used it for several different projects for a few different purposes.  I now need is change this option or use a completely new code for something that I'm trying.  I have a rollover event that sends you back along the timeline, but I want the mouse of the event to stop the animation opposite stadium that never happens when the user moves the mouse.  I did something similar in the same project to move forward and stop with the mouse on and events.  In the case of the animation before, I simply put a stop as the output event command and worked perfectly.  With this reverse animation it work well.  The event runs to start the reverse animation, but the output with the stop command event does nothing and I guess this is because the code is forward the user to a specified target frame.  I think that what I have to do this action works as I want him is having the mouse at the beginning of the event a setback without end of the animation, which will not stop until he reached the 1 frame or told him to stop a command.  I think that it is the target of this code that ignores the mouse of the event.

    So, in other words.  Can someone point to code that will reverse the animation in the scenario constantly until it reaches the end?

    The key to stop the reverse trip timeline will be to remove the event listener, as you do in the service that you have demonstrated, just occur in deployment without conditional function.

  • I downloaded the Sync Firefox Add on, but when I select 'Add a device' it are launching a help page which tells me to click on 'Add a device' - circle without end!

    I downloaded the Sync Firefox Add on, but when I select 'Add a device' it are launching a help page which tells me to click on 'Add a device' which is a circle without end!

    Any advice appreciated

    Sorry about that. Using pages have been updated for the new 'add a device' addresses in Firefox 4, but the add-on for Firefox 3.6 is still using an older, different process.

    You can download Firefox 4 release candidate here and use the new "easy installation" process described in the help pages: http://firefox.com/rc

    Or if you prefer to stay with Firefox 3.6, so instead of clicking 'Add a device' on your computer, press the 'Connect' button on your phone or other device, and then click "I'm not near my computer...". "and enter your email address and password sync key. (If you do not know your key synchronization, see synchronize your bookmarks from Firefox, history, passwords, etc.)

  • After you type the master password in session can force type master password once again without ending the current session and start new session?

    Sometimes after using the password to access an account during a given session of firefox, I want to "repeal" this ability of automatic access (i.e. require type the password again once) without having to put an end to the current session and restart firefox.

    It's nice to only have to type the password once per session, there are times when after launching an action that I would let the browser unattended for a short period but to prevent others to access sensitive information on other sites if they can't my master password. Note that this is not the same thing as "locking the browser. Currently, the only way I know to force it is to kill the session and restart the browser but it's not very satisfying if I really want to stay connected (allowed) to a particular site. I hope that adding a button in the Security tab "requires the master password for the current session" would be a simple solution to implement? Thank you for your attention.

    You can connect from the software security device (e.g. click Cancel in the dialog box display the passwords) to force them to return to the MP once more.

    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".
    • Tools > Options > advanced > encryption: Certificates > safety devices: software security device: Logout button
  • Error in getting the brother following non-text for XML without CR at the end of tag

    Hello all,.

    I have a strange error of parsing XML files with labview. I have an XML file in a single line, without CR at the end of each tag. A normal browser or analysis tool XML is able to read, but not with Labview.

    The error I have is with "Get Next non-text Sibling.vi", which in their own country fails to read the Type property (error-2630, property node (arg 1) in NI_XML.lvlib:Get next non-text Sibling.vi-> XML Get siblings Childs Nodes.vi-> encode data to label (Path) .vi).

    Parser XML LabVIEW works if I add a CR to each node/tag.

    I am quite sure that this is a bug in labview. I found a workaround is to open the file, then save the file with the Save File (Pretty Print) method and then open again, but it's a lot of time and I would avoid it.

    Kind regards

    Daniele

    You were right, I did my own necessarily get a brother following text nodes (which also includes RC, I did not know it!).

    Now it works, there is no bug of labview, also if the functions XML documentation is very poor.

    Thank you

    Daniele

  • HP OfficeJet 4620, how to scan a legal size document without chop off the end?

    HP OfficeJet 4620, how to scan a legal size document without chop off the end?

    Using the scanning software provided by HP that was installed when you used the HP installation cd

  • Transfer of ADE 4.5 PocketBook-drive without end. Doesn't stop, but finally the transfer is allowed

    Transfer of ADE 4.5 PocketBook-drive without end. Doesn't stop, but finally the transfer is authorized.

    Normally the transfer stops after completing, but it doesn't.

    Can you give me an idea how to handle this problem?

    Thank you

    You used Windows or Macintosh?

  • How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe is reall

    How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe of really making me cranky.

    Hi thomh65004143,

    You simply drag the Acrobat DC application from the applications folder to the trash to uninstall.

    Then restart your system & install Acrobat XI Download Adobe Acrobat products. Standard, Pro | DC, XI, X.

    Let me know if you are still having a problem.

    Kind regards

    Nicos

  • If I buy one Prime Minister prepaid by annual pro adobe application, after the after the end of the subscription of one year it would be possible to use the program without updating or should I pay each year?

    If I buy one Prime Minister prepaid by annual pro adobe application, after the after the end of the subscription of one year it would be possible to use the program without updating or should I pay each year?

    You will not be able to use the program after the end f the subscription, unless you continue to subscribe.  The only way to use Premiere Pro without subscription is to buy the CS6 version.  Remember that projects CC is not properly open to the CS6.

  • I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it for always after compensation for her. If I pay $20 each month at the end of the year I will still be able to keep the software without paying for it again (not to ment

    I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it forever after that I pay for it. If I pay $20 monthly for 1 year as he says, at the end of the year I will always be able to keep the software without paying for it again (not to mention the upgrade) and use it. If this is not how to pay for it and keep it forever, and how much it will cost me?

    sirnih4l wrote:

    I'm new to the Adobe software. I want to buy Adobe after effects CC. I want to keep it forever after that I pay for it.

    Is not possible. After effects CC is the only software to subscription. You pay each month and download all the updates that are included. But you never admit it.

    If I pay $20 monthly for 1 year as he says, at the end of the year I will always be able to keep the software without paying for it again (not to mention the upgrade) and use it.

    N ° after 12 months, you either renew your subscription or you cancel your plan.

    If you choose to renew then you keep paying your monthly fees. If you choose to cancel then the software will stop working until you choose to renew.

    If this is not how to pay for it and keep it forever, and how much it will cost me?

    There is no way to buy CC pure and simple and keep it forever.

    The only version you can afford and keep it forever is CS6 (the version before CC) available here

    Creative Suite 6

  • How to duplicate layers &amp; groups without automatically add a "copy", "copy 1", "# copy" at the end of the new group.

    How to duplicate layers & groups without automatically add a "copy", "copy 1", "# copy" at the end of the new group.

    He has been harassing me for a while now, since I often work with the same elements over and over again. His frustration of having to change the name of each layer manually, especially if I copy an entire group.

    Is there a setting in Photoshop or maybe an external script that can help solve this problem for me?

    See you soon,.

    Qiming

    You can go to the Forum script:

    http://forums.Adobe.com/thread/433759?TSTART=0

    http://forums.Adobe.com/message/1116182#1116182

Maybe you are looking for