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.
11-21-2012 07:20 AM
Hello,
I've encounterd a Problem, which might be a bug in Labview. I'm using LV 2011.
I have got a eventstructure within a whileloop. Eventcase A should not lock the frontpanel. Eventcase B should lock the fp. Here is the Problem:
First I trigger A und the fp isn't locked. While A is calculating I trigger B and even though B is not runnig yet the fp is already locked. This make no sense to me. Is this bug fixed in LV2012?
I attached an example.
Yours
Matthias
Solved! Go to Solution.
11-21-2012 07:28 AM
Nope, that is normal behavior. Once an event with the fp lock has been triggered, the front panel will be locked until that event case has completed.
11-21-2012 07:29 AM
That's how it is intended to work. The lock happens from the instant the event is triggered, not just while it is being handled. If you don't want that then you must turn it off.
11-21-2012 07:31 AM
This is expected behavior. You have several issues in the code regarding your event structure which are covered in the caveats of event structures.
The ones you break are:
Additional, i suggest you to change the mechanical action of the boolean controls to latch (instead of switch) since a switch always should indicate a toogle function.
Norbert