Triggering log transfer, Example 1: scheduling a log transfer – Echelon SmartServer 2.2 User Manual
Page 425
426
Scheduling
5. Click OK. An attachment icon (
) is added to the target data point icon.
6. Click Submit.
Triggering Log Transfer
Each time the source data point in the Web connection used for the log transfer is updated, the
SmartServer downloads the specified data log file attachment to your OpenLNS Server computer
running EES 2.2.
You can manually update the source data point with the SmartServer using the Show Value dialog, the
Data Points: View Web page, a custom SmartServer Web page, or other method. Using the Show
Value dialog or the Data Points: View Web page is useful for testing the data log extractor in a
development environment. In a deployment environment, you can provide a custom SmartServer Web
page for users to manually extract a data log file.
To integrate log transfer with your own applications, you can use one of the SmartServer’s built-in
applications such as an Alarm Generator, Scheduler, or Type Translator to update the data point at a
certain time or when a certain condition exists. You can also use a custom app or a SOAP application
to programmatically trigger the data point update. The following sections provide examples of how to
use the Scheduler and Type Translator built-in applications on the SmartServer to update the source
data point programmatically.
Example 1: Scheduling a Log transfer
You can use the SmartServer’s built-in Scheduler application to update the source data point in the
Web connection used for the log transfer. In this example, the Scheduler updates the source data point
at 07:00 every day. To do this, do the following:
1. Identify a data point in the SmartServer tree to be used as the trigger for the log transfer. This
example adds a SNVT_switch dynamic data point to the SmartServer i.LON App device’s Virtual
Functional Block (Net/LON/iLON App/VirtFB/nvoDlTrigger).
2. Create a Web connection, configure a data logger, and attach a data log file as described in the
previous sections.
3. Create a Scheduler. See Chapter 7, Scheduling for more information.