LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable panel close while using event structure(イベントストラクチャ使用中にパネル閉じるの無効)

I want to disable the closing of the VI panel while using the event structure.

To disable it, I want to use the Pnel Close? button freezes.
Pnel Close? event is not transitioning (waiting for start event to end) because it is in the middle of a start event?

I will attach a sample, is there a better way?

 

イベントストラクチャ使用中にVIのパネルを閉じることを無効にしたいです。

無効にするためPnel Close?でイベントループ中はclose破棄にしても?ボタンでフリーズする
開始イベント中なのでPnel Close?イベントに移行しない(開始イベント終了待ち)??

サンプルを添付しますので良い方法はありますか?

0 Kudos
Message 1 of 3
(71 Views)

Hi fukushi,

 


@fukushi wrote:

I want to disable the closing of the VI panel while using the event structure.


There is a "Frontpanel.Closeable" property of the VI: you can set the property as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(35 Views)

"To disable it, I want to use the Pnel Close? "

 

Panel.Close? doesn't disable it, it can be used to ignore it. I'd use the VI properties and disable it that way.

Yamaeda_0-1727444319128.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(17 Views)