Appends a 2D array to a report as a table with the given column width. Wire data to the text data input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • ccclst.png MS Office parameters

    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.

  • cnclst.png position (excel)

    position contains the row and column coordinates of the point in an Excel worksheet from which the insertion occurs.

    Row and column values in Excel are zero-based, so the row and column coordinates of (0,0) correspond to cell A1.

  • ci32.png row

    rows specifies the row index.

  • ci32.png column

    columns specifies the column index.

  • cstr.png name (excel)

    name contains the name of the cell in a Microsoft Excel worksheet from which the insertion occurs.

  • cstr.png bookmark (word)

    bookmark contains the name of the bookmark in a Word document from which the insertion occurs.

  • cu16.png measurement system for column width (Default)

    measurement system for column width determines whether the value you enter in column width is in inches or centimeters.

    The VI ignores this parameter for HTML reports.

    0US—Sets the column width in inches.
    1Metric—Sets the column width in centimeters.
    2Default (default)—Sets the column width in the measurement system set up on the computer.
  • cdbl.png column width (1)

    column width defines the width of each column in the report table.

    The value you enter must be in inches or centimeters, depending on the settings you enter in measurement system for column width. The default is 1. For HTML reports, the VI multiplies the value by 100 to set the column width in pixels.
    Note If you set column width to a large value and send several columns of data to the VI, the VI automatically resizes the column width to fit the width of the report on a single page. If you are using a template and do not want the column width to vary, use the value -1.
  • cNI__reportlvclass.png report in

    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.

  • c1dstr.png column headers

    column headers determines how each column is labeled in the table.

  • c1dstr.png row headers

    row headers determines how each row is labeled in the table.

  • c2ddbl.png numerical data

    numerical data is the numerical information included in the table.

    The information must be a 2D array.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • cstr.png format string (%.3f)

    format string specifies the number formatting to use when converting the numbers to characters. The default is %.3f.

  • cbool.png separate page?

    separate page? specifies whether to place the table on a new page of the report. The default is FALSE.

  • cbool.png show grid lines

    show grid lines specifies whether to display the grid lines of the table. The default is TRUE.

  • iNI__reportlvclass.png report out

    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.

  • inclst.png range (wd) - start (xl)

    range (wd) - start (xl) (Report Generation Toolkit) indicates the place where the VI inserts the table.

  • ii32.png start (wd) - row (xl)

    start (wd) - row (xl) is the point where the table begins.

  • ii32.png end (wd) - col (xl)

    end (wd) - col (xl) is the point where the table ends.

  • inclst.png end (xl)

    end (xl) (Report Generation Toolkit) indicates the last cell in the Excel worksheet where the VI inserts the table.

  • ii32.png row (xl)

    row (xl) is the row number where the table ends.

  • ii32.png col (xl)

    col (xl) is the column number where the table ends.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\reports\TextReportExample.llb\Text Report Example.vi