4 using the read function on a calendar, Using the read function on a calendar -13, Using the read function on a calendar – Echelon i.LON SmartServer 2.0 User Manual
Page 163

i.LON SmartServer 2.0 Programmer’s Reference
10-13
App/Calendar
xsi:type="UFPTscheduler_CfgEffectivePeriod">
Weekend
Exception
xsi:type="UFPTcalendar_CfgESDate"> xsi:type="string" LonFormat="UCPTyearMask">DW_NUL xsi:type="string" LonFormat="UCPTmonthMask">DW_NUL xsi:type="string" LonFormat="UCPTdayMask">DW_NUL
xsi:type="UFPTcalendar_CfgESDate"> xsi:type="string" LonFormat="UCPTyearMask">DW_WILDCARD xsi:type="string" LonFormat="UCPTmonthMask">DW_WILDCARD xsi:type="string" LonFormat="UCPTdayMask">DW_WILDCARD xsi:type="string" LonFormat="UCPTschedDay">DM_EVERY_WEEKEND_DAY
xsi:type="string" LonFormat="UCPTschedMonth">MN_NUL
Response
App/Calendar__TEMP_OBJECT
10.3.4
Using the Read Function on a Calendar
You can use the Read function to retrieve the events scheduled in the exceptions on a Calendar on the
SmartServer. Optionally, you can filter events using an xSelect statement and specifying one or more
Calendar items. If you do not filter the results with an xSelect statement, the Read function returns the
first 50 events in the selected calendar starting from January 1
st
, 2000.
You can use the following filters in an xSelect statement when using the Read function on a Calendar:
UCPTlastUpdate
When an event occurs. You can compare the specified start and stop
times using equal, less (or equal), great (or equal). UCPTstop is set
to time of last shown event. You need to check whether UCPTstop
differs from UCPTlastUpdate to make the next request start from the
UCPTstop time.
UCPTexeptionName
The name of the exception in which the events are scheduled.