Switch between triggered and untriggered AO: must clear the task each time?

Hello

I use August to produce a range of sine values sent several times to help to allow regeneration, with samples finished, that is launched by a trigger. Call it a group.

One trial involves hundreds of groups. But there are gaps between them where other devices do things. In this gap, I also change the values of the sine table and then restart (awaiting release). I would use just the task Stop and Start Task live for it.

The complication is that I want the area of OCCUPANCY to a specific value in the gap between the groups, which might not be the last value in the array. I want a way to say: once you have completed the task, do the AO to X sit until you press the trigger to start next. Since I'm on regeneration, I can't just set on the end of the matrix of normal results.

Is there a way to do this without erasing the task is triggered, creation of a new task untriggered, set the value of the then delete again, creating a new task triggered, ect., hundreds of times she's going around the loop?

Thank you

Isaac

In case anyone else wants to try something similar, you can't actually transition between two tasks, with the same (lines) means using VI DAQmx stop task simply because resources are always reserved.

Instead, I replaced the task to stop the VI DAQmx control task with action defined as "Cancel". Can I cancel a task, and then start another and so come and go without the need to erase or create tasks every time (the same idea could be used for any number of tasks in the same sense, if I only have two).

I tested by meassuring the analog output and it seems to work, no error is reported in the code.

Tags: NI Software

Similar Questions

  • Switching between microphone and line-in in the Realltek Sound Manager

    Ok.
    Now I know where the Realtek Sound Manager, and I can control the parameters of the microphone and speakers.
    But how can I switch between microphone and line-in?
    At the moment I don't see a line of component option snap at all. Is it because it's a kind of auto detect and the opportunity every time I connect something?
    Everyone knows this, or has some experience in this regard?
    Cordially in advance
    Frans

    Sorry but I don't understand what exactly you want.
    You have built in mic or you can use the external microphone connected to the mic-in port.
    When the external microphone is connected a resident will be disabled.

    The question is: what do you want exactly and for what purposes? Please explain what is the reason for this switching between mic and line-in port?

  • Display satellite C50-A546 cards how to switch between NVIDIA and INTEL?

    Hello

    How can I switch between NVIDIA and INTEL graphics cards?

    PS
    I have already installed all the drivers, but I can see that INTEL the card used chart!

    * OS: Windows 8.1 x 64
    * NVIDIA driver: 340, 52-portable
    * DirectX: 11

    Hello

    The Intel graphics chip, which is part of the central unit should be used for low performance applications, because it allows you to save energy and reduce the internal temperature.

    For best performance while game, it s advisable to use the external GPU (nVidia or AMD)
    This setting can be changed in the nVidia control panel s

    Here, you should choose manage them 3D settings (can be found on the left in the nVidia control panel)

    Now in the main window, you will find two global settings and program parameters tabs
    In the program settings tab, select the (game) program that needs to use the nVIdia GPU

    If it is not listed, click the Add button
    Then choose the graphic processor preferred for this program (generally must be nVidia processor high performance)

    Last but no less, in this program-specific settings, you can assign additional features to improve performance.

  • (Vista) Is there a PRACTICE way to switch between speakers and analog headset?

    (Vista) Is there a PRACTICE way to switch between speakers and analog headset? Must I ALWAYS return the default setting, depending on which audio output device I want to use?

    We have recently installed Music Maker 16.  Before that, we never had a need for headphones and a microphone.  Now, in trying to use the headphone and microphone - and THEN switch back to speakers - we discover a problem.  Apparently, the only way to do it is to change the audio output device by default EVERY time.

    The dispute with this cannot be more of this.  My son records a beat and singing (with headphone and microphone), and then, play through speakers (so we can all hear), we need to change the default settings.  And back...  There must be a better way!

    Any help would be greatly appreciated.  Please talk layman jargon; I'm not a COMPUTER guru.  Thank you!!!

    Hi AnnieElle,

    You will need to switch between the speakers and the analog device and special value to use as the default device. There is no way to set the device to be used at the same time. You can follow the steps below to switch between the speaker and analog device.

    1. right click on the speaker icon in the taskbar.

    2. click on the playback device.

    3. Select speakers or analog device.

    4. right-click on it and click on set as default device.

    Hope the above information helps.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Equium L10-273 kept switching between battery and power

    Hello

    I saw a similar post here and I was wondering if anyone could tell me if they have had this problem sorted? My Equium L10-273 kept switching between battery and power all others second, which made it impossible to type, it's got worse and worse. I thought it was a problem with the power supply, but when I removed the battery from the laptop is ok running of the adapter.

    He kept also make a noise of hissing/crackling growing fan region, which stopped when I removed the AC adapter. The adapter was unusually hot, and the fan area became too hot to the touch. This stopped now, I removed the battery, so I want to know is what someone has solved this problem by replacing the battery or it should be returned?

    This laptop is less than 2 years old, but apart from his one year warranty.

    Hello

    According to the description of your problem, I think there is a problem of electronic power supply. Sorry but there is not a universal solution, and I recommend you contact the service authorized in your country. Explain the situation and see what they say.

  • It takes up to 4 minutes for the player switch between library and Rip, and vice versa.

    I run Media Player 11 on my XP machine with spare 120G on the C: memory and 3G - recently, it takes up to 4 minutes for the player switch between library and Rip, and vice versa. I have re-installed twice but no change. No new software has been installed before this time.

    Hello Absno69,

    Thank you for your message.  You mentioned that there were no new software installed before that happens.  Were there any hardware changes or updates?  If this isn't the case, we will perform a system restore to a point that you know that your system is working effectively.  Click HERE for the system restore instructions.
    Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • I want to restore switch between windows and display the desktop icon

    a few days before these two icons was actually on the task bar and now I have deleted how restore it back
    (switch between windows and display the desktop icon)

    Hello

    Copy the new:

    C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    To your user account to:

    C:\Users\launch of \AppData\Roaming\Microsoft\Internet Explorer\Quick

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Switch between files and change the window using f8 - Dreamweaver CS 6

    In Dreamweaver CS 2, I could switch between files and windows edition with the f8 key. Dreamweaver CS 6, this doesn't seem to work. Is there a way I can put it so that I can switch between the 2 windows with a keyboard shortcut?

    Hello stilley,.

    I'm now working with DW CC, so I can only show you how to work with it, but I'm sure it's the same way:

    In my German DW:

    Bearbeiten > Tastaturbefehle > screenshot > files > Kurzbefehle +-taste press > change > Ok.

    Translated something like:

    Edition > keyboard shortcuts > screenshot

    > Files > shortcuts + - press > edit > Ok.

    Good luck!

    Hans-Günter

  • It is possible to switch between mode 'file separate globals' to 'share the same globals file mode' during the test run.

    Hi all

    It is possible to switch between mode 'file separate globals' to 'share the same globals file mode' during the test run.

    Or there is another option to use variables separated and shared at the same time for 2 parallel Sockets (ParallelModel.seq).

    Thank you

    Thank you

    I think it's useful!

  • No way to distinguish between failure and normal when to get the document of the UCM?

    Hello

    I use the service GET_FILE below to get the document from the Complutense University of MADRID

    request.putLocal (IdcService.NAME, IdcService.GET_FILE);
    request.putLocal (IdcDocumentAttribute.DOCUMENT_ID, dID);
    request.putLocal (IdcDocumentAttribute.NAME, dDocName);

    and then the output stream:
    ServiceResponse response = client.sendRequest (context, dataBinder);
    InputStream inputStream = response.getResponseStream ();

    they work most of the time very well.
    However, in this case, exception that I can't file, rather than receive exception, I always get a steady stream until I got out of the stream as a string, I realized that this is a format string HDA indicating failure.

    I wonder if there is no way to distinguish between failure and normal exit without open the output string stream?
    Thank you.

    We expect that the user can download the document so successfully in the form of output stream.

    It's probably a bad support, as you have already seen ;-)

    Is the output as string-HDA when the expected of the UCM rather than throwing exception failure?

    It should be pretty easy parse the real answer to retrieve the status code the system riser. You should not need to open the file to find the error.

    Something like

    response.getLocal("StatusCode")
    

    should tell you if the file has been found. A-16 status code means that the file could not be found. In the case of a successful GET_FILE, it does appear that a status code is still present, so test just for the mere presence of a status code should be sufficient.

  • 29 Firefox fails to come out properly and continues to run in the Task Manager.

    It is a continuation of a thread found here:
    https://support.mozilla.org/en-US/questions/997448 by Compumind.

    I pointed out that I had the same experience, especially at the opening of the email links in Thunderbird. I reported also that forced me to go back to 28 FF.

    Moses responded by top wire and suggested:
    (1) download a fresh installer of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) the release of Firefox.

    (3) rename the folder

    C:\Program Files (x 86) \Mozilla Firefox

    TO

    C:\Program Files (x 86) \OldFirefox

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    I followed these instructions carefully but no joy. When installing 29 FF, not only refused to leave (using "exit") and continue to run in the Task Manager up until I killed him after the opening of links in Thunderbird, but I find that he refused to come out after a simple navigation and links.

    Moses had asked that I didn't answer in the original thread, so I re-post here.

    In my view, that there is a serious bug. With Firefox 28... no problem don't except a minor that I have indicated here:
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=1002089

    Yet once I am obliged to 28 FF, although I miss the nice interface and security patches, I need to have a browser that works properly. My wife never even saw the Manager of the tasks before so that's the problem.

    In addition, "guesses" made with this post, the only other thing usual outside that I do, is to have a security policy about cookies (accept by default... I make exceptions for cookies I want to keep and have several that are "allow only for the session.") I also FF the value delete history of navigation at the exit, but that takes a fraction of a second.

    I look forward to when this matter can be addressed successfully and I am able to use 29 FF (and out properly... I can't wait for my wife to follow all of these instructions and it often close manually in the Manager of tasks... or what I want to do this.)

    Good luck for all Mozilla projects. Having installed 29 FF twice and then back return 28 twice, I'll wait and see how this plays out. Please don't send me the standard "start in safe mode", 'restart with disabled modules', 'reset Firefox' stuff (the last time that completely destroyed my browser). I don't think that is what is happening.

    Moses added that there is a problem with the e-mail notifications passing by, so take your time, friends.

    I think now (temporarily) this bug or problem has its roots in "history leaving Compensation."

    I made the leap after a few game with 29 PortableFirefox and reading the blog post linked here:

    [https://support.mozilla.org/en-US/que.../997918#answer-566755]

    .. .and installed 29 FF on my previous FF28 on my box. I unchecked the "clear history on exit" which was only to delete my history, not cookies or anything else, cor - el. My setting should not accept cookies unless I make an exception. Until the FF developers find a way to do this is functional, I'll just have to manually delete the history.

    Furthermore, John99, you want to maybe privacy.sanitize.sanitizeOnShutdown set to 'False', not 'true' If you want to stop the automatic deletion of the history at the exit (attempt).

    I've been running for about 6 hours. without experiencing the bug 'suspended '. So, I can live with that for now until this bug is fixed. It should be fixed... browsers are supposed to be able to do things like that.

    On the other hand, I could find things go wrong... but so far I'm not having a problem.

    I for several hours and will let you know later if things change.

    Kind regards

    Axis

  • How can I clear the cache from time to time, it improves anything

    How do I clear the cache from time to time, or that I should, and improve anything

    Which cache?

  • My pdf files that I am editing keeps "freezing" and I have to use the Task Manager to end the program. I have the latest version of Adobe Acrobat Reader DC and I have 10 windows? Is there any solution for this?

    My pdf files that I am editing keeps "freezing" and I have to use the Task Manager to end the program. I have the latest version of Adobe Acrobat Reader DC and I have 10 windows? Is there any solution for this?

    Hi gregs5153218,

    You can't the PDF files to be changed with Acrobat Reader DC.

    You must have the Acrobat application to edit PDF files using Acrobat. Edit PDF files.

    Kind regards
    Nicos

  • When I try to start the computer in the morning, he goes off and after trying to restart the computer 2 times it becomes normal. Please give me any solution for this.

    When I try to start the computer in the morning, he goes off and after trying to restart the computer 2 times it becomes normal. Please give me any solution for this.

    Hey Abdul HamidNagoor,

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What is the brand and model of the computer?

    Follow the steps in the article.

    Advanced Troubleshooting for General startup problems in Windows XP

    If the problem persists, follow the steps in the article.

    How do I recover from a corrupted registry that prevents Windows XP startup

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following link. http://support.Microsoft.com/kb/322756

  • In the 14 elements - everything works fine until I hit theTEXT tool of "T". Then the program hangs and I have to use the TASK MANAGER to close it. I have 7 previous elements that goes back to the beginning of the 2000s and am very familiar with the elemen

    In the 14 elements - everything works fine until I hit the TEXT tool "T". Then the program hangs and I have to use the TASK MANAGER to close it. I have 7 programs above, which dates back to the early 2000s and am very familiar with the elements. I did the update - but still the same. Anyone got any suggestions?

    A simple reset will often do the trick. Go to this link:

    Difficulty of tool

Maybe you are looking for

  • external Mac backup (partitioned) do not pick up

    Since the update of 10.11.6 (15G 31) my computer was not save its backup (this is a partitioned hard drive and reads the windows format section and not the section backup Mac) someone at - it advice or experienced a similar situation? Thank you!

  • iCloud, game and music confusion Apple iTunes music library

    OK, first of all, I was a Match iTunes and subscribe Apple music, but before not to renew iTunes game, I asked and he said that if I keep my subscription to Apple's music, I would not lose my iCloud library. But its been a month now since the end of

  • Satellite X 200 - 20F - where to find 64 - bit drivers XP

    Hye! I want to use my laptop (x 200 - 20f) with Windows xp 64-bit.I search the drivers for this laptop but can not find... Fox drivers XP 32 bits for the wireless network, work! I would like the Nvidia drivers for my laptop Kind regards

  • PSC 950 pilots searched for Win98SE

    HP is not compatible Windows 98 anymore, so I was wondering if anyone had a driver for my printer for Windows 98 Second edition.

  • 5.06 TVSU hangs on T540P on Windows 8.1

    Hello everyone, here are the details: The machine is a T540P, the type of machine is 20BE-004EUS. 5.06 TVSU will start and run the check for new updates , but hangs on the last stage, treatment of package information. Compabtibility parameters have n