National Instruments 322179A-01 Label Maker User Manual


 
Chapter 2 New Features in LabVIEW 5.1
LabVIEW 5.1 Addendum 2-26
©
National Instruments Corporation
To create reports using the Report Generation VIs, go to the
Functions»Report Generation palette. You can use the Report Generation
VIs to do the following:
Set up a reports headers and footers (which can include date and time
stamps)
Set character font, size, style, and color
Set a reports margins and tabs
Determine what information appears on a particular line or page of
areport
Set a reports orientation on a page (lengthwise or widthwise)
Include text from other files in a report
Clear information from an existing report (to re-use the reports
formatting in a new report)
Automatically print a report
Dispose of a report after it is printed (which saves memory)
Hints for Generating Reports in LabVIEW
Make sure any information you want to print is formatted into a string
(unless you want to print a 2D array of numbers as a table). If you have a
lot of information and you want to write it to a report, you likely will use
one or more of the String functions. See Chapter 6, String Functions, in the
LabVIEW Function and VI Reference Manual, for information on the
String functions and how they format data.
Use the Easy Text Report VI for less-complicated reports. The following
section, Easy Text Report VI Overview, contains more information on
thisVI.
Easy Text Report VI Overview
The Easy Text Report VI creates a basic report from a block of text. This
VI is appropriate if you do not need to have fine-grain control over all
aspects of the report, and if you do not have a lot of varying data or a
numeric table in the report.
With the Easy Text Report VI, you can specify the text font, set up the
header and footer, set margins, specify a printer, and set the pages
orientation. 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. The Easy Text Report VI disposes of the
reportautomatically, which frees up memory space.