Complete the following steps to close and exit from HiQ.
Select the Save Notebook VI on the Functions»Communication»HiQ palette and place it on the block diagram to save any data you change in the notebook.
Select the Close Notebook VI on the Functions»Communication»HiQ palette and place it on the block diagram to close the notebook, not the HiQ application.
Select the Exit HiQ VI on the Functions»Communication»HiQ palette and place it on the block diagram.
Wire the HiQ._Application input from the Launch HiQ VI to the Exit HiQ VI input.
Complete the error handling path by wiring an indicator to the error out output of the Exit HiQ VI.
Tip Place the Close Notebook VI and Exit HiQ VI inside a Case structure. Then you can control when to exit HiQ through a front panel Boolean control in the same manner as described in Printing a HiQ Notebook.