From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-25-2009 09:18 AM
Colleagues,
Very simple question:
How to get mouse wheel scrolling event on change? Without polling?
Is Acquire Input Data.vi the only way to get it?
Thank you in advance,
Andrey.
02-25-2009 10:44 AM
Hi Andrey,
i think it's not build in. I wrote some years ago the attched vi's, because i also miss this feature. These vi's use the "acquire input data.vi", but it only polls if a control has registered for it.
Hope it helps.
Mike
02-25-2009 11:10 AM
02-25-2009 11:26 AM
Thanks, Mike,
I have solution similar with yours. I was sure that I'm missing something, but it seems to be no other way other than polling (with native LabVIEW components). With polling sometimes I have "skipped" events, so end user will get feeling, that software react with delays. Well, I will profile and "balance" my application.
It sould be possible with WinAPI, but may take huge amount of time for impementation. Hell with WaitForSingleObject, DLL Wrapper, events generation from DLL to LV, and bla bla bla...
Ah, there are nothing ideal and "ready for use" in our world. Unfortunately.
Andrey.
02-25-2009 12:10 PM
06-09-2009 11:14 AM - edited 06-09-2009 11:14 AM
Hi Andrey,
as you said, it's possible with WinAPI. I started to write a function which can do it. I'll upload it in the next days. It only need some more tests.
Mike
06-09-2009 11:41 AM
Mike,
Thanks for that. Looking forward for your solution.
Andrey.
06-09-2009 12:42 PM
I submitted a request for this here. If you want this in future versions, you should vote for it.
09-29-2009 05:00 AM
Hey Mike,
I discovered your VIs today and I want to tell you, I think it's excellent work. Congratulations!
greets, Dave
09-29-2009 05:40 AM
Wiebe@CARYA wrote:
That's cheating!
What did you mean by this, exactly... ?!