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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel suddenly locks

Hello,
I met stange behavior of FP of one VI: after some interactions with controls, FP locks, although VI continue to run (it can be tracked with highlight execution). It happens when I put Event Structure into SubVI (it was in VI before). And the most strange thing - FP blocks, even if SubVI with Event Structure doesn't run (just wait in memory for running).
Any suggestions? 
0 Kudos
Message 1 of 4
(2,301 Views)

Can you post your code?

Placing an Event Structure inside a sub-vi shouldn't cause the FP to "block"..  We'd have to see the code to have an idea of what is causing it. 

Just a curiosity question:  do you use Protperty nodes to configure FP controls?

RayR

0 Kudos
Message 2 of 4
(2,295 Views)
Post your code so we can take a look at it.

More than likely, you have an event structure in your sub-vi waiting for action, and until you finish your sub-vi, the front panel of the main VI will appear to lockup. That's just a guess.

B-)
0 Kudos
Message 3 of 4
(2,294 Views)

There is an option you can configure in your event structures called "Lock front panel until event completes" (or something that effect).

Events, once registered will lock the FP (if that option is set) and the specified event is triggered.

For static events, this can happen any time after the VI starts running.

For dynamic events, it can happen any time after the event is registered.

Does any of that help?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,274 Views)