Short Name: Print.VI To HTML
Requires: Base Development System
Class: VI Methods
To Use: Create a method.
Saves the VI information to an HTML file and saves the graphics in external files. You can use the Open URL in Default Browser VI to display the HTML file in the default Web browser.
This method is similar to the HTML file option on the Destination page of the Print dialog box.
Data type | Name | Required | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTML File Path | Yes | Path to the HTML file in which you want to save the VI information. The directory in which you want to save the file must already exist, and you must wire a full path including the HTML filename. | |||||||||||
Append? | No | Specifies whether LabVIEW appends the new information to an existing file. The default is FALSE. | |||||||||||
Format | No | Specifies which VI information to print and the format of the printout. You can select from Custom, Standard, Using Panel, Using SubVI, and Complete.
If this input is not Custom, LabVIEW ignores all custom format properties in the Application printing property class.
| |||||||||||
Image Format | No | Select the format of the graphic files.
| |||||||||||
Image Depth | No | Sets the color depth, or number of supported colors, of the image: 1 (1-bit, black and white), 4 (4-bit, 16 colors), 8 (8-bit, 256 colors), or 24 (24-bit, true color). The default is 8. | |||||||||||
Image Directory | No | Path to the directory in which you want to save the graphic files. The directory in which you want to save the files must already exist. If not specified, LabVIEW saves the image files in the same directory as the HTML or RTF file. |
The following table lists the characteristics of this method.
Data type | No return value |
Available in Run-Time Engine | No |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | Yes |
Loads the front panel into memory | Yes |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |
Must wait until user interface is idle | Yes |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |