Need mouse disable only - moving & clicking mouse during runtime caused 'hanging the program'

Hi all...
I have a VI program that controls a DAQ card which acquires up to 250kHz. During acquisition, the CPU usage is at 100% and any mouse movement causes program hanging.
I'd like to disable the mouse. I have found about using Call Library Function Node to a WINAPI function BlockInput. But it blocks keyboard input as well, which is need in the program to halt the running when required.
Is there another way to go about it?
Thanks in advance!
Regards,
D Hing

I think you may be going about solving your problem the wrong way. Moving the mouse shouldn't kill your program.. I routinely write acquisition software that acquires and logs data at high sample rates. I'm guessing that moving the mouse causes an error to pop up indicating that the sample buffer has overflowed, and killing your acquisition. There are things that you can do to prevent that from occurring. Let me know if I'm going down the wrong track here, or if you are running your program on a very old computer.
Just guessing, but I suspect that it is not the acquisition that is sucking up your cpu cycles, but maybe displaying the data on the screen. If you can live without seeing the data come in, you may be able to cut the processor usage by 50% or more. If you do want to see the data, there is a good thread on Max/Min decimation in here somewhere that discusses things that you can do to improve the performance of drawing a graph. Also, the buffer size for you acquisition can be increased, which will give your program more time to catch up when it falls behind (when it's paying attention to the UI, for example). And if you aren't doing this already, I suggest a Producer-Consumer architecture for your vi. The acquisition occurs in the producer loop, and logging and display occur in the consumer loop.
Good luck!
Chris

Similar Messages

  • Wireless Apple Mouse Won't Right Click and how do I change the buttons

    Mouse won't right click and I want to swap the right and left button functions. How do I do this?
    Thanks

    Mouse won't right click and I want to swap the right and left button functions. How do I do this?
    Thanks

  • Mouse will only right click

    Today I started up my macbook and found that when I went to use the mouse ever click was opening the context menu. I tried turning off my mighty mouse and used the track pad only, and still had this problem. So I turned off the right click in the mouse preferences, and restarted.. and it temporarily fixed the problem, but when I put a blank CD into the drive to burn a CD the mouse returned to right clicks only. I have also noticed that if I click on the airport icon, or any other icon in the top menu, the icon's context menus cycle through from the left to the right as if each icon's context menu is being opened. This is very frustrating and had completely prevented me from using my mac book at all. Has any one had this problem before, or does anyone have a solution.
    I have all system updates installed, and no new hardware or software has been installed before this happened; it literally happened overnight.
    Scott

    If you don't use the mouse at all, does the trackpad behave normally? Are you clicking by tapping the trackpad twice or by using the trackpad button?
    Is there another computer you could use the mouse with?
    ~Lyssa

  • I need to deauthorize only one computer, but I do not have the computer available to me

    We just bought a new computer for my daughter and she needs to set up iTunes.  The problem is that our account says there's five computers already authorized and we only have three in the house.  How can I deauthorize the ones we no longer own or have?  Only options at the sight are, deautorize all or this computer. 
    thanks

    You will need to de-authorize all your computers, then re-authorize the ones that need it.
    I quote:
    If you need to authorize your new computer and are unable due to already having five authorized computers, you can deauthorize all computers by doing the following:
    Click iTunes Store on the left side of iTunes.
    If you're not signed in to the store, click the Account button, then enter your account name and password.
    Click the Account button again (your Apple ID appears on the button), enter your password, and then click View Account.
    In the Account Information window, click Deauthorize All.
    Note: You may only use this feature once per year. The Deauthorize All button will not appear if you have fewer than two authorized computers. If you need assistance on using this feature, please contact iTunes Store support via email (http://www.apple.com/support/itunes/store/).

  • How to make a pop up that pause the program (during pop up) and click button to continue OR stop the program

    Hi people,
    I am using LabVIEW to create a testing program to test a power system. The testing lasts for a loop of 90 minutes. 
    I would like to make a pop up when the testing is completed. When the pop up message appear, the whole program should be paused (NOT STOP) and when the two buttons (continue, stop) are pressed, the program should continue to run OR stop. [To start another loop of testing in order to make sure data collected is accurate and consistent.]
    How do I make this kind of pop up window? I have totally no idea how to work on this. I will be very appreciated if someone could give me some suggestions/help regarding this.
    Thank you.
    Regards,
    Vanessa

    VanessaWen wrote:
    Hi Blokk,
    In my actual program I have 3 while loops. In while loop A, it is used as counter, to transfer rows of data from an array (row by row) to loop B. For loop B, device drivers are used so that my program can be used to control the devices (it is for automated instrument testing). Loop C is then used for DAQ, data at different test points will be recorded at every second.
    I would prefer something simple in controlling all the while loops as my program is quite complex.
    Thank you so much.
    Vanessa
    I do not see why you need these 3 while loops. This task could be done with a single while loop, or max 2. Why you need loop A? You could generate data from this array inside loop B. You must use the DAQ and device control part in separate while loops? Maybe you could simplify you code to have one single while loop: at every iteration you could send a new control command to your device(s), and after this do a DAQ measurement.

  • I need to disable my imessage online, I don't not have the iphone.

    I need to ddisable my imessage online, i need to talk to a real person. I do not have the iphone of stupid serial number with me. Why is this so freaking hard.

    To Contact Apple Support  >  http://support.apple.com/kb/HE57

  • Startpage ok but now can't access links email.Every time I do this I'm asked by firefox to make changes to computer,i click yes,an error appears saying the program can't be accessed, and THEN it works.This happens every time on every email link.

    Startpage ok now but can't access links from email. Everytime I do this I'm asked to make changes to the computer then an error box appears,I click ok and Then it works.this happens every time on every email link

    hello, when this is happening after you've already updated firefox with your admin account, try to delete the ''updates'' folder and ''active-update.xml & updates.xml'' within the %localappdata% folder of your restricted account like it is described in http://kb.mozillazine.org/Software_Update#Software_Update_not_working_properly

  • Adjusting system time during runtime causes problems?

    Running a TDS based application on Win2008R2. 5.1.19 (yes we are updating to 5.2.36 later this week)
    The system clock was adjusted back by 5 hours while running. No issue at time, but after an app restart we found we had a corrupted trans log with LSNs lower than those in database files. Had to recover by removing the tran log and clearing LSNs in a database file using db_load -r lsn
    Is there something in the trans log contents or writing process that would be affected by a change in system clock backwards?

    Hello,
    I don't think a clock change could impact the transaction log
    files. However it is definitely the case that an anti-virus
    software scans should be avoided on Berkeley DB data files
    (database, transaction log, region). An anti-virus scan could
    be problematic if a page is scanned at the same time the library
    code is trying to lock a database for an update. Is there any
    chance that an anti-virus scan or some other application happened
    at the same time which might have been touching a database page?
    Thanks,
    Sandra

  • My mouse is double clicking often, even though I only single click.

    My mouse is double clicking often, even though I only single click. 
    I have tried changing the Mouse Double Click Preference to both Max Fast and Max Slow, but nothing helped. Ive been using this setup for over a year.  Reinstalled clean when upgrading to Yosemite last week, and this has been happening.
    Macbook Pro (Retina, 15-inch, Late 2013)
    OS X Yosemite 10.10.1
    Logitech B100 USB Mouse
    Any ideas on how to keep this annoyance from happening?  It's driving me crazy.

    TO everyone on this discussion:
    There is a "Double-click speed" setting in the "Accessibility" System Preferences - click on the "Mouse & Trackpad" (in the Interacting options) choice on the left and you will see the slider to adjust the double-click speed.
    Also sometimes if you have third party mouse drivers with their own System Preferences settings it might be there as well.
    I've got an Apple Magic Mouse and the above is what I use to adjust the double-click speed.
    good luck and Merry Christmas

  • How to disable only inactive firewall notification in the action center by GPO

    Hi
    I need to disable only inactive notifications firewall in the action center PCs through GPO.
    I have seen several posts and it seems possible disable by GPO only all notifications in the action center and not only firewall notifications.
    I have a DC with Win server 2012 R2.
    Have you any ideas?
    Regards
    Christian

    Hi Christian,
    Sorry, it seems that we can’t achieve this.
    Regarding this topic, the following thread can be referred to for more information.
    Disabling Action Center's Firewall Notification through GPO
    http://social.technet.microsoft.com/Forums/en-US/e78a30cb-6cf2-4de6-afda-e0c90a3d2e34/disabling-action-centers-firewall-notification-through-gpo?forum=winserverGP
    Best regards,
    Frank Shen

  • Need to disable tabbed canvas through personalization in standard form.

    Dear Friends,
    I need to disable one of the tabbed canvas (button), based on condition from another tabbed canvas..in oracle applications 11i
    This is urgent requirment from 3 days im trying but im unable to do this...
    could you please solve me from this problem...
    Example (Original Requirement):_
    In order Management, in shipping transactions, we are having lines and delivery tabs..etc
    in that, if delivery name is not null in lines tab, then we need to disable delivary tab.....this is the actual requirement.....
    Many thanks in advance,
    Regards,
    subash

    Write a personalization that disables all fields on the delivery tab.
    It should be similar to what you are looking for.
    Sandeep Gandhi

  • Need to download only in .csv format

    hi
    i need to download only in .csv file
    if any one gives the other format file then it must change to.csv onthe selectionscreen itself and then it is to be executed
    i mean the last 3 digits to be changed ' csv'
    urgent
    regards
    sachin

    Hi
    Check this code, maybe is helpful
        clear it_tabla2[].
        call function 'SAP_CONVERT_TO_CSV_FORMAT'
             exporting
                  i_field_seperator    = ';'
             tables
                  i_tab_sap_data       = empleados
             changing
                  i_tab_converted_data = it_tabla2
             exceptions
                  conversion_failed    = 1
                  others               = 2.
        call function 'WS_DOWNLOAD'
             exporting
                  filename                = emplea
    *              filetype                = 'DAT'
    *              mode                    = ' '
                  filetype_no_change      = 'X'
    *              item                    = 'Archivo de Empleados'
             tables
                  data_tab                = it_tabla2[]
             exceptions
                  invalid_filesize        = 1
                  invalid_table_width     = 2
                  invalid_type            = 3
                  no_batch                = 4
                  unknown_error           = 5
                  gui_refuse_filetransfer = 6
                  customer_error          = 7
                  others                  = 8.
    Regards
    Gregory

  • Im paying for cc but it will only let me down load cs4 or cs6 versions of the programs. help?

    I recently had trouble when opening Creative cloud to update Photoshop, illustrator..etc. Every time i went to open it it gave me an error message so i uninstalled cc. I  went threw the adobe chat support to reinstall cc, the guy sent me a link to download it. I just now went to open it and it will only let me install cs4 or cs6 on the programs i need it only shows about 2 of the programs being cc. Help me please. i have an assignment due tomorrow that i need to use Indesign for.

    What system? Did you actually run the cleaner tool? Are you sure you are not looking at the filtered section at the bottom of the CC app to access previous versions?
    Mylenium

  • TS2755 I am trying to find a message from 2012 and when I load previous messages it only goes back so far then the program quits and sends me to the home ( main) screen. How can I find the message and get around this?

    I am trying to access a message from early 2012. When I load previous messages It will only go back to oct 2012 and then the program stops and kicks my to the home page. Anyone know how I can get to the message? Thanks.

    Try Spotlight Search
    1. From any Home screen page of iPad, drag your finger down anywhere on the center of Home screen.
    2. Spotlight search will now appear and you can search for apps, texts, or any other content you'd like just as you did on previous versions of iOS.

  • Switch databases during runtime

    Hi
    We work with JDeveloper 10g Build 1929 and Oracle 10g as database.
    We use JDBC Datasources as Connection Type, which obviously means that the database connection parameters are set via data-sources.xml.
    DataSources.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
         name="jdev-connection-DB1" username="test1" password="test1" url="jdbc:oracle:thin:@test1:1521:test1" inactivity-timeout="30"/>
    <data-source
         name="jdev-connection-DB2" username="test2" password="test2" url="jdbc:oracle:thin:@test2:1521:test2" inactivity-timeout="30"/
    </data-sources>
    In my application I have an applicaiton module named "TestAM". During runtime, I want the TestAM to be connected to "jdev-connection-DB1" for some time and I want to switch to "jdev-connection-DB2" for some time.
    Is it possible to switch databases during runtime?
    Thanks
    Shoba

    Hi
    I used dynamic JDBC credentials in my application (i.e.) user enters the username and password for the database before entering into the application.
    I was using "JDBC data source" as Connection Type. But dynamic database credentials did not work. But it worked for the Connection Type "JDBC url".
    But if I have the connection type as "JDBC URL" and if I use
    Configuration.createRootApplicationModule
    in my code I get the following error:
    oracle.jbo.JboException: JBO-29000: DB Connection Failure
    at oracle.jbo.JboException.<init>(JboException.java:343)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1505)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1463)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1435)
    07/09/20 12:54:19 JBO-30003: DB Connection Failure
    at com.dags.view.controller.PageAction.changeApplicationUserContext(PageAction.java:429)
    at com.dags.view.controller.PageAction.processComponentEvents(PageAction.java:192)
    at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
    at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
    at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    at com.dags.view.admin.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    So, if I have the connection type as "JDBC url", then dynamic database credentials works, but "Configuration.createRootApplicationModule" doesn't work.
    if JDBC data source, then dynamic database credentials doesn't work, but "Configuration.createRootApplicationModule" works.
    Has any one faced the same issue?
    Please help....
    Thanks
    Shoba

Maybe you are looking for

  • Can't play my videos! Help!

    In iTunes, I try to play any of my video files, all of which were purchased from iTunes on this account, and most of which were downloaded onto this computer. (I had transferred some files from my desktop to my laptop, but they've all played successf

  • Airport Issue, once more

    Hello, ive been trying to fix this a long time but i never made it. I seriously need some help and im sry if my post is same with many other's posts, but seems that Apple didnt even try to fix it so i guess im just desparate for some help. Ok so, bro

  • Not able to connect to R12 instance

    hi, im using Discoverer 4.1 version. im able to connect to all 11i instances. but im not able to connect to R12 instance. do i need to do some settings or do i need to install any new version. please help. thanks in advance.

  • Running pppd inside a zone/container

    People, I'd like to know if it is possible to call out using pppd from insidea zone? I have added the device cua0 to the zone and verified the modem working with tip. Both in the global zone and my zone. Running "pppd cua0 call myisp" works fine from

  • Scan a document to my computer

    I can print from my computer, but I cannot scan a document on my product to my computer.  When I try to scan a document to the computer it says No Computer Found Wireless direct status is ON Wireless status is ON This question was solved. View Soluti