An embedded program can wait for little 13/14/15 of MCS?

Hello. I want to use a program embarked on a map of NI7344 to wait until it is marked to go ahead of the host machine.

The function 'flex_wait_on_event' would seem the only logical possibility but documentation implies that bits 8 to 15 MustON and MustOff masks are ignored.

Is there another function, I don't know?  Without doubt, there is a way to do it from the host can set the MCS registry with "flex_set_status_momo".

Thanks in advance SDG

SDG,

have you already discovered, flex_wait_on_event does not work for you. There are several alternatives to interrupt the execution of a program on board. E. g., you can write to a variable on the host. The program on Board could read this value and use a comparison operation to satisfy the conditional jump surgery ocndition. Then go back to a label before the comparison operation and jump out of this loop, when the host has sent the command to continue (= modified the value of the variable on board).

Could you please explain what you are trying to accomplish with your program on board? In general there are only very few applications that really require embedded programs. Programs on board only work not significantly faster host programs and they also don't run with better determinism, as they are performed in a low-priority task on the 68331 to the Board of Directors.

A typical usecase for an integrated program prevents a gesture, if forces become too high by monitoring an entry, but they ar analog rarly used to complete implementation move sequences, as there is almost no real advantage for tasks like this.

Kind regards

Jochen

Tags: NI Hardware

Similar Questions

  • Make a phone call by program - the wait for the user to input?

    Hello

    I use the following code to place a phone call from my application:

    Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new PhoneArguments(PhoneArguments.ARG_CALL, phoneNumber));
    

    and it seems to work, at least in the Simulator.  However, when this line running the Simulator dials the number immediately.  Peux-I rather the phone displays the number and wait that the user press 'call '?

    I know that I can warn the user with Dialog.ask (...), and if it's the only thing to do I will do.  I'm just curious to know if I can get the phone to do so.

    arkadyz wrote: instead can have the phone displays the number and wait that the user press 'call '?

    No, this is not currently supported.  You can use a dialog box inside your own application as you describe.

  • Why the uninstalller in programs continues to show "wait for program to uninstall?

    My youger grandson has been download game apps & material on 'programmes', I went to uninstall some of the unnecessary programs, but... after uninstall & going to uninstall another - can't remember the name of program exact-it has not "Uninstall" apparently. I get it - when I go in uninstall another program: "Please wait for the program being uninstalled or changed."

    How do you stop/prevent the program "current" freeze WARNING/finish to uninstall others?

    thanx

    Hi Edward,.

    There seems to be a problem with the installation of programs.

    Run the Fixit and see if it helps.

    http://support.Microsoft.com/mats/program_install_and_uninstall/

    Good day!

  • "Waiting for in time (RT PXI target) real answer" error when the program is waiting interruptions

    Hello

    I developed an application to detect interruptions generated by an electronic card and act accordingly. The program was developed in labview, but she calls a dll; created with labwindows. The dll is scheduled to open the visa communication, select the events and install the interrupt handler and when an interruption is detected, it reads the value of the different registers of the map and returns to labview to view.

    The problem is that when the program expects an interruption, a prompt appears with the message "Waiting for real-time (RT PXI target) real answer" and the only option I have is to click on the button to disconnect the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application view data as it was planned.

    To wait for the following code the interruption has been programmed into the function:

    While (flag == 0)

    {

    Sleep (1000);

    }

    When an interruption occurs, the value of flag set to 1 and function continues without any problem. I am not really sure, but here is probably the problem and it probably isn't the best way to wait for a break because the sleep function suspends the thread to the configured time, but at least the load calculation in the PXI is between 0 and 1%. I was wondering if anyone knows how to wait for a break without 'lost' communication with PXI and if there is a better way to do it.

    Any response will be welcome and thank you for them,

    Jaime

    Hey there.

    You see problems with connectivity it's because the thread by DEFAULT CallLibrary nodes running in is the UI (UI) thread - UI thread manages also the important things like, say, communications (especially all the connections for the VI server) and other things that you could run all the time.  A CallLibraryNode is not, by default, intended to be used to execute code that runs for a long period of time.  If you want to do this, you assign the execution of the CallLibrary node to run in the context of a LabVIEW run-time engine thread (by selecting to make it work "in any thread") and not the UI thread.  This can be done through the properties of the CallLibraryNode.  By selecting "run in any thread" the call DLL will be generally in the context of the thread running in the run LabVIEW, which is usually what is meant when even.  The VI CallLibraryNode color change of Orange (UI) to blue (LabVIEW thread) so that you can quickly tell what context the appeal will be in.

    The reason the interface thread user is the default thread is because most often DLLS calls need to be serialized (because of functions is not not thread-safe) and so it serves to protect the integrity of the system.  However, if you know your threads are thread-safe, or you will use these threads for a while, it is best to program the CallLibraryNode to use a Thread of LabVIEW execution rather than the UI thread.

    For more information on this review on these pages:

    https://decibel.NI.com/content/docs/doc-9069

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/

    DLL' happy ing.

    -Danny

  • Error: "Waiting for programs fill" while trying to add or remove programs

    Original title: cannot complete programs

    When I open Add / Remove programs in the Control Panel, the statement "waiting for programs fill" came and I waited and waited, nothing else has happened then - this hanging window. I tried the DIFFICULTY inside of MS DIFFICULTY, it did not help. Help, please.

    Hi magjoseki,
     
    Follow the steps in the section "Let fix me it myself" article and check if it helps.
     

    Important: 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 on the number below to view the article in the Microsoft Knowledge Base: 

    How to back up and restore the registry in Windows

  • 1 program still needs to be closed: (waiting for) task host window's task to stop execution and stopping tasks that are already running

    While the closure of the pc I got the message: "1 program still needs to be closed: (pending of) task host window's task to stop execution and stop tasks that are already running".but there is no program running and I have to force it to close.how to solve?

    Hello

    Thank you for contacting Microsoft Community.
    Windows, then closing, checks all open programs. If there is, it sends a request for the program to close and wait until the program closes safely, to avoid any loss of data. But, Windows is waiting for some specified
    If you are sure that none of the programs are obviously open, you can try the following steps:
    Press Windows key + r, Type regedit and pres enter. If UAC prompts, click Yes. Go to HKEY_LOCAL_MACHINE-> expand System-> expand CurrentControlSet-> click on command (exapnd no do this). When you click (or select) control, you can see WaitToKillServiceTimeout. Double-click it to change the value. Set the value to 500 or less than that. Click Ok, and then close the registry editor. Now, restart the PC. If the problem persists, stop and try again and check.
    Be careful with registry access as incorrect values or remove the unknown keys can prevent Windows to start and it will fix it.
    Response if the issue is not resolved.
  • The application is not responding. The program can meet again if you wait. You want to put an end to this process

    Whenever logged on windows 7, I get the following message:

    "The application is not responding.  The program can meet again if you wait.
    Do you want to put an end to this process"with the choice of the end of the process and cancel.
    When I type complete the process the screen shows my wallpaper and not icons or the bar of windows at all. When I hit Cancel, the message of disappears for around one minute and shows up again.
    I can't use my phone at all in this way, so I hope you can help me.
    Sven

    Reboot the PC by using the F8 key at startup, this time select command prompt, and then follow the instructions for restoring the system;

    http://Windows.Microsoft.com/en-GB/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Select a restore point to a period where it was all is OK

  • When you get Windows message close, waiting for background programs nearby.

    Whenever I close windows I get the following message: waiting for background programs nearby. To close the program that is preventing windows from closing click Cancel and then close the program. Keys to choose East Force stop or cancel. This has happened for a while. I'm sure that all programs are closed before closing at 99.9%. Any ideas would be appreciated to help me ghet get rid of this message every time I close out. I have Windows 7 family ed. 64 bit and a HP Compaq Presario CQ60 laptop. Thank you, Jane

    Hi Jane,

    Thanks for posting in the Microsoft Community.

    You can create a new user account and check. If it works in a new user account, then probably your user account have been damaged and would need a fix.

    Create a user profile.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Now search for the question.

    Follow the below link to fix the user profile damaged.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

     

    If you need further assistance, please answer and we will be happy to help you.

     

  • photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  can I do or just wait for someone to fix it

    photos has not been loaded for weeks (usually the browser chrome on PC windows at work).  I tried now on some other computers and get the same error message and I report every time.  is there anything I can do or just wait for someone to fix it?

    If you want any help here, you'll have to tell us what the error message.

    Which report you errors to?

  • Where can I find a list of programs pre-installed for HP Pavilion DV6 6054ea?

    Where can I find a list of programs pre-installed for HP Pavilion DV6 6054ea?
    A children's program has been uninstalled, and since then, I've lost the normal button "Shut Down".

    Thank you for the information. I find the Web site where you can download and reisntall it program: EasyBits Kids

    Download and install the program to see if that helps you. Please let me know the results. Thank you!

    Mario

  • Can I leave my Admin user account, while I'm waiting for a response in this forum? I would return to my user account, so I can read my email, etc. ?

    I'm waiting for a response to my previous post, it was more than an hour, so I would like to leave my Admin and go to my user to read my Email.

    See: http://social.answers.microsoft.com/Forums/en-US/help

    In particular:
    Notifications
    How can I be informed about new messages in the Forums?
    What are alerts?
    How can I sign up for alerts?
    How can I unsubscribe alerts?
    How to manage the settings of my alerts?
    How to display all threads to which I subscribe?
    Why is my Forum notification missing?
    What is the RSS icon next to the thread object or the name of the Forum?
    What happens if I say "Doing too much" for also needing an answer to a question?

    Note that it may take several hours to ensure you receive a response to your question. TaurArian [MVP] 2005-2010 - Update Services

  • Need help! Just got a message window on startup, which reads "path of data execution: to help protect your computer, Windows has closed this program: name: request for logon Userinit, Publisher: Microsoft.» Can anyone help?

    I just got an error message at startup, which reads: execution of data path: to protect your computer, Windows has closed this program: name: request for logon Userinit, Publisher: Microsoft.  My pc is under Windows XP SP2. I think that different multiple verisons of software "virus protection" began to appear in the Explorer. I know that they do not belong on my computer. I tried to close them, but they just kept moving forward. I'm trying to find some help to solve the problem. Moreover, when I close the window of Data Execution Prevention error message, I have my bottom, no other other icons for one of my programs are on the screen. Help... This can be corrected?

    Thanks in advance.

    Carter2009,
    If you started having 'Magical' Antivirus programs to appear on your system that you do not install, then you are infected.  Some people may be painful to remove, to others not so much.  I recommend http://www.malwarebytes.org/ for malware protection and http://www.microsoft.com/Security_Essentials/ for antivirus.

    But now you're in a bit of a place.  I download Malware Bytes and put it on a USB key.  Then see if you can boot in safe mode and run MalwareBytes.  If you're not in safe mode, take a look at this: http://support.microsoft.com/kb/318027

    Hope these helps. QQ learn manage!

  • Windows 7 HP is responsible and can run for 2-3 minutes then the computer crashes and returns to the startup program

    After opening windows computer HP 7 is loaded and can run for 2-3 minutes then the computer hangs and goes to the startup program. However, in safe mode, it remains open without any problems. Recently, the only problem I've had is that the MSN server is not running and has been replaced by BABYLON, who refuses to uninstall itself. I system restored to all the possible dates and problem remains. Can anyone help please

    Scan with these two free tools

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    http://www.Malwarebytes.org/products/malwarebytes_free/

    What anti virus or third-party maintenance utilities have installed?

  • Error: The file size for all drives of paging can be a little larger than the size you specified, when you open windows in Windows 7

    Original title: paging notice when open windows on mac, divide the hard disk

    I have a split hardrive on a MAC and windows, and quickbooks installed on this drive.  When I open windows, I get a notice of paging file.  -size of the paging file.  "The file size for all drives of paging can be a little larger than the specified size.  IM using Bootcamp for the windows side.  It is to show the memory almost full and I did not yet get many date in QB.  Don't know what I have to do.

    Hello

    1. have you done any software or changes to the material on the computer before this problem?

    2. it worked correctly previously?

    3. how many hard drives are in the computer?

    4. is the problem with a partition or a particular hard drive?

    Try the steps from the link.

    Change the size of virtual memory

    http://Windows.Microsoft.com/en-us/Windows7/change-the-size-of-virtual-memory

    What is virtual memory?
    http://Windows.Microsoft.com/en-us/Windows7/what-is-virtual-memory

    Hope this information is useful.

  • When you surface you sales to Singapore and when can I buy surface to Singapore? I already waited for a long time

    RESTful salvation, surface was already on sale in the United States, China and some countries, but it is not on sale in Singapore. When you surface you sales to Singapore and when can I buy surface to Singapore? I already waited for a long time

    Hello

    Thanks for posting the question in the Microsoft Community! If I understand correctly you want to buy Surface to Singapore.

    Unfortunately, Surface is not available in this area right now. I suggest you check out the link for the Microsoft Singapore Web site for updates:

    http://www.Microsoft.com/en-SG/default.aspx

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

    Thank you.

Maybe you are looking for

  • There was a problem downloading the software for the iPhone error - 39

    My iPhone 4S device is disabled, connect to iTunes, when I was connected to the laptop cannot restore and give this massage: There was a problem downloading the software for the iPhone "iPhone". An unknown error occurred (-39). Make sure that your ne

  • Camileo H10 does not write the files to SD card

    Hello I bought a Camileo H10 in December. It's a nice cam, but sometimes I record video in HD format, the file will not be stored on the SD card. I tried a class 8 GB 2 and one of 16 GB class 6 SD card. This problem strongly deformed, when I record a

  • spectrex360: Start button / stop / flashing laptop won't turn on

    I just got the HP spectrum x 360 on the Store of MS (signature edition). The power button on the side flashes and it won't turn. I know that the battery is charged, because it is connected and there is a connedtion that the led is lit when the power

  • HP officejet pro 8600 more printing envelopes chemistry

    The normal printing process seems to work perfectly, only when printing envelopes #10 they live I have the problem with the crooked not printing any way how the envelope is inserted according to the Setup (Microsoft Word). To date, the following step

  • HL-dt-st dvdram gu10f drivers for windows 7

    My Dvd ram is not recognized by my laptop Toshiba Satelite. I get this error message below. I tried updating the drivers and get nothing. What to do next? Windows cannot load the driver for this hardware device. The driver may be corrupted or missing