Skip to content
Version 6.1.0
Contact Us

Schedules, calendars, trend logs and other object configuration

Configuring object types that hold more than a present value.

Call these after the object exists. They cover Schedule and Calendar entries, Trend Log and Trend Log Multiple logging and records, Event Log, Channel and Group membership, and Lift and Escalator relationships.

Function Summary
BACnetStack_SetTrendLogTypeToPolled() Sets property values of an existing Trend Log or Trend Log Multiple object.
BACnetStack_SetTrendLogTypeToCOV() Sets property values of an existing Trend Log object.
BACnetStack_SetTrendLogTypeToTriggered() Sets property values of an existing Trend Log object or Trend Log Multiple Object.
BACnetStack_SetTrendLogStartStopTime() Sets the Start and Stop time properties of a Trend Log or Trend Log Multiple object.
BACnetStack_AddLoggedObjectToTrendLogMultiple() Adds an object to be logged to a Trend Log Multiple Object.
BACnetStack_SetLiftHigherLowerDeck() Sets BOTH the Higher_Deck and Lower_Deck properties of a Lift object (135-2024 cl. 12.59.34 and cl. 12.59.35), enabling them if they were not already enabled.
BACnetStack_SetLiftOrEscalatorEnergyMeterRef() Sets the EnergyMeterRef property of a Lift or Escalator object.
BACnetStack_AddChannelObject() Configures a Channel object’s stack-held data: the concrete primitive datatype of its Present_Value (a BACnetChannelValue CHOICE) and an initially-empty List_Of_Object_Property_References.
BACnetStack_AddObjectPropertyReferenceToChannel() Appends one reference to a Channel object’s stack-held List_Of_Object_Property_References.
BACnetStack_AddGroupObject() Creates the stack-held data for a Group object so the stack serves List_Of_Group_Members reads (and AddListElement/RemoveListElement) natively.
BACnetStack_AddGroupMember() Appends a property reference to a member of a Group object’s List_Of_Group_Members, adding the member if it is not there yet.
BACnetStack_RemoveGroupMember() Removes one member from a Group object’s stack-held List_Of_Group_Members.
BACnetStack_AddScheduleObject() Creates the stack-held BACnetStackSchedule for a Schedule object so the stack serves its properties natively.
BACnetStack_AddScheduleWeeklyTimeValue() Appends one (day, time, value) entry to the Weekly_Schedule (135-2024 cl. 12.24.7).
BACnetStack_SetScheduleDefault() Sets the Schedule_Default - the value the Schedule serves when no weekly or exception entry is active (135-2024 cl. 12.24.9).
BACnetStack_AddScheduleExceptionEventWithCalendarEntry() Adds an exception event, defined by a calendar entry, to a Schedule object’s Exception_Schedule.
BACnetStack_AddScheduleExceptionEventWithCalendarReference() Adds an exception event, defined by a reference to a Calendar object, to a Schedule object’s Exception_Schedule.
BACnetStack_AddCalendarObject() Adds a Calendar object whose Date_List and Present_Value the stack maintains.
BACnetStack_AddCalendarDateEntry() Appends a Date entry - a specific date or a date pattern - to a stack-held Calendar’s Date_List.
BACnetStack_AddCalendarDateRangeEntry() Appends a BACnetDateRange entry to a stack-held Calendar’s Date_List.
BACnetStack_AddCalendarWeekNDayEntry() Appends a BACnetWeekNDay entry to a stack-held Calendar’s Date_List: month, week of the month and day of the week, each matched independently (cl. 12.9.6).
BACnetStack_ClearCalendarDateList() Empties a stack-held Calendar’s Date_List, so Present_Value becomes FALSE.
BACnetStack_AddScheduleExceptionTimeValue() Appends one (time, value) transition to the special event identified by exceptionIndex.
BACnetStack_SetScheduleEffectivePeriod() Sets the Effective_Period - the date range over which the Schedule is active (135-2024 cl. 12.24.6).
BACnetStack_AddScheduleObjectPropertyReference() Appends one property reference to List_Of_Object_Property_References - a target the Schedule writes to when its Present_Value changes (135-2024 cl. 12.24.10).
BACnetStack_SetSchedulePriorityForWriting() Sets Priority_For_Writing - the BACnet priority the Schedule uses when it writes its targets (135-2024 cl. 12.24.11).
BACnetStack_InsertTrendLogRecord() Adds a log record to a Trend Log object.
BACnetStack_ReadTrendLogRecord() Gets a record from the Trend Log in a string format that can be used to backup the record.
BACnetStack_InsertTrendLogMultipleRecord() Adds a log record to a Trend Log Multiple object.
BACnetStack_ReadTrendLogMultipleRecord() Gets a record from the Trend Log Multiple in a string format that can be used to backup the record.