03-10-2011 10:57 AM
A Dynamic Event is a filtered event? Is this why "Lock front panel until the event case for this event completes" is not shown on Edit Event window dialog? I use Dynamic Event so I can subvi the event structure.
I need stop my app from locking the FP whenever the user double clicks on the numerical array value (<-- the FP freezes the mouse and renders it useless) and stops the value from ever being changed. This event is registered for Value Change (not mouse up or down) and I get a locked mouse. As yet in the UI, no value changed occurs but I get a locked mouse. A LV bug?
Trying to KISS, I can see this fixing this by moving ONLY the value change event to the top level VI instead of a dynamic registered event in a subVI. This will give me the option to NOT "Lock front panel until the event case for this event completes" .
Solved! Go to Solution.
03-10-2011 11:52 AM
OK, probably not a LV bug but computer hardware issue. I removed the value change event case for the array control and I still have the problem. My laptop hardware may be the problem, but I question why only this numerical array control makes this occur often enough and the only work-around is kill the app to clear the problem. Wonder if LV10 SP1 new compile improvement will address this?
03-11-2011 11:17 AM
Hey Richjoh,
Here is a link to all the known issues with LabVIEW 2010 and 2010 SP1. You can search them see if it has been documented already.
http://zone.ni.com/devzone/cda/tut/p/id/11869
I hope you find what you are looking for.
Perry S.
03-11-2011 11:33 AM - edited 03-11-2011 11:35 AM
For the dynamic events, you have to right-click the event registration node (where the event is actually registered) and choose not to lock the FP.
Yes its not obvious but its there.
Ben
03-11-2011 03:06 PM
Thx, Ben that fixed the problem when I unchecked "Lock panel...".
So it appears LV locks the panel during runtime once the Dynamic Reg Events is on BD and it doesn't matter if your case to handle the Reg Events is created or NOT... interesting. That's why my mouse persisted to "freeze up" although I deleted the case for my FP array.
03-11-2011 03:13 PM
@richjoh wrote:
Thx, Ben that fixed the problem when I unchecked "Lock panel...".
So it appears LV locks the panel during runtime once the Dynamic Reg Events is on BD and it doesn't matter if your case to handle the Reg Events is created or NOT... interesting. That's why my mouse persisted to "freeze up" although I deleted the case for my FP array.
Its situation like what you described that has given me many insights into how LV actually works. In one of my bbuggy VI's I found that a class wire can run a million miles through multiple sub-VI queues etc but the data itself is only touched when it has to be touched. in my case it was a crash while trying to write bogus class dat to a TDMS file.
I am glad you are back on course.
Ben