Hi Simon,
there are property nodes for the frontpanel:
Open a reference to the vi, wire the reference to a property node, select property FP.State and select the appropriate input.
(Look at help window: 'Current state of the front panel window. Valid values include 0 (Invalid), 1
(Standard), 2 (Closed), 3 (Hidden), 4 (Minimized), and 5 (Maximized).').
Seems you are responsible for user interface design
🙂
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019