Automatically transferring alarm and data logs, Creating a web connection for logger extraction – Echelon SmartServer 2.2 User Manual
Page 420

SmartServer
2.2 User’s Guide
421
6. Click Submit.
7. Configure the Alarm Notifier to send a notification each time the nvoDlLevAlarm data point
receives an alarm condition following the Configuring E-mail and Data Point Destinations section
in Chapter 6, Alarming. Enter the full path of the log file as an attachment in an e-mail
destination. This enables the log file to be sent to the specified recipients as soon as it becomes
full.
Automatically Transferring Alarm and Data Logs
You can use the SmartServer to automatically transfer alarm and data logs (binary or CSV format) to a
computer running the LNS Proxy Web service included with EES 2.2 and extract selected data to a
CSV or XML file. To do this, you create a Web connection between the SmartServer and LNS Proxy
Web service (in LNS mode) or between the SmartServer and a Web Connection target that is set to the
IP address of the LNS Proxy Web service (in Standalone mode), and add then attach the desired data
log file to the Web connection.
Each time the source data point in the Web connection is updated, the data log file is downloaded to
the LonWorks\iLON\EnterpriseServices\repository\ees-lnsproxy\ReceivedFiles folder on your
EES 2.2 computer. You can manually update the source data point using the Show Value dialog, the
Data Points: View Web page, a custom SmartServer Web page, or other method. You can also
program updates to the source data point using the SmartServer’s built-in applications (for example,
the Scheduler or Type Translator), a custom app, or a SOAP application.
To automatically transfer alarm and data logs, follow these steps:
1. Verify that EES 2.2 and OpenLNS Server has been installed on your OpenLNS Server computer.
See Chapter 1 of the Echelon Enterprise Services 2.2 User’s Guide for how to perform these
installations.
2. Verify that the device resource files for the subject data points are installed on your EES 2.2
computer. You can install the standard version 14 L
ON
M
ARK
resource files on your EES 2.2
computer by installing the Echelon NodeBuilder Resource Editor from the SmartServer 2.2 DVD
(see Installing Echelon NodeBuilder Resource Editor in Chapter 2 for how to do this). You can
manually copy any user-defined resource files to the LonWorks\types\user\<company> folder on
your EES 2.2 computer.
3. Create a Web connection between the SmartServer and the LNS Proxy Web service running on
your EES 2.2 computer.
4. Add a Data Logger or add an Alarm Generator and Alarm Notifier to your SmartServer and
configure it. See Chapter 6 of for more information on configuring Alarm Generators and Alarm
Notifiers, and see Creating a Data Logger earlier in this chapter for configuring data loggers.
Note: To speed up log transfer, set the format of the alarm or data log file to the binary format,
and the data log extractor will automatically convert it to a CSV file on your computer.
5. Attach an alarm or data log file to the Web connection.
6. Configure a method for triggering updates to the source data point in the Web connection to which
the data log file is attached.
7. View the extracted data log files.
The following sections describe how to perform steps 3 and 5–7.
Creating a Web Connection for Logger Extraction
The following sections describe how to create a Web connection to be used for the data log extractor
feature on a SmartServer running in LNS mode or standalone mode.