Press and release the mouse coordinates

Hello, I am currently working on a frequency counter with simple sound recorder. I want to implement by selecting a fragment of recorded waveform by dragging pressed the mouse over it. I did a VI that would do, but it requires the mouse down and coordinates the mouse upwards. So far I have only came to the top with a double event Structure as in the attached screenshot (outter structure has enabled the front panel) and well, it works, but when one of the conditions is not met (i.e. mouse has been pressed on the inside and then released outside the area of the graph of a waveform or vice versa) the façade will freeze I believe that there must be a more elegant solution. Any ideas how can I make infallible?

You don't want to put event inside the other two structures... technically it might work if configure you event not to lock the Panel and you do an event of compensation, but this isn't the easiest way in the end. You'll find yourself with a queue of mouse events inside and it would be a mouse event instantly each time after you click once on the structure.

Create two tests in the exterior structure of the event, and then use a cluster of data to store information you need from the mouse to the bottom of the event. Then, in mice an event handle drag and drop contact information accordingly.

You end up with something like this:

Ignore the cut wire, it's just something in the way that LabVIEW exports the code snippet. The mouse down event happening just the contact information for the DataSet.

Tags: NI Software

Similar Questions

  • When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.

    When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.  How can I get the pen tool to release the anchor

    Try this.go in the menus. Select cc illustrator > preferences > display selection & anchor > then make sure the box "activate the rubber band for" the pen tool is not selected. Then press OK. It should work.

  • Satellite A200 - Vista does not and only the mouse works

    I have problem with Windows Vista SP1 on A200 (PSAE6E).

    After the recovery of the DVD attached to computer system Vista laptop and running other programs sometimes not respond. Hard drive also stop working. One job of the mouse and the cursor moves on the screen, nothing else. ALT + CTRL + delete not work too only solution is hard power off by pressing and hold the switch.

    Before recovering the system everything works fine. I noticed this Vista product key does not match that of the sticker. I have not changed key and no one else do not have access to my laptop, hard drive that is encrypted by TruceCryp.
    There is no viruses or Trojans in the system (verified by Avira free antivirus and HijackThis), all updates are installed, only one material error with I noticed his first bad block on the hard disk.

    Hello!

    Have you tried an external keyboard on the laptop? Maybe the internal keyboard is not working properly and so you can not use CTRL + ALT + DELETE.
    The laptop is not completely freeze because you can move the cursor.
    In addition, what programs have you installed on your laptop? Maybe these software applications cause this problem.

    Furthermore, you reinstall Vista using the Toshiba Recovery disk or the disk of Microsoft? Because you have questions about the product key on the underside of the laptop and this key belongs to the preinstalled version of Vista. It's an OEM key and you can't use it with a disc of Microsoft.

    > only material error with I noticed his first bad block on the hard disk.
    I think you should swap the HARD drive as soon as possible. Back up your data immediately.
    And this is perhaps the reason for the problem... Who knows?  :|

    Good bye

  • Pointer is frozen on the screen whenever I press and hold the CTRL key to select individual files, photos etc.

    Pointer is frozen on the screen whenever I press and hold the CTRL key to select individual files, photos etc.

    * original title - mouse pointer freezes *.

    What happened since I bought my laptop with Windows 7. I tried my machine manufacturer and they don't have any idea. It's very annoying to have my pointer freeze and close the lid of the laptop to thaw it.

  • clock appears, zoom in and out, the mouse not responding pluse

    Randomly, the clock will be displayed in the lower right of the screen, the scren performs a zoom in and zoom out and the mouse goes haywire.  What is going on?

    Have you tried to test with another mouse that your current mouse is perhaps faulty?

    On the keyboard if you press the Ctrl Key and spin the mouse wheel at the same time this causes the screen to zoom in and out in some windows, such as Internet Explorer or on the desktop (if an icon is highlighted or selected).

    As you mention that the fault is random it will be difficult to solve the problems in the usual way.  See if you can detect some rhyme or reason to explain why it is being implemented.

  • Spectrum 12 2 HP - 2 M7: my new HP Specter12 2-1 M7 gives me a keyboard illuminated with a black screen and then the mouse does not work.

    My new Hp spectrum 12 2 - 1 m7 detachable worked well the first four time I turned it on. Then I put in Google Chrome and it gave me the blue screen of death... I rebooted and then the mouse started working funny or the screen does nothing. I finally took the screen to uninstall Google Chrome, which really didn't help. If I get a black screen with a lit keyboard and sometimes I can get the screen but the mouse is pointing upwards. Help, please.

    You may have a hardware problem that appeared to be connected to Chrome install. You have a 1 year warranty.  > >Contact HP

  • macOS Sierra - press and hold the power button to enter the mode 'sleep'

    I recently updated my MacBook Air (13 inch, early 2015) model of El Capitan macOS Sierra 10.12. Before the update, hold down the power button / stop for 2-3 seconds, put the machine in standby mode. It does not properly after the update. Release the power button to switch to sleep mode works only once after each time you start the machine.

    I know he has an option to set the mode of sleep using Ctrl + button / stop and by selecting one of three options to restart, sleep and Shutdown, but who needs 3 more click click and is not fast. Also, independently of any application that is open, pressing the button walk / stop worked fine before the update, but now I need to be on the desktop even do Ctrl + Power button work.

    All patches available for it? Miss me the old way of put my Mac to sleep I do not remember if I did some tweak in my Mac, or was it a default feature...

    Greetings jainam2209,

    Thank you for using communities of Apple Support. It seems you want to put the Mac to sleep, but it does not always work.
    I would recommend read you these articles, the first article explains the ways that macOS Sierra is supposed to go to sleep.
    The second article can help if the computer won't sleep when you're trying to sleep.

    macOS Sierra: put your Mac to sleep

    macOS Sierra: If your Mac won't go or stay asleep

    Take care.

  • HP Pavilion Notebook 17.3 ": cannot use the buttons and moving the mouse

    Hello

    I'm a pretty heavy gamer and I recently I brought a HP Pavilion Notebook with windows 10 on it, and I expect to play games on it

    But the problem im getting is, if I hold one button, the mouse does not work, which, as you can tell, is unplayable.

    Is there any solution to this? his v19.0.12.97 of Synaptics Pointing Device running

    Thanks in advance

    Hello

    I tried the following on a machine not that different to yours and it seems to work.

    First, download the Synaptics driver on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp63001-63500/sp63417.exe

    Disable your wireless card (should be f12).

    Open Control Panel, open programs and features, right click on the Synaptics driver and select uninstall.

    When you are done, reboot the laptop.

    When windows has reloaded, open your Downloads folder and launch the installer of Synaptics - when this is complete, restart the computer again.

    Open the Synaptics settings panel, disable SmartSense, then check if the touchpad works now with a key on the keyboard is pressed.

    If so, turn on your wireless card and use the utility on the following link to prevent Windows 10 to update automatically the Synaptics driver.

    https://support.Microsoft.com/en-GB/KB/3073930

    Kind regards

    DP - K

  • Screen goes black and only the mouse pointer visible to the windows xp screen

    My computer has used to work without problems.  Now, when I start it upward, to the Windows XP start screen, the screen turns off and all that is visible is the mouse pointer.  I tried to start safe mode, and it does give me even the option - not even if I press F8 at startup upward.  What is the problem with my computer and what can do?

    Thanks for your answers, Dena and Jojih.

    The screen went black and all I could see was the mouse pointer.  There is no ameioration or changes on the hardware of all kinds.  I wonder if one of my employees has a virus on the computer.  I could not do in safe mode, even if I tried to press F8.  If I put in the Windows XP CD, the screen would go black after that he loaded the system files, just like at the start of Windows XP.  So I used Acronis PC Backup and Recovery and make a recovery disc and used to reformat the hard drive and then I reinstalled Windows XP.  Everything has been great to work for.

  • Can't push button and move the mouse pads at the same time hp envy 15?

    Cannot press the keyboard and move my mouse at the same time, the stops of mouse moving on the screen, then after a few seconds, then thaws it and it can be moved again.

    HP Envy 15-3012tx, Windows 7 64 bit, have not updated, there quite yet new at the beginning of the year

    I also found this to play games almost unbearable, even if I found the source of the problem is the touchpad by using the feature called "palm detection.

    How I fixed it for my computer hp envy laptop was that...

    Control Panel > hardware and audio > synaptics clickpad v.1.1 > parameters > "smart sense" > click the gears of the 'line of smart sense' > the upper off wheel

  • Press and hold the menu does not appear while composing email - iOS 10

    As per above, if you press and hold before type anything, the submenu would not appear.

    You must type something in front first, then press and hold to see the submenu.

    As on the new line without typing anything, submenu just appear in press and maintenance.

    This has never happened before on iOS 9, as I always have right now to insert any picture without typing anything.

    This is a bug in ios10. Thought I was going nuts trying to re - copy text in a different application and bring it back on my mail.

  • HP notbook not for sure: CANT TYPE AND MOVE the MOUSE at the SAME TIME

    Basiclly so I cant use Wasd and move my mouse at the same time and I on the delay and feel smart all options off but (of course they do not save after I leave screen) and even when they r there is finally no delay, but still can not use wasd and move at the same time

    Hi Logankoch01,

    The permanent solution is to attach a USB mouse. The mouse and keyboard can work at the same time for the games.

  • S430 trackpad and now the mouse drag when does not necessary

    My S430 is usually updated with all the drivers and software. Works on Windows 7 64.

    A few weeks ago the trackpad starts to be a real problem - perhaps after an update. When I use it to move the cursor instead of that he comes to select text or to pick up and drag items. It became a real problem. I was in a high humidity area and has been mentioned as a problem so I used just the trackpoint or mouse external instead.

    Now today for a short period the external mouse was also doing the same thing. Without touching the mouse keys, * even just move the mouse * has been supported and dragging around the screen or text selection elements. You can imagine it's very frustrating when the unwanted.

    I changed the mouse settings with no luck. Any suggestions very welcome. I'm starting to think that the solution would be to go back to older versions of the drivers maybe.

    Updated - after short time the problem comes back. So I have now uninstalled the driver for the touchpad on your advice and spin on the generic probably. So far its ok...

    Update: no, it was a waste of time. Same problem - when using the trackpad, the cursor is constantly striking, by dragging or by selecting things even though I'm very light with my touch. I tried to change the UltravNav. The pilot it changed to the Synaptics a 16.6 looks like. It's so frustrating! I looked to see if I could disable the 'click with trackpad' feature (that I never, ever had to do on any laptop ever) but it does not seem an option for.

    Update 2: so now after the removal of the driver again, restart, and restart again after the reboot, Windows application the Ultranav settings have disappeared since the mouse control panel and a 15.x Windows generic driver can be seen as being in use. I'll run with it for a while to see how it behaves. So far it seems ok...

  • not by clicking and dragging the mouse

    My mouse pointer responds well to move around the screen and double check etc. However when I try to click and drag he 'loses' of the object (file name or Freecell card) or will not select what I go & drag. All the drivers are up to date. I removed, waited and then replaced the Bluetooth USB mount to the back of the computer and the batteries are charged. Any ideas?

    HP TouchSmart 520-1010ukH

    Mouse Microsoft MG-0982 model

    Windows 7

    Hello @itsmagicvi,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that you are having problems with your Microsoft Mouse on your home PC HP TouchSmart 520-1085uk not allowing you click and drag or use drag to select. I'd be happy to help you, but first of all, I encourage you to post what operating system you are using. And if your 32-bit OS or 64 bits like this that I can give you accurate information.

    Operating system Windows am I running?
    Is the Version of Windows on my computer 32-bit or 64-bit?

    Another thing you can try is the mouse on another computer to see if you encounter the same problem or if you are unable to do this test using a different mouse on your computer to see if the problem repeats.

    Will you please re-post with the information requested and I would be happy to provide assistance. Thanks for posting on the HP Forums. Have a great day!

  • Cannot type and use the mouse to Sametime. HELP ~ ~ ~

    Hi all! =)

    Here's my question:

    1. I play a game called "Battlefield Heroes", which forces me to use the keyboard (for up and down movement) and the mouse (to transform my character/avatar)

    2. they both seem to work very well ON THEIR OWN. But will not work at the same time.

    3. I tried to look in the folder C: > control PANEL > MOUSE... and we found NOTHING that will help me solve this problem

    4. I NEED WINDOW 7 EXPERT ASSISTANCE! PLEASE, I BEG YOU!

    Thanks for reading.

    FOX

    Hello

    Try this-
    1. go in the tab Options-controls when you log on, and then make the settings at default (you need to reset your custom bindings, however).
    2. If it does not, delete the file controls.con for the profile that you have problems with. The controls.con file is located in the folder of BF2142 in your 'My Documents '. There is a file controls.con for each profile, and profiles are numbered in the order that you created the soldiers. The file will be re-created with the settings by default when you start the game again.
    3. If you have customized links to record (and if you have the same links customized for another soldier who still work), you can try to copy the file contols.con on the profile that is not working, or even to write your links in the tab Options-controls before deleting the file.
    4. If none of this works, try to delete the entire folder of My Documents BF2142. The entire folder will be re-created with all the default settings the next time you play. However, you need to reset all the audio/video settings.

Maybe you are looking for