Launching HiQ from a VI

You must launch HiQ when you want to create or access a HiQ notebook or run a HiQ-Script. HiQ must be installed on your computer before you can launch HiQ from LabVIEW.

Complete the following steps to launch HiQ and set up the basic structure of your HiQ VI.

  1. Place a Boolean control on the block diagram.
  2. Select the Launch HiQ VI on the Functions»Communication»HiQ palette and place it on the block diagram.
  3. Wire the Boolean control to the Make HiQ Visible input to determine whether HiQ is visible or runs in the background.
  4. Select the Current VI's Path function on the Functions»File I/O»File Constants palette and place it on the block diagram.
  5. Wire the Current VI's Path function output to the Initial Directory input.
  6. Select the Open Notebook VI on the Functions»Communication»HiQ palette and place it on the block diagram.
  7. Wire the Open Notebook VI to the VIs in your application.
  8. Select the Exit HiQ VI on the Functions»Communication»HiQ palette and place it on the block diagram.
  9. Wire HiQ._Application to the Exit HiQ VI.
  10. Use the error in and error out parameters to propagate error handling to the end of the HiQ application.