09-11-2014 08:23 AM
Hi,
I'm having a bit of trouble with my controls associated with an event structure.
Controls stay active until the loop runs again, so I put in a reset case that gets called by an event programmatically.
What I find really weird, is that it works when highlight execution is on but fails to reset when it is off.
Anyone got any ideas?
Using LabVIEW 13.0f2. Example attached.
Thanks,
Sean
09-11-2014 08:24 AM
09-11-2014 08:37 AM
Hi GerdW,
That's the first thing I did, I expected it just to work but it didn't.
I just went back and changed a control to classic and tried again and it worked, (attached).
It looks like ti is an issue with the silver boolean buttons
09-11-2014 09:16 AM
Try using the value change event instead of mouse down.
09-11-2014 09:24 AM
When it comes to buttons, you should almost always
Yes, there are exceptions. But this will cover at least 90% of applications.
09-11-2014 09:38 AM
@SeanJ wrote:
I just went back and changed a control to classic and tried again and it worked, (attached).
You also change the mechanical action. In the original code, the "rst" button was "switch until released" (like a car horn!). This generates two events, one when pressed and one when released.
What's the point of the signaling value property node?
09-11-2014 09:45 AM
altenbach wrote:
What's the point of the signaling value property node?
Probably to get the latching buttons to reset (must go through the loop at least once more for the terminals to get read).