beautypg.com

Eventcalendarget, Eventcalendarget -5, 2 eventcalendarget – Echelon i.LON 100 e2 Internet Server User Manual

Page 172

background image

i.

LON 100 Internet Server Programmer’s Reference

11-5

11.2.1.2 EventCalendarGet

You can use the EventCalendarGet function to return the configuration of any Event
Calendar that you have added to the

i.

LON 100. You must reference the Event Calendar

whose configuration is to be returned by its index number in the parameter you

supply to this function, as in the example below.


Parameter



0





Parameter



0

2001-06-21T20:53:21Z
Floor
Calendar 1
00-00-00,00-00-00

0
Easter
0
00-04-11,00-04-12,MN_NUL,DY_NUL



The function returns a element for each Event Calendar referenced in the
parameter you supplied to the function. The properties included in each of these

elements are initially defined when the Event Calendar is created. You can write to them

with the EventCalendarSet function. Table 56 describes these properties.

Table 56 EventCalendarGet Output Properties

Property Description

The index number assigned to the Event Calendar must be in the range of 0-

32,767. As mentioned earlier, you can use the EventCalendarSet function to

create a new Event Calendar, or to modify an existing Event Calendar. If you
do not specify an index number in the parameter you supply to

EventCalendarSet, the function will create a new Event Calendar using the
first available index number.
If you specify an index number that is already being used, the function will

overwrite the configuration of the Event Calendar using that index number
with the settings defined in the parameter.
NOTE: The

i.

LON 100 supports one active Event Calendar at a time. The

active Event Calendar must use index number 0.