Admin Production ni-theme
Current Publication

Adding Help in the Function Tree Editor

LabWindows/CVI

Adding Help in the Function Tree Editor

In this example, you will add instrument and function class help to a function tree. Complete the following steps to create a new instrument and function tree and add help to the function tree.

  1. Select File»New»Function Tree (*.fp).
  2. Select Create»Instrument.
  3. Enter Help Examples as the Name and help as the Prefix. Click OK.
  4. Select Create»Class.
  5. Enter Class 1 as the Name. Click OK.
  6. Select the line beneath Class 1.
  7. Select Create»Function Panel Window.
  8. Enter Function 1 as the Name and fun1 as the Function Name. Click OK.
  9. The first level of help is associated with the name of the instrument driver. Right-click Help Examples and select Edit Help to open the Help Editor.
  10. Enter the following help:

    This driver was created to illustrate how to add help text to an instrument driver.
  11. Select File»Save .FP File. Save the file as help.fp. Close the Help Editor window.
  12. Right-click Class 1 and select Edit Help.
  13. Enter the following text in the Help Editor.

    An example function class. The functions in this class are the following:
    Function 1--The only function in the class.
  14. Save the .fp file and close the Help Editor.

Complete the following steps to view the help.

  1. Select Instrument»Help Examples. The Select Function Panel dialog box appears.
  2. Select Class 1 and click Help to open the Class Help window.
  3. Click Instrument Help to display the Instrument Help window.
  4. Click Done to exit the Instrument Help and Class Help windows.
  5. Click Cancel to exit the Select Function Panel dialog box.