|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Report Generation VIs
Requires: Base Development System
Creates an image of the front panel object specified in ctrl reference and appends it to a report.
|image file type indicates the format of the image. |
|alignment sets the alignment of the image in a report. (Report Generation Toolkit) For Microsoft Word reports, you can use only the LEFT, RIGHT, and MIDDLE options. |
|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.|
|image depth specifies the color depth of the image, which is the number of bits to use to describe the color of each pixel in the image. Valid values include 1, 4, 8, and 24 bits per pixel. image depth affects how LabVIEW interprets the values of image and colors.|
|ctrl reference is a reference to the control whose image you want to append to the report.|
|description is the description of the graphic to display if you open the HTML report in a Web browser set to display text only.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
|MS Office parameters (Report Generation Toolkit) specifies the point in a Microsoft Word or Excel report where you want an insertion to occur. The VI ignores this input for HTML reports. You can specify a bookmark in Word or a named range or cell coordinates in Excel. If you set the report type to Word but do not specify a bookmark, the insertion occurs at the end of the document. |
|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.|
|start out (Report Generation Toolkit) represents the index of the character at the beginning of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.|
|end out (Report Generation Toolkit) represents the index of the character at the end of the text inserted in the Microsoft Word document. The VI ignores this input for HTML reports.|
|error out contains error information. This output provides standard error out functionality.|
For an HTML report, the VI saves the image file to the temporary directory and adds a link to the image file in the report.
If a front panel is not visible, LabVIEW does not update the values in the objects on the front panel. If you call a VI whose front panel is not visible and you use the Append Control Image to Report VI to create an image of a front panel object, the image does not reflect any value changes that occurred when you ran the VI.
If you want the image to reflect value changes, make sure the front panel is open before any values change. If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any front panel terminal on the block diagram of the VI for which you want to create a control image.
You also can use the Get Image method to return an image of a front panel object.