Continuous monitoring of the mouse (USB) with fixed sampling rate (500 Hz)

Hello

I'm quiet new to LabView and there are simple applications that I am still unconfortable with. I have to constantly monitors some analog channels to my DAQ and simultaneously to the value of X and Y of the mouse (USB). Signal acquisition of surveillance data are a simple procedure, but how to capture X and Y of the mouse as contibuous undulations sampled 500Hs (for example) so I can merge them to signal data acquisition? What is the synchronyzation of the signals of the acquisition of data and the extra-DAQ chanels created with data from the mouse?

Thanks a lot for your help and your patience!

Olivier

Quick explanation:

When I said "throw a timed loop around this" what I really wanted to throw a loop timed around "acquire input data.  I don't know how it applies to these screws (it certainly when you talk about material!), but generally when talking to a device we open/close only once and loop on the functions of acquisition/generate.

-memoryleak

Tags: NI Hardware

Similar Questions

  • Can I use the mouse wireless with my Satellite M30x?

    Hello

    I have a question. I have the Satellite M30x and my dealer me Toshiba PA3205U-1ETC optical wireless mouse will sell. In information he said that's the only specific laptop models.
    Can I use it with my laptop? At my laptop this specific wireless adapter?

    Welcome them
    s.Wille
    Sorry for my bad English

    Why not.
    I use a mouse wireless at home. Pout station is connected to the USB port and the mouse communicates with the wireless station.

    I put t see any reasons why you shouldn't t be able to use these mice.

    Greetings

  • Not fully functional mouse with MacBook Pro 2010. I can scroll up and down, but can not move the cursor.  The mouse works with my new Macbook 12. No mouse problem but Macbook Pro?

    Not fully functional mouse with MacBook Pro 2010. I can scroll up and down, but can not move the cursor.  The mouse works with my new Macbook 12. No mouse problem but Macbook Pro?

    What specific mouse?

  • I just ran the last update for my iPad and now it just continuously reboots to the black screen with the Apple Logo. Hard restarting does not help, neither do not connect the camera to MacBookPro. Any ideas?

    I just ran the last update for my iPad and now it just continuously reboots to the black screen with the Apple Logo. I left plugged in all night and still no change. Hard restarting does not help, neither do not connect the unit to aMacBookPro. When I do this, iTunes complains that it can not connect because the iPad 'expires '. Now it is disconnected, but I can't turn it off. Even close the lid will not extinguish it. Any ideas?

    Try the following. It seems yo may have to let the battery drain is completely:

    - iOS: do not respond or does not light

    -Also try DFU mode recovery mode post-test

    How to put iPod touch / iPhone in DFU "Karthik doodles."

    -If failed and that you cannot completely turn completely the iOS device, leave the battery to drain completely. After loading a hour repeat the foregoing.

    -Try a different cable

    -Try on another computer

    S ' there is still not successful that usually indicates a hardware problem and an appointment at an Apple store Genius Bar is in order.

    Shop Apple Store - Genius Bar

  • acquisition of data with different sampling rates high

    I have a few questions on the use of the OMB-DAQ-3005 with different sampling rates high.

    For our application, we have 8 analog inputs. Which two are a quick response and should be sampled frequently.  We have an encoder quadrature (CPR 1000 running at 1800 rpm).  We plan to sample X 4 encoder.  For the analog inputs for the quick response, we want to trigger a sample of each pulse or each a few pulses, thus creating a timestamp with the position of the encoder with respect to position index as well as two fast analog inputs.  We have data correlating the analog inputs with the position of the encoder.   Other analog inputs, we want to measure relatively slowly (for example once every 5 dry or similar).

    How can I go on the configuration of the two (or more) sampling rates different wherein I can taste entered at different frequencies?  Also, is there a way to reset the encoder count after outbreak of the index as I have the position of the encoder with respect to the index?

    Maybe you'll find someone here who uses the OMB-DAQ-3005, but this forum is really more designed for LabVIEW programming issues.

    I've never used the OMB-DAQ-3005, but out of curiosity, I took a glance at the Manual of OMB-DAQ-3005.  The answer to both your questions are:

    1. you cannot run a hardware DQA Multiplex (like this one) at independent rates by channel.

    2. the OMB-DAQ-3005 supports an Index Z feature to reset the counter - look for documentation on how to configure any software interface you are using.  If you get stuck, you can try to discover media appropriate for instrument channel.

    Best regards

  • must continue to move the mouse to completely open a website, what can I do to reslove?

    I have to keep moving the mouse backward for a site Web opens if I do not have the site stalls.
    Is that what I can do to fix this?

    Hello wf1717, several other affected users have reported that it was a problem caused by malicious software on their pc.
    Please run a full scan of your system with the free version of malwarebytes and adwcleaner (these two security tools are free).

    Fix Firefox problems caused by malicious software

  • Satellite A200 - after the mouse USB Vista updates no longer works

    After installing the latest updates Vista (KB938371), I discovered that my mouse USB (Genius Traveler) does not work. I can't restore the system (mistake) and this update cannot be removed. Other (flash disk) USB devices work correctly.

    Could someone help me? Thank you.

    Problem solved, I found this on another forum

    + Hi all, +.

    + I found the solution on another forum (forget which) and published this solution in multiple threads. The problem is, as indicated, a Human Interface Device in combination with update KB938371. After installing it, my usb mouse stopped working. Just go to the--> HID Device Manager - devices--> unknown device and looking for drivers. Vista won't find any drivers online, so you must get the drivers on your computer. The location of the driver (in most cases) will be C:/Windows/Winsxs. You will get a window saying: "this is an unsigned driver blah blah blah". Just install the driver. The mouse worked for me (even without reboot). +

    + OS: Edition Vista Home Premium 64-bit. +

    Dr. +

  • Vista cannot find the mouse USB - Satellite P100 - 434 PSPADE driver

    * Need help to install a mouse optical usb on vista32 *.

    I have two mice, two optical usb, 1 wired and 1 wireless. They are the two plug-and-play so when to plug their vista must locate and install the right drivers automatically... it can't.
    Vista search drivers on the disk and hard on the internet.

    "" looking software... looking for an online software.. "."

    Then says:
    "Windows encountered a problem installing the software driver for your device."
    Windows found driver software for your device but encountered an error trying to install it.
    USB Human Interface Device
    The system cannot find the specified file. »

    They are plug-and-play and just install automatically, there is no driver CD that come with the mouse.

    I have a Toshiba Satellite PSPADE P100-434 with Vista 32 bit purchsed new 2 weeks ago.

    Help, please... Thank you!

    It's strange, because the standard optical mouse should be installed without time and without the need of specific drivers.
    Did you check the homepage of the manufacturer for drivers?

    And have you installed all the latest updates for microsoft windows and SP1?

  • grabbing the mouse usb speed

    In brief: I want a usb mouse for it's X and Y of the speed of queries on a regular interval.  How do I?

    What I have: My current attempt is to configure the mouse as a device GROSS VISA and grabbing the data via a suspending VISA USB on the loop (attached) event.  It works fine; My problem with this approach is that it returns stamps on uneven intervals, i.e. each time that an event is raised or the time-out occurs.

    My ideas: Although I certainly would not stifle all other solutions to the original problem, I have some ideas of my own, that you may be able to help with, too, if you think that one is in fact the correct approach to the original problem.  Ideas:

    1. I read through chip communication practical USB (here and here), and I can't say I learned enough of a gentleman to understand in all, they gave me the idea that maybe instead of an interrupt event, I could use a USB Control VISA Office to enter the data on demand.  Nugget #2 described the Warlock-ery (i.e. %valeurs and so forth at the entrance) necessary for the VISA USB Control in the GET_DESCRIPTOR vi.    I have attached my simple VI for how to do this.  I have not the slightest idea of what are the values to provide to catch X speeds and there, however.
    2. It may be heresy to some or you, but I heard there may be some device or other which converts the digital output of the mouse in the analog signals, which could then be simply recorded by my DAQ card.  This could also be done via some creative arduino-ing (i.e. program arduino to interpret digital trains of the mouse, and then convert them them interpreted speeds X and Y on its analog ports).

    I think once I am able to set up "on-demand of sampling", so to say, X data and there, this is a pretty simple question for this tie in the bigger than the mouse recording system clock will be a part of.  I look forward to hearing it as the input and ideas you all have.  Fire away!

    Best,

    ZOB


  • Microsoft Mouse and keyboard Center 2.3.188.0 is not Exchange buttons of the mouse correctly with Windows Remote Desktop

    I use Microsoft Mouse and keyboard Center for years with no problems. For example, version 2.2.173.0 worked well. I use Windows 7 Professional 64 bit.

    I swapped the buttons on my Comfort Optical Mouse 3000 (so that the right button's "click" and the left button displays a context menu, for example). When I connect to a remote computer, traded buttons continue to operate as programmed.

    Just set Windows Update to update my mouse and keyboard Center to the 2.3.188.0 version. Now when I use the Windows Remote Desktop to connect to another computer that is running Windows 7 Professional 64 bit, my button is not honored. In other words, on the local computer, the right button of the mouse is 'click '. On the remote computer, the left mouse button is 'click '. The keys are reversed on the local computer, as I have it configured, but not on the remote computer.

    I called Microsoft and was transferred to various departments. I would like to report this bug, although I have to pay out of pocket, but there seems to be no way to report this bug.

    Is there a way to report this bug to Microsoft? Is there a solution? How can I revert to a previous version of Microsoft Mouse and keyboard Center?

    I suggest to perform a restore of the system to a restore point before the update.

    You can also uninstall the keyboard and the mouse Center programs and features.

    Then, go to this site and download the previous version.

    (I couldn't find any previous version on Microsoft sites, but I checked the file hash values, I downloaded Microsoft previously).

    MD5: 4a2fb26c01d96b25487735da2925f89a

    SHA1: a68199c29a840dc8719c7f644ae14a4b138f65e7

    http://www.userdrivers.com/keyboard-mouse/Microsoft-mouse-and-keyboard-Center-2-2-173-0-for-Windows-7-8-x86-x64/download/

  • How continually increment while the mouse click now

    The attached VI increments a number to each mouse click.  Is it possible to increment permanently with the structure of the event and now the click of the mouse?  For example, if I want to increment the counter from 1 to 100, I don't want to have to click the mouse 100 times, I just want to click once and hold.

    Here's a slightly simplified version which removes some code duplication.

    (Note that both Tim and I have placed before the structure of the event mark.) This eliminates the need for the reset operation).

  • In Windows 7 we select several lines of data that are in a different location on the page (no continuous lines) through the mouse or keyboard and also can we copy all lines of these different at the same time to paste somewhere else in one fell swoop.

    > Now I'm unlable to select more number of lines that are not a sequence in a single page to copy the data rows and paste somewhere in one fell swoop.
    > Is this concept implemented in Windows 7. ?
    > Is there a provision (method) to select several lines that are not continuous across the keyboard or the mouse in windows 7?

    Byagaris,
    It depends on what program you are trying to copy and paste into.  You are able to select continuous, multiple lines, by using the Ctrl Key and clicking, or by highlighting the desired line.  For example, I held the Ctrl key and then, using the mouse, has highlighted several different phrases in the various paragraphs, and could then copy them.  This feature is available for several versions of windows.
    If you are not able to perform this action then post what happens when you try and what program you try it.
    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Scrolling the mouse stuck with (Windows 7) wireless mouse

    I have an optical mouse Labtec wireless for laptops. It causes a scrolling to happen unintentionally with the sliders and the drop-down lists, as long as the mouse is positioned on the element.

    For example:

    (1) when I joined these forums and had to choose a country made mouse scroll down to the bottom without my intervention (other than by selecting the menu drop-down). Almost all the drop-down boxes tend to be done regardless of what program it is in.

    (2) if I try to adjust the volume in the system triggers the sound mouse tray even when I'm trying to lower it.

    (3) in some programs of the mouse scrolls the page automatically. It does not work with all programs. Chrome, IE, Firefox, Acrobat, Notepad and many others is not affected.

    (4) I don't have these problems with XP at all, but I did when I used Ubuntu (mouse would scroll the tabs and cycle always to the first area of the taskbar of Ubuntu.) I had to alt - tab to switch windows).

    (5) for my first installation of Chrome, the mouse would be automatically scroll the tabs to the first even if I haven't done stationary above the tabs. I could could properly select another tab if I clicked it and then left mouse tabs quickly.

    I did which solved the problem:

     " The document suggested to change some registry values to disable this behavior of high resolution. So I did exactly cela and adds the following entries 2 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_xxxx & Pid_yyyy\\Device Parameters

    VScrollHighResolutionDisable  = 1

    HScrollHighResolutionDisable  = 1


    ( http://social.technet.microsoft.com/Forums/en-US/w7itprohardware/thread/71db7003-45b1-4fbc-844f-da4894c20036/)

    (5) I tried to open the mouse and by removing the mouse wheel. This had no effect. I couldn't scroll through manually, but the mouse would be automatically scroll.
    I'm puzzled. Can anyone help?

    Seted Hello,

    Thank you for your message.  Have you tried to use a different mouse or port on your computer?  In addition, you can try using your mouse on another computer to see if the behavior is the same, in this case, the problem may be with your mouse.  Please let us know.
    See you soon

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

  • screen freezes unless I continue to move the mouse

    When I enter a Web site, I have to keep moving the mouse or the screen freezes


  • With the NI 9205 module Max sampling rate - problems

    Dear friends,

    I develop a project of lv, which makes and control system of engine dyno. The material is CRio-9022 with other cards and also 9205 for AI. There is an encoder for angle attached to the motor shaft with 3600 chatted by Tower as well as an index to indicate the end of a revolution. the output of the encoder is measured by card 9411. The speed of the motor is 1500 rpm. I measure pressure data and couple when I receive a 'tick' of the wheel. This means my sampling rate for pressure and torque each is 90KO/s.

    but I was not successful to lead it. The program is great and I can show them, but I believe that there is a problem in the choice of material for the task. With the data of pressure and torque of the 9205, I also measure other channels for the controller output mass flow and temperatures. So in all I use 8 channels of the 32 available. But only the pressure and torque are acquired at the wheel-driven sampling rate. the rest are acquired about 5 times per second.

    Since the 9025 is a multiplexing ADC, 250K sampling frequency is divided by the number of channels accessed = 250 K/8 = 31 K samples/channel. With this in mind, I decided to acquire data of pressure and torque with each beat 3rd rotary encoder, essentially on 30K samples/s sampling. However, I see a large amount of noise.

    So I decide to average more than 1 second cycles (so the engine runs at about 25 cycles/sec, I averaged over this issue). The resulting pressure and torque graphics do not match with those measured by an oscilloscope in terms of amplitude but the frequency and shape is correct.

    I noticed an interesting feature in the charts. When I pass interpolation between the points, I see several curves made by points instead of a continuous locus of points. Accordingly, I find that the acquisition is slower than necessary, and so there are less number of points sampled as required. These points are not synchronized 25 cycles I have on average and therefore the separate "curves". It is because of the possibility that some points receive a higher number of 'contributions' several times (when you add), the neighbouring points.

    so I conculde that the 9205 is not fast enough to do the job. also noise, perhaps due to crosstalk or gosting when the mux changes channels. the impdences output pressure and the couple are of the order of 10 K ohms.

    the Labview code outline: well, there is a vi FPGA, which takes the rotary encoder ticks and sends a signal to the case of each 3rd tick. The signal contains a 16-bit integer, indicating the number of ticks. This signal is sent to a 1 element FIFO. This fifo is read in a parallel while loop, where it remains awaiting a new element. The while loop bed fifo, where data are available, takes a measure of pressure channel. A node memory of the method is called to provide data according to contained in the index number equal to the number of ticks to signal fifo. Then he adds the current pressure reading to the reading of the memory and stores the sum in the same memory location.  Thus, an array of elements of 1200 is formed, where each elemnt is a sum of the values taken of more than 25 cycles. This memory is transferd to a dma fifo and reading side host. is done similarly to involved couple. host-side the fifo is read and divided by 25 to get the average. This average is displayed on a waveform graph.

    Please check the attached file to get an idea of the problem. Sorry for the long post.

    Please suggest if you understand the problem and suggesstions or solutions.


Maybe you are looking for