beautypg.com

4 using the read function on a data logger, Using the read function on a data logger -9, Using the read function on a data logger – Echelon i.LON SmartServer 2.0 User Manual

Page 74

background image

i.LON SmartServer 2.0 Programmer’s Reference

5-9

Request



xsi:type="LON_Fb_Cfg">

Net/LON/iLON

App/Data

Logger[3]

#8000010128000000[4].UFPTdataLogger;xsi:type="LON_Fb_Cfg"

0
2008-02-28T11:53:57.930-08:00
LON_Fb_Cfg.htm

dpType="nviClear"

discrim="dir_in">

Net/LON/iLON

App/Data

Logger[3]/nviDlClear[3]

#0000000000000000[0].SNVT_switch

dpType="nviEnable"

discrim="dir_in">

Net/LON/iLON

App/Data

Logger[3]/nviDlEnable[3]

#0000000000000000[0].SNVT_switch

dpType="nvoStatus"

discrim="dir_out">

Net/LON/iLON

App/Data

Logger[3]/nvoDlStatus[3]

#0000000000000000[0].SNVT_switch

dpType="nvoLevelAlarm"

discrim="dir_out">

Net/LON/iLON

App/Data

Logger[3]/nvoDlLevAlarm[3]

#0000000000000000[0].SNVT_alarm

xsi:type="number">9

#8000010128000000[4].UFPTdataLogger

xsi:type="string"

LonFormat="UCPTdynamic">DDT_STATIC



Response



0

Net/LON/iLON App/Data Logger[3]



5.3.4

Using the Read Function on a Data Logger

Use the Read function to retrieve entries from the log files generated by your Data Loggers. You can
specify which log entries the function will return by filling the properties described in the following
table into the input you supply to the function.

You could use a Read request to generate a list of updates recorded for a specific data point or to
generate a list of data point updates recorded during a specific interval.

Note: You should not attempt to read more than 150 log entries with a single Read request. You can
use the following position() expression to ensures that a maximum of 64 values is returned:
“[position()> =last()-64]“

Request (updates recorded for a specific data point)



//Item[@xsi:type="UFPTdataLogger_Data"]

[UCPTpointName="Net/LON/iLON App/Digital Output 1/nviClaValue_1"]