LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot change from front panel to block diagram while running the program

Hi,

 

I am currently working on a LabVIEW project created by the employee before me. The project has some problems and needs to be corrected. But the problem is when I run the project, I cannot shift to block diagram for debugging. The front panel is fixed. I try to move the front panel and try to click on the block diagram but nothing works, the mouse only works within the front panel while running. I click on window and show block diagram but nothing happens, it just shows the current running VI front panel as GUI and nothing can be done. How can I fix this problem. 

0 Kudos
Message 1 of 4
(2,535 Views)

Hi govindsankar,

 


@govindsankar wrote:

How can I fix this problem. 


Read the documentation left by the former employee…

 

No jokes anymore: change the VI settings, especially the "Window appearance" to default - that's what my glass ball suggests.

For more detailed suggestions you might attach your VI!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,527 Views)

Yeah I got it. I forgot where the VI properties were. I found it now and changed it. 

0 Kudos
Message 3 of 4
(2,521 Views)

The FP is probably set to modal (VI Properties>Window Appearance).

 

A modal window blocks all other LabVIEW VI windows, including diagrams.

 

I'd set it to floating, as the behavior (always on top) is more like modal. However, it's probably modal for a reason. If the dialog isn't modal, the caller can operate all other open windows (incl. front panels) which might not be supported. If it's the top level VI (e.g. the main), making it modal is redundant and inconvenient.

 

EDIT: that crossed. I usually automatically switch my modal windows to floating during development, and back when the VI stops... And I try to avoid modal windows altogether.

Message 4 of 4
(2,519 Views)