After you compile and download an FPGA VI, you can run the FPGA VI on an FPGA target. If you run an FPGA VI using Interactive Front Panel Communication, you cannot close the FPGA VI without stopping the VI running on the FPGA target.
You can build host VIs to programmatically read and write to the front panel window of the FPGA VI using Programmatic FPGA Interface Communication.