03-25-2013 03:54 AM - edited 03-25-2013 04:18 AM
Is this a bug? Does anyone else has this problem?
Are there any workarounds?
Mouse Up event is generated when mouse button is released from the control (but not from the items list which opens)
Regards,
Jörn
P.S.: Front panel update is also quite slow. It takes about a second to update the control after selecting an item from the pop-up list. I'am using LabVIEW2012 on Win 7.
03-26-2013 10:46 AM
Hey Jörn,
apparently this is expected behaviour. I could reproduce it and found this Knowledgebase where it is explained:
http://digital.ni.com/public.nsf/allkb/AF594F80CE2CF74386256B3C0055F243?OpenDocument
The other thing, with the slow Frontpanel update, i could not reproduce, so if you need help with that it would be nice if you to upload an example.
Best Regards
Gregor
03-26-2013 11:58 AM
I'm going to help Jorn out on this one:
! =
03-26-2013 03:39 PM
Hey Gregor,
the behaviour concerning Mouse Up Event is as described in the article. But if I choose a different item from the pop-up list, there should be a Value Change Event. The ring does not generate a Value Change Event if used in an XControl.
Regard Jörn
03-26-2013 05:28 PM
Can you post an example, so that we're all on the same page, both for the event issue and the update rate issue?
03-27-2013 03:18 AM
maybe this helps:
http://digital.ni.com/public.nsf/allkb/92A985F36253831186257158005E6B50?OpenDocument
Best Regards
Gregor
03-27-2013 03:54 AM
Sorry, Gregor,
it doesn't help. The Value Change Event Case is not processed because the ring does not generate a Value Change Event.
I'm familiar with using XControls and setting "Data changed?" and "State Changed?" of the Action-Cluster to get "data out of the XControl".
Regards, Jörn
@tst
I cannot upload the XControl because it involves too many other VIs. I will prepare an example for upload, but it takes a bit of time.
03-27-2013 04:47 AM
@JrnBrgr wrote:
I will prepare an example for upload, but it takes a bit of time.
OK. I think it's important, because if I create a simple XCtrl with a ring and value change event, it works fine.
03-27-2013 06:54 AM
Am I right, that you already made an Xcontrol with a ring and it worked fine? Or is it just an expectation?
For the performance issue I think it might depends on the whole architecture. I use several XControls (about 15) which also also nested.
03-27-2013 07:12 AM
@JrnBrgr wrote:
Am I right, that you already made an Xcontrol with a ring and it worked fine?
Yes.