VI class/Print.VI To HTML method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 3EE
Scope Basic Development Environment
Data Name Print.VI To HTML
Short Name* Print.VI To HTML
Long Name* Print:VI To HTML
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Return Data Type No return value
Invoke Node Print:VI To HTML
Available in Real-Time Operating SystemYes
Available in Run-Time EngineNo
Available with control VIsYes
Available with global VIsYes
Available with polymorphic VIsYes
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Must wait until user interface is idleYes
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

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.

Parameters

Data type Name Required Description
Path 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.
Boolean Append? No Specifies whether LabVIEW appends the new information to an existing file. The default is FALSE.
Enum U32 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.
Enum U32 Image Format No Select the format of the graphic files.
I32 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.
Path 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.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links