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: 

something similar to browse path control, but not quite

Hi all,

 

in my VI there is a 2D listbox. When I click on a line, in a subpanel a VI is loaded and data from listbox is written into controls in this subpanel. The VI in the subpanel then is finished.

A "browse path" control in the subpanel can be pressed, a new window is opened and I can choose a path, even though the subpanel VI is not running.

 

Is there an option to have a custom control, where I can open e.g. a new VI when a button is pressed? XControls don't seem to work or I am too stupid.

 

Thx in advance

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

Hi Tesla,

 

customize a boolean button to show the same image as the browse button of the path control. Then you can call your own subVI when that button is pressed…

Best regards,
GerdW


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

Thank you for your fast answer.

 

Unfortunately, the VI in the subpanel isn't running anymore and so doesn't react to button press.

 

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

Then you should not exit the subVI…

Best regards,
GerdW


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