Mouse wheel value update

Hello everyone
I am trying to get the value from "mouse scroll" changed by mouse wheel. The attached code is very simple and seems to be right wired, but it's not working properly. If you run the VI and scroll up and down  mouse wheel, you will see that sometimes the value is updated on the indicator, sometimes don't. If you keep using the mouse wheel always on the same direction (i.e. up), the value on the indicator starts to increase but not after every single roll of the mouse wheel. Seems like a lack of sync between the while loop execution and the mouse wheel usage.
Any ideas how to trigger the loop just after mouse wheel usage? I have to sync them.
Thanks
Dan07
Attachments:
Mouse Wheel Value Update.vi ‏10 KB

Mike
I got your Vis and did some modifications to adjust them to my code and everything is working like a charm. But I would like to understand what's going wrong with my code (the one that I attached on the first message of this thread). I did a very very very simple code that was supposed to do the jog, but it is not working. As I roll the mouse wheel the value on the indicator does not update in sync with the mouse wheel (sometimes it updates, sometimes don't). If I have my code working I can put it inside an event structure on the timeout case and use:
Mouser Enter array - feed timeout with 10ms
Mouse Leave array - feed timeout with -1ms
Anyway, thanks for your code.
Please, help me to understand what's wrong with mine.
Aested, my VI works on my computer too, but the value on the indicator does not update in sync with all movements of mouse wheel.
Thanks
Dan07

Similar Messages

  • [SOLVED] Chromium updated to 24.0.1312.52 (175374), no mouse wheel

    Just updated Chromium to version 24.0.1312.52 (175374) and the mouse wheel can't scroll anymore, had to install an extension for middle-click to be able to scroll again, anyone else with this problem?
    Last edited by bmanuel (2013-01-11 10:25:24)

    anonymous_user wrote:Have you considering using Chromium's experimental smooth scrolling that can be enabled in chrome://flags?
    I tried, but this should be labeled as a joke, that gives basically very little difference, they should just look at how Firefox implemented it for a good reference

  • Mouse wheel to adjust values of colors/ font size etc

    Hello,
    Is that possible to make FW CS5 use mouse wheel to adjust values (hue, saturation, font size etc.) similarly to PS?
    It's a bit of a drag to have to click the slider and each time I want to fine tune the tone.
    Rgs
    Joey

    You can set the pref mousewheel.withcontrolkey.numlines to -1 on the about:config page.
    The pref mousewheel.withcontrolkey.action must be 3 (default)
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    * http://kb.mozillazine.org/about%3Aconfig

  • Annoying - mouse wheel changes values in LOV when page scrolling

    When I use the mouse wheel to scroll down the page after selecting a value from a Select List LOV, focus remains in the LOV and the LOV value changes automatically. Does anyone know of a workaround how to take focus off the LOV after selection? This has been annoying me for years especially in the Application Builder (which we can't do much about I suppose). Can this be done in my apps?...and please don't suggest not using the mouse wheel to scroll down the page...
    regards
    Paul P

    Hi Paul,
    assume you have a form with (at least) these two fields:
    1. P70_EMPLOYEE_ID (standard Text field)
    2. P70_MGR (select list)
    All you need to do is specify
    onchange="$x('P70_EMPLOYEE_ID').focus();"at HTML Form Element Attributes of item P70_MGR. Then everytime a value is selected from the select-list the focus/mouse pointer changes to P70_EMPLOYEE_ID
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • How to use Mouse Wheel Events

    Hello Everyone
    I am using Datagrid in my Canvas.
    I use mouse wheel to scroll the datagrid. But in one scroll
    through that wheel make the more than 4 rows to be scroll.
    So Now my requirement is to control the delta value of mouse
    wheel event and how to use that with my datagrid so that i will
    able to scroll one row through mouse wheel scroller.
    Thanks

    please give me some suggestion around it.
    I want to scroll one row of datagrid with per mousewheel
    scroll. I am not getting how to use the scrollMouseWheelMultiplier
    property of the IConfiguration class because i am not able to
    create the object of this class.
    I am using the Flex 3.0 and flash 9 version.
    please help me out around this.

  • Pressing mouse wheel (or Ctrl + Left Mouse Click) on navigation arrows does not open previous/next page in new tab anymore

    I am using the new Firefox Developer Edition as a stand-alone on Ubuntu, so I can still use the "old" version, too.
    Everything seems to be working fine, as in I am logged in and setup sync. But a few features I got very much used to are no longer working.
    When I click on "About Firefox Developer Edition", it shows these details:
    Firefox Developer Edition 36.0a2 (2014-12-09)
    Firefox Developer Edition is up to date
    You are currently on the aurora update channel.
    In my "old" Firefox, I can:
    1. Click with the mouse wheel on the navigation arrows to open the previous or next page in a new tab.
    2. "right mouse click" on the navigation arrows to see the list of previously visited pages of the current tab, and the ones I visited after the page I am on, if I clicked "back" once or more times. I can then click the mouse wheel or "Ctrl + Left Mouse Button" to open any of the pages in the list in a new tab.
    None of this works in the Developer Edition.

    To clarify, the list of previously or later visited pages does still show up when I right click on the navigation arrows in the Developer Version, but I cannot open any of the links in the list in a new tab with the mouse wheel or "Ctrl + Left Mouse Click".

  • All-in-One Qosmio PX30t - Mouse wheel application interruptions

    hello there ...
    for some reason my mouse wheel has been configured to switch to the start page (tiles).
    I find this convenient while operating the desktop activities but during other applications its a bit irritating. Here are examples of what i mean:
    1. in google's chrome, i use the wheel extensively to open a new tab. now with 8.1 i cant as the wheel action takes me to start page (tiles)
    2. im playing Fable and the block action is set to the mouse wheel (make sense as its the most convenient for such task) but with the defaulted switching behavior .. every time i try to block ..im outta the game to the start page (tiles). I know i could avert this by re-configuring the action to a different button or key, but why not have it as is????
    im not sure of these applications to be the only ones as its my first 8.1 use!
    thanks.

    I'm inclined to agree. At first I thought Toshiba had simply remapped the Middle Mouse Button to bring up the start menu for whatever reason, but from what I can tell the PC actually registers the MMB as the Left Windows Key! Why anyone would think this was a good design idea I have no idea. For me it's just frustrating....
    Anyway, I've so far found 2 ways around this:
    First; using any other mouse, the MMB functions normally. So you could plug a regular USB or wireless mouse in and presto! Problem solved.
    +Of course this is FAR less than ideal. One of the reasons I bought an all in one was for the clean look with matching keyboard and mouse. I don't want to give up a USB port when it already comes with the peripherals built in.+
    The second option (The one I'm currently using) is to use key remapping software. I've remapped the Left Window Key to act as the Middle Mouse Button. Now my mouse functions normally.
    +The problem with this solution is that the Windows Key on the keyboard now also works like a MMB. I remapped the "drop down menu" key to act as the LWIN key to compensate, but this solution is also far from ideal.+
    I think Toshiba should release a firmware (or software??) update that either fixes this issue properly, or at least gives users the option to use the MMB as a MMB.

  • Flash freezes in Firefox when I scroll the mouse wheel over a drop down list or text field (possibly others as well).

    Whenever I scroll in a drop down menu in Flash in Firefox (for example, I move the mouse wheel just one detent), it just continues scrolling on its own all the way to the bottom of the list and freezes all interaction for about 10 seconds.  It's really bizarre.
    If I start click and dragging things, nothing happens, and then all of the sudden everything catches up and moves.  As an experienced programmer, I can say that it looks like some kind of queuing of keyboard/mouse events with delayed execution.   Has anyone else encountered this issue?
    I found something from 2008 that sounds similar, although I am not using the sIFR they mentioned: sIFR mouse wheel scrolling freeze in Firefox - Stack Overflow
    Seems to be a Firefox-specific issue, although it also seems to be something that has just recently started occurring since updating Firefox.
    UPDATE:  I was checking my Firefox version in Help > About Firefox, and it showed version 33, but also had a pending update so I restarted Firefox.  The problem was no longer occurring at that point.  When I checked the version again, it said 33.0.2, but it also said "applying update", with another pending restart. I restarted Firefox again.  It's now stable at version 33.1.  So perhaps it was a problem with that particular version, or even a temporary issue with that running browser instance.

    Hi James,
    Thank you for sharing your solution with us. It will help other users with a similar issue.
    Thanks,
    Preran

  • Trouble with mouse wheel button!

    How to enable scrolling in JScrollPane by mouse wheel button? In AWT TextArea everything is OK. Thanks.
    import javax.swing.*;
    class New {
         JFrame frame = new JFrame("MouseWheel");
         JTextPane txt = new JTextPane();
         public Tockic(){
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(100,300);
              txt.setText("AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best");
              JScrollPane scroll = new JScrollPane(txt);
              frame.getContentPane().add(scroll);
              frame.setVisible(true);
         public static void main(String[] args){
              new New();
    import java.awt.*;
    import java.awt.event.*;
    class Old {
         Frame frame = new Frame("MouseWheel");
         TextArea txt = new TextArea();
         ScrollPane s = new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
         public Old(){
              frame.setSize(100,100);
              txt.setText("Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad");
              frame.add(txt);
              frame.setVisible(true);
              frame.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                        frame.dispose();
                        System.exit(0);
         public static void main(String[] args){
              new Old();

    In all honesty though, even if fixing this kind of bug would create a new one, its not a bug that should be ignored. Its a major one imo (fix this bug and create a new one, I would personally take my chances). I remember after effects had a bug in a recent update, were audio always was set to low quality when you export, which was very annoying, and it wasn't fixed for months! This bug is worse, and happily I read this thread before updating so Im staying away for now, I hope it won't take months to fix this one.
    It makes sense and Im really happy to hear a chunk of the AE team is working on optimizing the code.Though I think they should devote more people to that. AE is such an old program that I assume those working with keying or other of the features that have been updated lately, they bought a better plugin for it allready. I would much rather have NO updates for a year if that means the program would become more stable, faster and in the future they would not need to patch up layers and layers of old code, as you say....and from what I remember the response from the community was pretty much the same from every single one when it was asked in public what people wanted in the future updates....a faster program. THe content of AE is all ready great, and you can get plugins for pretty much everything you need...except optimization and an up to date software that uses the computer to the maximum potential. 

  • Mouse wheel scrolling by page instead of 3 lines

    When I scroll my mouse wheel down or up, it goes by page instead of 3 lines (as set in Win7). This is happening only in Nightly 39.0a1 (2015-02-24), and I can't find where to change the setting, and frankly don't know how it got changed in the first place. Every other application does the 3 lines like they're supposed to. I was just scrolling thru my email and BOOM it started going by page. I've rebooted and tried holding every combination of CTRL/ALT/SHIFT and scrolling thinking that might help. Any ideas?

    hi greystoker, nightly is an unstable development branch where things are bound to break or go wrong every now and then.
    what you're describing sounds like [https://bugzilla.mozilla.org/show_bug.cgi?id=1136177 bug #1136177] which will be addressed in one of the next updates.

  • Mouse wheel to scroll

    Hi all!
    Every time I open Adobe Reader XI, I want to use the scroll wheel of the mouse to scroll down the document. Instead, the mouse wheel zooms the current page.
    Specifically, I set the zoom to "fit one full page at a time", and I want to quickly scroll through the pages. I could do that with the "next page" button or the arrows, but using the mouse wheel would be more convenient. So, can I do it? And how?

    Maybe reserve the Shift modifier for this.
    *mousewheel.with_shift.action;<strike>2</strike> 1
    *mousewheel.with_shift.delta_multiplier_y;9999
    ''(edit: fixed action value from 2 to 1)''

  • Mouse wheel scroll in forms?

    Hello,
    How we can activate the mouse wheel to scroll up and down on canvas it has scroll bar?
    forms 10.1.2.0.2.
    xp sp3.
    Java Plug-in 1.6.0_23
    Using JRE version 1.6.0_23-b05 Java HotSpot(TM) Client VM.
    charles.

    beans wrote:
    Update to forms 10.1.2.3.0Hello,
    Thank you for your reply.
    How about the AS?is it need to update also?
    So, Where can i get this update.Metalink?
    Can you please post here the link to download if its available on OTN?
    charles.

  • Mouse wheel to adjust dial

    Hi
    I wonder if there is any way to use the mouse wheel to control the value of a knob?
    I have tried to right click on the Knob -> Properties -> Key Navigation, but here can I only select items from the keyboard.
    Kind regards,
    Mattias

    I made a modification to the example mentioned below.  This does what you want I think (LV 8.6).
    Randall Pursley
    Attachments:
    mouse8_6 mod.vi ‏18 KB

  • Using the mouse wheel to scroll, now jumps a few albums at a time unlike before

    help!  Using the mouse wheel to scroll, now jumps a few albums at a time unlike before ><
    In the past I was just able to go into the mouse control settings in control panel and reduce wheel scrolling to 1 page at a time.  Now i'm not able to scroll one album at a time anymore, even though my mouse control panel is still set to scroll at one page at a time.  Its skipping two albums ahead now and I can't pin point to the album I want now unless if I click on it.  I haven't used ituens in awhile so it must be something new on the last 2 updates, I don't see anything in the perference menu.
    thx

    I can't use the keyboard to scroll. I need to keep my hand on the mouse, otherwise I'd never get anything done. Since I have no problem getting Firefox to scroll one page at a time, and I'm constantly jumping between 3 browsers, it would be nice to be able to scroll a full page at a time in Safari, just like I can in Firefox. Thanks.

  • Remmina not transmitting mouse wheel to VNC session

    Hi,
    I have just noticed that remmina is not transmitting mouse wheel events to VNC session. Never tried RDP, so I don't know if this is also affected.
    First question: Is it only on my system or a general problem on Arch ?
    If it is a general problem on Arch ...
    I did a bit research abot this subject area, and I found some bug reports in multiple distros, but they are all marked as solved. So I think that it is fixed upstream. Otherwise the distros could not mark it as solved, right ?
    If the package maintainer should read this ... is there a plan to update this package in near future ?
    Thanks and Regards,
    Markus

    Usability bugs. The most annoying one was the size of the remmina window that was "never" right. And clicking the "1" button (top left) did unpredictable things. In most cases the window was maximised to full screen height leaving black bars above and below. The bug seems to appear less and less. I promise I will file a bug when I experience it again :-)
    Crashes were always rare in my case.
    But here's not the right place to lament around.

Maybe you are looking for