Open HTML Report in Browser VI

Owning Palette: HTML Reports Only VIs

Requires: Base Development System

Displays an HTML report in the default Web browser. Wire data to the report in input to determine the polymorphic instance to use or manually select the instance.

If you wire a URL or path that contains a space character to this VI, the VI encodes the space as %20 before displaying the URL or HTML file in the Web browser.

Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Open HTML Report in Browser (Refnum)

report in is a reference to the report whose appearance, data, and printing you want to control. Use the Create Report VI to generate this LabVIEW class object.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.
temporary HTML file created is the path in which the VI saved the temporary HTML file containing the report before displaying the HTML file in the Web browser. After the VI runs, you can delete the temporary HTML file to free disk space.
error out contains error information. This output provides standard error out functionality.

Open HTML Report in Browser (Path)

path is the path to the HTML file you want to display in the default Web browser. If the path is relative, the VI interprets the path as relative to the application directory, such as the labview directory or the directory containing the stand-alone application.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
path out returns path unchanged.
error out contains error information. This output provides standard error out functionality.

Open HTML Report in Browser (String)

URL is the URL you want to display in the default Web browser. For example, wire http://www.site.com/report.html to this input to display the HTML file report.html on the Web Server www.site.com in the browser.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
URL out is the URL displayed in the Web browser.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the HTML Report VI in the labview\examples\Report Generation\HTML Reports directory for an example of using the Open HTML Report in Browser VI.

 Open example  Find related examples