LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: SubVI front panel won't close properly after running

Related issue with subvi displaying when nothing is selected in subvi node setup. Looked into the properties (File/VI Properties, window appearance, customize) and the same options are also listed there. Deselected 'Show front panel when called', and the subvi did not display, as desired.

Additional info: two places where the subvi is used, one where it is displayed to show temperature stability, and one where it is not intended to be displayed, only called to get the current temperature. The program is built into exe, using 2012.

Which one should take precedence, File/VI Properties or subvi node setup?

0 Kudos
Message 1 of 2
(486 Views)

Hi Dekay,

 


@Dekay wrote:

Which one should take precedence, File/VI Properties or subvi node setup?


You might play with those properties to reach your goal. Will result in badly readable code…

 


@Dekay wrote:

Additional info: two places where the subvi is used, one where it is displayed to show temperature stability, and one where it is not intended to be displayed, only called to get the current temperature.


So that subVI has two tasks:

  1. Read a temperature value (from hardware?)
  2. Display temperature plot to show/analyze data

Why don't you split both tasks into their own subVIs?

No more thinking about which subVI to show frontpanel and which to hide!

Best regards,
GerdW


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