Generally, users rely on the context help for information about the instrument driver. A VI description appears when the user opens the Context Help window and moves a cursor over a VI icon. The description for the VI that appears in this window should describe how to use the VI and should include any dependencies necessary for using the VI successfully. Well documented instrument drivers help minimize technical support calls.
The description should contain a general description of the instrument driver VI, including any control usage rules or VI interaction necessary to use the instrument. Select File»VI Properties, then select Documentation from the pull-down menu to display the Documentation Page of the dialog box. Select Help»Show Context Help to display the Context Help window. The Context Help window in the figure below shows the description for an instrument driver configuration VI.
Include any critical information on the front panel of the VI and in the context help for the VI and/or control if applicable. The front panel figure below and the context help figure above include critical information.
A control description help appears when the user opens the Context Help window and moves a cursor over the control. Include descriptions for the individual controls and indicators by right-clicking the object and selecting Description and Tip from the shortcut menu. The figure below shows context help for a Boolean, Text Ring and Numeric controls.
The help description includes the name and description of the parameter, its valid range, and default value. Include information that shows index numbers and their corresponding settings for all ring and slide controls, settings corresponding to True/False positions on Boolean controls, and range information for numeric controls. Note any pertinent information concerning control interaction in the description boxes of each affected control. You might also include important instructions to the user in free labels on the front panel and in the block diagram.
The online help document should contain information from the VI and control and indicator descriptions. Refer to the LabVIEW Help for more information about saving VI and control descriptions, creating compiled help files, and linking VIs to compiled help files. Select Help»VI, Function and How To Help to access the LabVIEW Help.
Revision number—Start the instrument driver revision number with 1.0 for the first release. The driver revision should be in the following format: Major.Minor.Fix. Set the instrument driver revision number in the Project Library Properties dialog box.
Firmware revision—Include the firmware of the instrument(s) you used during development. If using a SCPI instrument, query the firmware using the "*IDN?" command.
VISA version—If developing on the Windows platform, use the Measurement and Automation Explorer (MAX) to determine the version of VISA installed on your computer.
Bus support—Many instruments support multiple buses. However, the instrument driver you develop might not support all the bus interfaces. Document the supported buses clearly.
Modification history—Include the name or initials of the developer, the modification date, and a short description of the changes made to the driver in each entry.
Often, users open the VI Tree VI, example VIs, and the Initialize VI first, so ensure these VIs include the most critical information about the manufacturer and instrument(s) the instrument driver supports in their context help descriptions.
By tagging items with <b> and </b> you can add emphasis to context help text. The True and False strings in the help window shown below were tagged for emphasis.