 |
font settings indicates what font settings currently are used in a report.
 |
charset is the character set to use for report text. The default is standard ASCII English.
|
 |
weight is the thickness of the font.
|
 |
name is the font name.
|
 |
size is the font size. In a standard report, size is the point size.
|
|
 |
margins includes the following parameters:
|
 |
text to be printed is the information you want to include in the report. Any information you want to include must be in a string.
|
 |
printer name or file path specifies the name of the printer that you want to print this report.
If you do not enter a printer name, this VI uses the default printer set up on your computer. If you do specify a printer name, you must have that printer configured for use with your computer. If you do not specify a printer, you must have a default printer specified on your system.
|
 |
report type is the type of report you want to create.
|
 |
orientation specifies how the report appears when it is printed.
0 | Portrait (default)Prints the report widthwise. | 1 | LandscapePrints the report lengthwise. |
|
 |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
 |
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
|
 |
code is the error or warning code. The default is 0.
If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
|
 |
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
|
|
 |
headers allows you to set up what information appears in the header of each page of the report.
 |
left is the information you want to appear in the left side of the header.
|
 |
center is the information you want to appear in the center portion of the header.
|
 |
right is the information you want to appear in the right side of the header.
|
|
 |
footers allows you to set up what information appears in the footer of each page of the report.
 |
left is the information you want to appear in the left side of the footer.
|
 |
center is the information you want to appear in the center portion of the footer.
|
 |
right is the information you want to appear in the right side of the footer.
|
|
 |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
 |
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
|
 |
code is the error or warning code.
If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
|
 |
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
|
|
You cannot use this VI with any other Report Generation VIs. Also, this VI does not give you fine-grain control over the formatting of a report. You can use this VI to specify the text font, set the header and footer, set margins, specify a printer, and set the page orientation. This VI disposes of the report automatically, which frees memory space. However, you cannot control where information is placed, append information from another file, or clear the report of font styles, headers and footers, or text. Use the other Report Generation VIs to generate complicated reports, such as those with many different kinds of information.