18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Background Tasks<br />

Report worksheet<br />

A Report worksheet is used to design a report that is dynamically generated during runtime (using the current<br />

values of the included tags) and then either sent to a printer or saved to a file.<br />

To create a new Report worksheet, do one of the following:<br />

• On the Insert tab of the ribbon, in the Task Worksheets group, click Report;<br />

• Right-click the Reports folder in the Project Explorer, and then click Insert on the shortcut menu; or<br />

• Click New on the Application menu, click the File tab, and then select Report Worksheet.<br />

To edit an existing Report worksheet, double-click it in the Project Explorer.<br />

The Report worksheet is divided into two areas:<br />

Report worksheet<br />

• Header area (top section), which contains information for the whole group; and<br />

• Body area (bottom section), where you define each tag in the group.<br />

Use the Header parameters on this worksheet as follows:<br />

• Description field: Type a description of the worksheet for documentation purposes.<br />

• Output File field: Type a tag name for the output file (using the {tag} syntax) where data is stored when you<br />

are printing to a file. Where the tag value is part of the file name.<br />

For example: report{Day}.out. Where the generated file might be report1.out, report2.out,<br />

report3.out, and so on, according to the tag day value.<br />

Note: A report configuration file uses .RCP as the default extension. The Output File field is the file<br />

where data is stored.<br />

• Edit RTF file button: Click to access the report as an RTF file, which you can edit for layout modification and<br />

so forth.<br />

• Disk Append checkbox: When printing to a file<br />

• Check the box to add (amend) the new report to the end of an existing file<br />

• Uncheck the box to replace the existing report in that file with the new report<br />

• Unicode checkbox: Click (enable) to save the report in Unicode format (two bytes per character) or (disable)<br />

to save the report in ASCII format (one byte per character).<br />

• Lock Value into the {Tag/Exp} length checkbox: Click (enable) to automatically truncate the values of Tags/<br />

Expressions in the report to fit between the curly brackets, as they are positioned in the Body of the report<br />

(see below). This helps to preserve the layout of the report. If this option is left unchecked, then the full<br />

values of Tags/Expressions in the report will be displayed.<br />

Use the Body portion of this worksheet for report formatting. You can configure a report using data in the<br />

system and indicating where to print the tag values. Each tag name will replace the {tag_name} tag name.<br />

For Real type tags, use the following syntax: {tag_name n}, where n is the number of decimal places you<br />

want printed.<br />

Page 310<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!