Linking to Help Files for Type Library Resources
You can create Microsoft Compiled Help files (.chm), from function trees, then use the .chm file to link help topics to a type library resource. Complete the following steps to link a .chm file to a type library resource.
- Generate documentation from the function tree using the Options»Generate Documentation»HTML command.
- Compile the generated HTML Help project file (.hhp), using an HTML Help compiler application such as the HTML Help Workshop or FAR.
Note The .hhp file and the InstrumentDriverFilename_files folder, that contains the HTML files, are generated into the directory containing the function tree. - Select Build»Target Settings to open the Target Settings dialog box.
- Select Type Library to open the Type Library dialog box.
- Enable the Include links to help file checkbox, then select .chm from the pull-down menu.
Note If you have a .hlp file, you can link a .hlp help file to a type library resource; however, LabWindows/CVI does not generate .hlp files for you. - Select the function panel to which you want to link the .chm file.
Note Make sure that the .chm or .hlp filename is the same as the function panel filename. - Select OK in both the Type Library and Target Settings dialog boxes.