Data dependence isn't the only thing to stop while loops to run simultaneously?

I write code to turn two stepper motors with various functions. This is my first program, so I don't know it's terrible, but I'm very interested in getting this work. I checked for the data depenecy and followed some suggestions to use local variables to solve the problem. It did not work, so now I'm trying to understand this.

I know that all features were able to simultaneously run, but after a few changes (including put everything in a while loop to keep the program running until someone clicks the exit button), no function can currently work simultaneously.

I'll post my code in case someone has the time to watch it (I'd really appreciate it if someone did), but I am also looking for any other problem that might be the source of the problem.

Really, any help is greatly appreciated.

Thanks in advance


Tags: NI Software

Similar Questions

  • The only thing that I hate ICS

    OK, so after a week of use ICS they one thing I can't stand is the music player. Those on GB was better. One on GB would always remember what song I was even after a reboot. ICS forget after I stop the player and come back say 20 minutes later. Sometimes, I need to stop him to work and return at a later date. It's just the only thing I hate about this. Also it is not as fast as the old one either. Those on ICS takes more time to start.

    A viable free option is Google playing music. I waited for ICS purely disable the stock Motorola music player. Is not integrated with Google Play Music or crushed when I installed it, and even after installing it, the stock player randomly successor orders Bluetooth headset. More Google Play Music has beautiful OS integration close enough to what you get with the stock player (Player control over lock screen and notification; they came on the dock as well the thought, but they seem to have disappeared...).

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

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

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

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

    Try recovery options Startup Repair

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

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

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

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

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

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

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

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

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Getting startedHow do the start page to display the Favorites, history, etc. The only thing at the top of the screen is the placd where you type the url

    For some reason any toolbar, menu bar, etc have all disappeared. the only thing the top of Firefox's address bar. How to make it all back?

    Hi, you can be full screen mode: point to the top of the screen, then right click > exit full-screen Mode.

    To bring up the menu bar (File, Edit, View, history, Favorites, tools, help) temporarily, press ALT. If you want that it to stay there all the time, do a right-click on the bar tab (but not on a tab) and graduation/check menu bar. You can also do the same thing with the bookmarks toolbar.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    What do you exactly mean by "get the slide to set up go to the right and continue"? Can you give us a little more context and detail?

  • cannot manage or remove bookmarks. "Show all bookmarks" tab has an empty list and does nothing else. the only thing I can do in the bookmarks is add them but I don't even get given an option of what folder to put it in.

    bookmarks does not. the only thing it will do is add them, impossible to delete or do something else with them. "display the Bookmarks tab all comes in white and nothing else works on this subject." not given the choice of what folder to put bookmarks in when I use "bookmark this page".

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

  • The Task Manager is the only thing that works on my computer

    Original title : NOT FUNCTIONING IT - my fault.

    HELLLLLLLLLP!  The site I had sat said that I was running low on RAM (even if my count says otherwise)... Then, in the Task Manager, I started to delete what I THOUGHT was not essential.  But now I've lost EVERYTHING on my desk!  No internet access, no access to my email, no access to the function of my own computer!  (Start, search, System Tools, etc.).  The ONLY way I could even make this announcement, is to use the Task Manager.  It seems to be the ONLY thing working on my computer everything!)  Help, please!

    Have you tried booting in safe mode? If it does not start last good test Configuration.

    In any case, I hope that all the system processes running after logging in to your user account.

    Try this:
    1. go to the performance tab and click on it.
    2 type Explorer or explorer.exe and press on enter and await the results.

    Maybe the Explorer just doesn't work.

  • Computer crashes randomly. The only thing you can do is to pull the plug so it can restart

    I am running Windows XP on a HP Media Center PC. The system started to freeze frequently and randomly. The only thing you can do is to pull the plug.

    I got it in an "expert" they checked for virus added Ram etc but could not find anything wrong. Brought it home and it froze in the first ten minutes.

    I am running Windows XP on a HP Media Center PC. The system started to freeze frequently and randomly. The only thing you can do is to pull the plug.

    I got it in an "expert" they checked for virus added Ram etc but could not find anything wrong. Brought it home and it froze in the first ten minutes.

    ========================================
    At the "Expert" mention that the system could be overheating?

    Perhaps the following would offer a few ideas:

    Detect and repair a computer overheating
    http://www.computertooslow.com/overheating-computer.asp

    Clean your computer tower
    http://www.computertooslow.com/clean-computer.asp

    How to clean the inside of a computer case
    http://www.technibble.com/how-to-clean-the-inside-of-a-computer-case/

    Why my Toshiba laptop suddenly stops by itself without warning?
    http://www.laptoprepair101.com/laptop/2006/01/04/Toshiba-laptop-overheating/

    How to stop laptop overheating problems
    http://www.computer-Adviser.com/stop-laptop-overheating.html

    Laptop overheating problems - the easy cure
    http://EzineArticles.com/?laptop-overheating-problems---the-easy-cure&ID=1269144

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • When I try to open any program or file the only thing that opens is Windows Media Center

    * Original title: only the open Windows Media Center

    Every time I try to open a program or file, the only thing that opens is windows media cente.ive had set up a new account just to be able to use my lappie, I have no point of restord

    Hello

    You can check out the link below and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Try running the fixit and see if it helps:

    http://support.Microsoft.com/mats/system_maintenance_for_windows/en-us

    Hope this helps,

  • I can't open my emails from Hotmail. The only thing that works is the sign in and sign buttons.

    original title: cannot open the mail.

    I can connect to my hotmail account, but cannot open the emails.  Am I missing something?  Also, when I click on the tab help or delete, suffice it to say the only thing work East of connection and disconnection. Since I can't open my mail, no response to my query can not go read.  Help!

    Hi Elaine,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. The experts he specialize in all things, Windows Live and I would be happy to help you with your questions! Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • I just bought a download for Adobe Photoshop Lightroom 6 card, when I go to install it, I have the option to download, but it says that I do not require a serial number at this time. The only thing that creative cloud with trial versions downloads

    I just bought a download for Adobe Photoshop Lightroom 6 card, when I go to install it, I have the option to download, but it says that I do not require a serial number at this time. The only thing that downloads creative cloud with the trial versions of all your products and no way to download Lightroom 6. How can I get download it to my computer and find the serial number?

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • I installed the download Assistant and she show Acrobat is downloaded, but the program does not run or listed as a program.  The only thing listed under programs is the wizard.  When I click on it, it gives me just the possibility to download Acrobat ag

    I installed the download Assistant and she show Acrobat is downloaded, but the program does not run or listed as a program.  The only thing listed under programs is the wizard.  When I click on it, it gives me just the possibility to download Acrobat again.

    Charlesgreen123 after the installation files are downloaded, you can run the Setup program to install Acrobat.  By default, the installation files are saved in your download folder.

  • (MacBook Pro (15-inch, late 2011, 2.2 GHz Intel Core i7, computer laptop my MacPro started yesterday to enter contimuous dashes or hyphens in any available window (search engines, software, for example.))) MS word .docx) the only way to stop it is to rest

    MacBook Pro (15-inch, late 2011, 2.2 GHz Intel Core i7, 4 GB memory at 1333 MHz, DDR3).  10.11.3 OSX

    Yesterday, the machine started to insert continous dashes/hyphens into any available window (e.g. window search engine, for example open source software, MS Word, docx). Is the only way to stop this as soon as it starts to reboot, that usually stop at least temporarily.  As soon as he starts this, I tried to close all the applications open without effect.

    -Try to reset memory NVRAM/PRAM and SMC

    MacIntel: Reset of the controller (SMC) system management

    Subject of memory NVRAM and PRAM

    -Try to start safe mode

    OS x: what is Safe Boot, Safe Mode?

    -Start to recovery and repair the startup disk

    OS X: on OS X Recovery - Apple Support

    If inserting the characters in recovery, which indicates a hardware problem.

    have you spilled something on the Ko?

    If your battery is replaceable by the user take it out and look for a swollen battery

    -If it is repairable reinstall the OSX

    How to reinstall OS X on your Mac - Apple Support

    -If you do not have a backup using disk utility to restore the internal drive to an external drive, so that you can try to recover the data.

    Format the boot disk and then do a fresh install of Mac OS x

    This is the Office Mac Pro forum. I asked that your post be moved to the MacBook Pro laptop forum.

  • When I click on a link, multiple (and by multiple, I mean a ton) virgins of open tabs. The only way to stop several blank tabs opening must out firefox is completely closed. Do I have a virus or should I change my settings?

    If I click on something to open in a new tab or click on the email from someone open Outlook, instead, a group of empty tabs open. I'm fine with a few empty tabs, but they keep opening. The only way to stop the opening tabs is to close entirely out of firefox. When I try to reopen firefox, blank tabs are again starting to reopen. You can not close out of them pretty quickly because they keep opening. To not open the empty tabs, you must restart firefox again.

    What is a virus or something wrong with my firefox settings?

    Firefox includes options of how to manage the different types of content in your case that mailto links are probably set to "Use Firefox". For more information on how to solve it see Firefox opens several times empty tabs or windows after clicking on a link, especially the section "change the action for a content type.

  • How to complete the data or details of the only this year and the previous year for the given RATNG?

    Hi all

    I created a form with 5 blocks (namely ENQACMHDR, ENQACMDTL, ENQACEHDR, ENQACEDTL, ENQACSPEC), where I have 8 push buttons (namely ENTER_QUERY, EXEC_QUERY, CLEAR, FIRST, NEXT, PREVIOUS, LAST, and EXIT).

    This form is created just for display purposes only. So after that I ran, all blocks have been blocked against insert and update.

    I have question on 2 fields 'ENQNO' and "RATNG" (both belong to the ENQACMDTL block).

    When I click on "EXEC_QUERY" directly, all data for all years fills.

    But the user wanted the data to be populated only this year and the previous year.

    Yes, on ' Clause WHERE' of the property_palette of the 'ENQACMDTL' block , I put in the following condition:

    SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (ADD_MONTHS (SYSDATE,-12), 'YYYY') OR SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (SYSDATE, 'YYYY')

    PROPERTY PALETTE (ENQACMDTL block)
    WHERE ClauseSUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (ADD_MONTHS (SYSDATE,-12), 'YYYY') OR SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (SYSDATE, 'YYYY')


    Data only this year and the year before are now filled. Its ok with the field of "ENQNO".

    The problem is when I have queries on the field "RATNG. 'RATNG' is a Text_item with number of displayed items = 5. (5 lines)


    Here are the 2 columns in a Table (name = ENQACMDTL) in the database.


    ENQNO RATNG
    2013900054500KC2
    2013900047800KC4
    2013520018750KC6
    ...............
    20129000371000KC2
    2012520109500KC2
    2012140019750KC6
    ..................
    2011540036500KC2
    20111000301000KC2
    ..................
    .................
    200610000790KD8
    2006750014750KC6
    2006900072500KC2

    The first 4 issues of "ENQNO" represents the year. There is more than a lakhs of records.

    So, when I have queries on the field "RATNG."

    Example: for RATNG = 500KC2;

    I click on ENTER_QUERY, the field of "RATNG", I put in the 500KC2 of the value and click on EXEC_QUERY; Details regarding the 500KC2 is displayed as well as all the other junk RATNG as 750KC6, 1000KC2 (which belongs to the ENQNO of the current year and previous year) also gets displayed.

    I want details of only RATNG (500KC2) to display, but only for the current year and the previous year, it is 2013900054, 2012520109 (ENQNO).

    Other than 500KC2 RATNG, no other RATNG must be displayed.

    500KC2 = RATNG is also present for ENQNO = 2011540036, 2006900072. But I don't want them to view.

    I want only the data or details of the current year and the previous year to be filled or displayed for the given RATNG.

    Can you help me or tell me what I do for this?

    Hope I'm clear with my question!

    If my question is not clear, let me know please.

    Thank you.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    Oracle forms 6i.

    1. check null values in the enqacmdtl.enqno, if so treat them properly.

    2. check the result of select to_char (add_months (sysdate,-12), 'YYYY') prev_year curr_year of double to_char(sysdate,'YYYY')

    3. change the place where clause "year" in the value of numAriques.

    where to_number (substr (enqacmdtl.enqno, 1, 4)) > = to_number (to_char (add_months (sysdate,-12), 'YYYY'))

    Then let me know the result.

Maybe you are looking for