Program accelerates when you move the mouse

I use a simple few stripcharts program and have put a clock on the screen to measure the milliseconds per program cycle.  I noticed that when I move the mouse, it takes about 33mS to perform the loop, but when I move the mouse, it goes down to 8mS.  The stripcharts to accelerate as well.  I really need the program to run at the fastest speed to get a decent amount of data to display (Nyquist rate issues).  Has anyone seen this kind of problem before?

In addition, there is a better way to send data to 5 stripcharts using PlotStripChartPoint 5 times?

I'm under V8.0 on a PC104, 1.4 GHz Pentium M, Windows XP.

Thanks for all your help over the 6 months.

Thank you very much for your help.

I tried the multithreading and the solution of PlotStripChart and the two a little help, I still had my main problem, lack of pics.  I was not so concerned with the display of all data in time real, just need something for the user to see what was going on.  The final solution, that I came was to use PlotStripChart and SetSleepPolicy the VAL_SLEEP_NONE value.  This has increased my program for even faster speed that when I moved the mouse.

I realize that Windows is not a RTOS, but this request didn't really need that go well.  Most of the data I am looking for is about 1 to 20 Hz, and this easily enough.

Once again, thank you.

Tags: NI Software

Similar Questions

  • cursor - gray pop up box when you move the mouse in Windows 7

    Hello

    When I move my mouse in windows 7, a little gray box appears its darn annoying someone know haow to get rid of it please

    long live jon

    Jonjo900,

    It seems to me that you're referring to press the mouse wheel. It is a function of your mouse wheel. To turn it off, simply press the wheel again and it disables the option.

    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • T60 freezes when you move the trackpoint right after starting

    Hello

    I had this problem for quite a long time. Initially, I thought that it was due to an update to Windows XP, but I couldn't find any message on newspapers when the laptop crashes. I reinstalled XP many times to get rid of any incompatibility related to the software, but even with a new installation, it was happening.

    I realized recently after several tests that the problem occurred more frequently when you move the mouse (trackpoint or touchpad) just after the start of the system (cold start or start of hibernation). What I discovered is that this will happen is no longer if I suspend the laptop after starting the system, do not touch the mouse.

    The symptoms are that Windows freezes. No activity at all HD, the system responds to any keyboard and mouse input. If I close the lid of the portable computer system is not put into hibernation. The only way to regain normal operation is pressing the button for a few seconds, then the system turns off, and then turn on normally.

    All the drivers are up to date.

    Someone at - there experience this problem?

    Thank you

    Try to remove the battery... If the battery is dead, it could give you this problem...

  • with the auto more recent updated version of firefox now there is a white bar that appears when you move your mouse over this area. I want that gone, how?

    When you move your mouse below the address bar opens a white bar, making it so you can't click on buttons or links on sites, like buttons connection for example. also when using the full screen, you can no more mouse on the tabs at the top of the screen, only this white bar appears. This prtty much kills its use full screen for me. Thus, this white popup bar and mode full screen with the white bar without tabs firefox has pretty much ruined it for me. in any case to fix it would be great.

    Launch Firefox in Mode safe

    While you are in safe mode;

    Firefox Options > advanced > General.

    Find and stop using hardware acceleration.

    ===================================

    Hello

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • do not click on the menu that appears when I right-click my taskbar, such as the right click menu disappears when I move the mouse the right click menu

    PROBLEM: CONTEXT MENU DISAPPEARS WHEN YOU TRY ON THE LEFT, CLICK AN OPTION

    Hello
    I'm using Windows 7, and I could always
    go to my taskbar and right click
    Icons and active icons, bring to the top
    the list on the right click on the standard Menu.

    PROBLEM
    As soon as I moved my mouse away from
    the background of windows 7 taskbar to go a couple
    millimetres above on the left, click an option in
    I opened with my right click context Menu
    The whole Menu disappears, and it happens in
    Firefox version 29.01, other programs in Firefox,
    and others such as Skype.
    When I was running Firefox 28
    I didn't have this problem, can you help out me.
    Thank you
    Kev Borg

    PROBLEM
    MAKE ONE CLICK RIGHT MENU DISAPPEARS WHEN YOU MOVE YOUR MOUSE TO THE LEFT, CLICK ON A MENU OPTION IN THE RIGHT CLICK MENU.

    'YOU can not because WHEN YOU MOVE YOUR MOUSE TO THE MENU YOU JUST a RIGHT CLIC ON OPEN DISAPPEARS before you HAVE a CHANCE TO CLICK LEFT of YOUR CHOICE. "

    SOLUTION
    [ 1] GO TO control PANEL AND click HERE FOR the VIEW MENU
    [ 2] GO to "EASE of ACCESS CENTER" AT the TOP.
    [ 3] LEFT CLICK ON the MENU ITEM "theEASE of ACCESS CENTER.
    [ 4] AFTER YOU are a LEFT CLICK ON 'EASE of ACCESS CENTER' seems.
    [ 5] LOOK down THE LIST UNTIL YOU FIND to "MAKE THE MOUSE EASIER to USE".
    [ 5] THE UPPER SHOWS YOU HOW to CHANGE YOUR MOUSE COLORS ETC.
    [ 6] SCROLL DOWN UNTIL YOU SEE THIS TOPIC "MAKE IT EASIER to MANAGE WINDOWS".
    [ 7] UNDER this MENU, there is check.
    "ACTIVATE a WINDOW BY HOVERING over IT WITH YOUR MOUSE"

    [8] ARE OF COURSE IS NOT A CHECK MARK IN THIS BOX TO OPTION, IS THERE A CHECK IT AND APPLY AND CLICK OK TO SAVE.

    And now, you should have no more problems with your right click Menu disappears when you move your mouse over the menu left click on a menu item on a right click menu.

    SOLUTION SOLVES THE PROBLEM.

    Thank you and I hope this answer help all the other people who have had this frustrating problem.

    was soon KiwiKev

  • tabs disappeared upstairs and when I move the mouse to the top, they reappear not and I'm stuck on the page!

    tabs are at the top of the screen, as well as the toolbar. Sometimes, when I move the mouse to the top, the tabs and toolbar reappear, but sometimes it gets stuck and I'm stuck without the toolbar. I can only navigate from the page I'm. I'm not the most knowledgeable computer, but I'm good following the directions! so if you can ask me how to adjust the settings for the tabs and the toolbar stay permanently at the top of the screen, I would really appreciate thank you.

    Press F11.

  • When I pick something, it will be automatically moved / dragged around when I move the mouse

    I have a very strange problem. Whenever I pick something (using the normal selection tool or the direct Selection tool), I can't do anything without moving the selected items. So for example I select something (by clicking 1 times with my left mouse button) and then I want to move my mouse to do something else (select another tool, select something else, whatever). When I move the mouse the selected object (form?) will move there (after a short delay). So the object will end where my mouse was, say, half a second after that I started to move the mouse. This makes working with Illustrator almost impossible that you will have to cmd + z whenever you select an item. Right click also do not works for me if I hold my mouse always at the place where I selected the object, the only option I seem to continue is to move my mouse, which of course, you usually want to do.

    I reinstalled Illustrator already, manually deleted the folder ~/Library/Preferences/Adobe Illustrator CS6 settings /, and I tried it with a different mouse. None of this solves the problem. Photoshop works well. I compared the behavior with the Illustrator on another computer, and it is certainly not correct.

    I use Illustrator 16.0.4 (CS6) on OS X 10.8.3. As far as I know, I have no 3rd party plug-ins. I couldn't find anything on other people having similar problems.

    Someone at - it an idea? Or otherwise, I am afraid that I have to reinstall my Mac together with an OS fresh and everything...

    I tried to use the guest on my Mac account. In the guest account, Illustrator works perfectly!

    Then I started wondering what process (Tools/tweaks) I run by default on my account. Tour off the problem was called by a small background tool called RightZoom. RightZoom let's the green button "zoom in" always expand your active window.

    So thank you! Problem solved!

  • Firefox 17.0.7. Display the menu, when you are using extended view (Win7), flickers off when you move the slider to a selection. Reg FF version works fine.

    Using Windows 7, view extended., Firefox 17.0.7

    Firefox menus (file, editing, etc.) and user bookmark lists flicker in and out of visibility when you move the slider to a selection. This happens on the primary display only the second screen. It does not occur on regular product version (23, etc.) and does not occur on any other application.

    We are required to use version 17 on internal business machines.

    Bob Hello, that might be a problem with hardware acceleration - try updating your graphics driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.

  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • How to get a name in the field when I move the mouse to a particular plot on a graph

    Hello

    I have a number of plots on the chart that I chose a multicolumn ListBox. I'm generally around 30-35 locations. Is it possible that I can get the name of conspiracy when I move the mouse over a particular field?

    Some time ago I created an example to highlight a field by clicking the field. See the change attached this original work on the mouse example move rather than the mouse to the top. Example is BT 8.2.

  • Yellow box pop up when you move the missing links in CC?

    The behavior when you move the links in the links in CS6 Panel was a yellow jump to the top of the box with the full path of the link.

    I find that does not match the behavior in CC and really miss me that.

    Am I missing a setting somewhere to allow this in CC?

    Do you have tips enabled in your preferences?

  • Record box is moved when I move the mouse to 5.5

    Good,

    The recording area moves when I move the mouse, happen to me with version 5.5 with 5... It is as well as I do the simulation with custom size or an application

    Kind regards.

    Solved!

    I had active "Panoramic".

    THX

  • Firefox crashes when I move the mouse on the history tab in Firefox 7.0.1. Why?

    Whenever I move the mouse over the menu history in firefox 7.0.1 program just hangs, I get a spinning wheel on Win 7, if I click on the program, it fades and becomes white. After about 20-30 seconds, everything goes back to normal, except that I can not even access the history. It does the same thing if I try again! It works if I press Ctrl + H, but that's all!

    What happens here?

    In addition, it seems not to submit incident reports.

    I followed the link in the post of cor - el and installed "addition to maintanance places."
    Is a check up and he cleaned the history and I can click on the history tab once again without any gel!
    Thank you

    Also want to let you know that the problem started when I used 'sync '.

  • monitors flash when you move the cursor

    I have three monitors for use in FSX.  Normally, all my programs, for example, Gmail, visits, casino games, etc. to display on the monitor Center.  I use Chrome browser with Windows 7 Home Premium 64 b.  For some reason, when I scroll upwards or downwards, or sometimes just move the arrow cursor, my left and right monitors flash with a background of 'ghosts' appearing intermittently.  Ghost poster background on strength wallpaper.  I used CCleaner, Glary Utilities, MalwareBytes.  I also used the disc of Windows 7, cleaning, optimization and defragmentation of the features.  The flashing is always present.  Does anyone have any ideas how I can fix this problem?


    Thank you
    CBX_bountystyle

    Hello

    1. it happens only during navigation?

    2. it happens when you use the Internet Explorer browser to navigate?

    3 did you changes to the computer before the show?

    The graphics card uninstall and reinstall drivers and see if that helps.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) Expand, graphics card, right click on the adapter

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-IE/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • "Scroll bar" is displayed when you move the cursor - Satellite L305D-S5904

    I just bought a Satellite L305D-S5904 for my mother.
    It came with Windows Vista Home Premium.

    I noticed that a tiny scroll bar appears in the location of the cursor sometimes.
    It makes navigation quite a pain.

    Can you turn this feature off?
    To clarify, when you use the touchpad, moving the slider, a tiny "scrollbar" sometimes appears at the point of "arrow" cursor.
    It's incredibly aggrevating!

    I've never seen such a thing before.
    Thanks for the help!

    > I've never seen such a thing before.
    Maybe because you didn t work with this hi-tech touchpad? ;) lol

    It is a touchpad feature that can be disabled in the properties of the touchpad.
    Make sure you have control panel-> mouse

    There must be something on the touchpad settings.
    Here, you will need to disable virtual scrolling.

Maybe you are looking for