Echelon, LON, LONWORKS, LonTalk, Neuron, LONMARK, 3120, 3150,
NodeBuilder, ShortStack, the LonUsers logo, the Echelon logo, and
the LONMARK logo are registered trademarks of Echelon
Corporation. LonPoint, LonPoint Schedule Maker, LonMaker, and
LonSupport are trademarks of Echelon Corporation.
Other brand and product names are trademarks or registered
trademarks of their respective holders.
Neuron
Chips, LonPoint Modules, and other OEM Products were
not designed for use in equipment or systems which involve
danger to human health or safety or a risk of property damage
and Echelon assumes no responsibility or liability for use of the
Neuron
Chips or LonPoint Modules in such applications.
Parts manufactured by vendors other than Echelon and
referenced in this document have been described for illustrative
purposes only, and may not have been tested by Echelon. It is the
responsibility of the customer to determine the suitability of these
parts for each application.
ECHELON MAKES NO REPRESENTATION, WARRANTY, OR CONDITION
OF ANY KIND, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE OR IN
ANY COMMUNICATION WITH YOU, INCLUDING, BUT NOT LIMITED
TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY
QUALITY, FITNESS FOR ANY PARTICULAR PURPOSE,
NONINFRINGEMENT, AND THEIR EQUIVALENTS.
No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form or by any means,
electronic, mechanical, photocopying, recording, or otherwise,
without the prior written permission of Echelon Corporation.
Creating a Custom Report Presentation .......................................................49
Table of Contents i
1
Introduction
The NodeBuilder Resource Report Generator is a
NodeBuilder Resource Editor plug-in that helps you
create reports that document resources that you select.
You can create reports for standard and user-defined
network variable types (NVTs), configuration property
types (CPTs), enumeration types, and functional profiles.
The report generator converts the resource definitions that
you select to extensible markup language (XML) format.
The report generator includes an extensible stylesheet
language transformation (XSLT) that allows a Web
browser or any other application that supports XSLT to
format the data in the XML report. You can modify the
XSLT files to create custom reports for your resource
data. You can host and view reports on your computer, or
you can host your reports on a Web server for remote,
multi-user access. You can see examples of hosted reports
created by the report generator at types.echelon.com and
types.lonmark.org.
In addition to viewing reports with a Web browser, you
can easily convert reports into Microsoft Word
documents, and with XSL or JavaScript knowledge,
convert reports into text, RTF, PDF, or any other format.
To generate reports, you need a computer with the NodeBuilder software and Internet
access (optional). To view reports, you only need a computer with a Web browser
(Internet Explorer 6.0 or later).
Software
Before installing the Report generator, you should have the following software
programs installed on your computer:
• NodeBuilder software version 3.1 or later (required)
• Internet Explorer 6.0 or later (required for viewing reports)
• A compression utility such as WinZip for opening downloaded support
files(recommended)
Hardware
If you want to host reports on a Web server, your computer should be connected to the
Internet. An Internet connection is required for downloading software updates, hosting
and accessing remotely hosted reports, and viewing the LONMARK® Web site for support
information.
Report Generator Updates
For the latest report generator updates, visit
http://www.echelon.com /downloads/.
Each report created by the report generator contains a single HTML page that serves as
an index page. This page, also known as the root index, contains links to pages with
report data that describes network variable types, configuration property types, functional
profiles, and enumeration types. The root index is also linked to an XSLT stylesheet.
Each report page may also contain links to the LONMARK Web site, or to other sites on
your local network or the Internet. The L
provides a report for the standard resources, and it provides utilities that may be referred
to by resource reports. For example, if your design contains the SCPTbypassTime
configuration property type, the report can link to the LONMARK Web site to show details
of this configuration property type. The SCPTbypassTime variable is based on the
SNVT_time_min network variable type.
Hint: For a practical experience, you may launch your Microsoft Internet Explorer and
point it to types.lonmark.org to view the standard resource report.
The resource report resembles a Web page and navigating through a report is much like
navigating through a Web site. To view a report, launch your Web browser and open the
report index page. For example, point your browser to types.lonmark.org to view the
following report.
In addition to using your Web browser to navigate through a report, each report page may
contain navigation options that allow you to perform a variety of functions. Table 3.1
describes these functions.
Table 3.1 Resource Report Navigation Functions
Navigation Item Description
Root Brings you back to the main report page (or root index)
Show All Lists all report items on a single page
Contact Links to the resource file set developer
LonMark Links to the LonMark Web site
Search box Allows you to perform a specific search on the report page in the reported items by
Each resource is listed on its own page and contains detailed information about its type,
attributes, related formats, and other useful information. The report page may also list all
resources referenced by the reported resource as well as those resources that refer to the
reported resource.
Note: Language string resources are not reported separately, but are used by the report pages in place of the
appropriate references.
Saving and Converting a Resource Report
You can convert a resource report into a variety of formats including Word documents,
PDF files, RTF files, or text files. You can then
e-mail, print, or archive these reports. For changing the appearance of a report or more
complex format conversions, see the Customizing Report Presentations section.
Saving a Resource Report as a Word, RTF, or Text File
You can save a resource report as a Microsoft Word, RTF, text file, or other word
processing document. To save a resource report as a word processing document, follow
these steps:
1. Open an existing report with your browser. See the Generating Reports Locally and for Hosting section for instructions on how to generate a report.
2. Navigate to the desired section (Network Variables, Configuration Properties, Functional
Profiles, or Enumerations) from the index page.
3. Select Show All from the report page. This displays all resources in that category (for
example, all network variable types).
4. Right click the page and choose Select All.
5. On the Edit menu, click Copy.
6. Start a word processing application that supports HTML content such as Microsoft Word.
7. Create a new document. For example, on the Word File menu, click New.
8. Paste the clipboard into the new document. For example, on the Word Edit menu, click
Paste. The report contents appear with formatting intact.
9. Repeat steps 2 through 8 for each section (Network Variables, Configuration Properties, Functional Profiles, or Enumerations) from the root directory to save an
entire report. You can skip steps 6 and 7 and use the same document for all sections.
10. Save the new document. For example, on the Word File menu, click Save As.
11. Enter a file name and select the appropriate file type from the Save as Type list.
You can convert a resource file to an Adobe Portable Document Format (PDF) file, using
Adobe Acrobat or any other tool capable of generating PDF documents. For example, to
convert a Word format resource report to PDF format, follow these steps:
1. Follow the procedure described above in the Saving a Resource Report as a Word, RTF, or Text File section. Use Microsoft Word as save the file in Word format.
2. On the Acrobat menu, click Convert to Adobe PDF. The Acrobat software
converts the report to PDF.
Printing a Resource Report
You can print a resource report. Depending on the resources contained within your
report, the printed output may be very large. For example, a report of all standard
resources will contain over 500 pages. For large reports, hosting a report on a Web server
or creating a report CD may be better alternatives to printing a report. If you choose to
print a full report, the following guidelines will assist you in conserving paper while still
promoting readability.
Printing a Single Resource Definition
To print a single resource report page, perform the following steps:
1. Navigate to the desired resource definition from the index page in the report.
2. Select Print from the resource report page or open the File menu and then click Print.
The print dialog box appears.
3. Click Print.
Printing a Section
To print an entire section, perform the following steps:
1. Navigate to the desired section from the root directory.
2. Select Show All from the report page. This displays all resources associated with your
section.
3. On the View menu, point to Text Size, and then click Smallest. This compresses the
size of the Web page text and significantly reduces the page count of your report.
4. On the File menu, click Print Preview. The Print Preview screen appears.
The NodeBuilder Report Generator Wizard provides a
simple, easy-to-use interface for generating resource
reports. The wizard allows you to control many aspects of
the generated report.
The wizard guides you through the process of generating
a resource report. An explanation of each wizard page is
provided below.
You can create a resource report using the NodeBuilder Resource Report Generator
Wizard. To generate a report, follow these steps:
1. Start the NodeBuilder Resource Editor as described in Chapter 7 of the
NodeBuilder User’s Guide.
Table 4.1 provides a brief description of the functionality of the Resource Editor.
2. Right-click the resource catalog, a resource folder, a resource file set, or an
individual resource definition, and then click Report on the shortcut menu. The
wizard appears and allows you to generate a resource report for the resource or
resources that you selected. If you selected the resource catalog, the wizard
creates a report for all resource definitions contained within your resource
catalog.
The following sections describe the individual pages on the wizard.
You can choose the report output destination folder and prepare reports for hosting using
the Welcome page.
Set the options as described in Table 4.2 and then click Next.
Table 4.2 Welcome Screen Control Options
Item Description
Report Output Location Specifies the location of the output folder in this box. This is the folder is where the
Prepare Locally Generated Files
for Hosting
Show All Options Shows all pages of the report wizard screen. Clear this checkbox to skip directly to
generated report is be stored.
Enabling this option formats the report for posting at a specified URL. The default
setting is cleared. See the Generating Reports Locally and for Hosting section for
more information.
the Finish page with the last report settings intact. The default setting is set. You
must visit each wizard page at least once for this option to become enabled.