10-22-2014 10:46 AM
Try this.
10-29-2014 08:23 AM
Thank you! Actually I did try it that way, too, but I couldn't see the Mouse Up, see the attached screenshot. Where did you get it from? Is it copy/pasted from some older version?
10-29-2014 10:40 AM
Dirk@LV wrote:
Thank you! Actually I did try it that way, too, but I couldn't see the Mouse Up, see the attached screenshot. Where did you get it from? Is it copy/pasted from some older version?
You can wire a ref of the numeric control to get the mouse up-event and then change the ref.
/Y
10-29-2014 10:57 AM
@Yamaeda wrote:
Dirk@LV wrote:
Thank you! Actually I did try it that way, too, but I couldn't see the Mouse Up, see the attached screenshot. Where did you get it from? Is it copy/pasted from some older version?
You can wire a ref of the numeric control to get the mouse up-event and then change the ref.
/Y
That works but sounds like a bug (uhmmm, I mean "Feature")
10-29-2014 10:59 AM
@JÞB wrote:
@Yamaeda wrote:
Dirk@LV wrote:
Thank you! Actually I did try it that way, too, but I couldn't see the Mouse Up, see the attached screenshot. Where did you get it from? Is it copy/pasted from some older version?
You can wire a ref of the numeric control to get the mouse up-event and then change the ref.
/Y
That works but sounds like a bug (uhmmm, I mean "Feature")
Not having the event option in 2010 (where i checked it) can also be considered a bug, so let's call it even. 😉
/Y
10-29-2014 11:15 AM
Hi Yamaeda, if I try that with a structure freshly created in LV2012, the event input switches back to defaults, and the mouse up event is gone. I tried the same with Pauls structure, and it seemed to work a couple of times, but now -even after restarting LV- I can't reproduce it. Spooky. I tried re-wiring as well as "Link to" to switch from the slider ref (which has Mouse Up) and the This VI ref. So I still suspect that the Register for Events node somehow inherits functionality from an older LV version, until it becomes updated to LV2012. Or so...
Dirk
10-29-2014 05:14 PM
The MouseUp event for a VI reference was 'removed' (I think when they added panes). In order not to break old VIs that use it, they just removed it from the menu choices; it still exists under the hood. I have a (dangerous) utility that let's me mess with the properties of practically anything. I used it to change the Register For Events node.
10-29-2014 05:27 PM
I would not mind that in a PM attachment
10-29-2014 08:12 PM
I'll think about it. I am reluctant to post dangerous code. It can leave LabVIEW in an unstable state.
10-29-2014 08:40 PM
Trust me:)
I understand dangerous. PM or e-mail
I thought you had a few tricks up your sleve