Codecore Logo
Quick Search
»
Advanced Search »

Aprilaire 8870 Driver

RSS
Monitors and controls one or more 8870 Aprilaire thermostats.

Manufacturer: Aprilaire

Primary Communications Port: Serial

Table of Contents [Hide/Show]


Configuration Settings
Events
   Connected State Changed
   Current Temperature Changed
   Fan Mode Changed
   Fan Mode Text Changed
   Cool Set Point Changed
   Heat Set Point Changed
   Hold State Changed
   Mode Changed
   Mode Texts Changed
   Fan State Changed
   Heating State Changed
   Cooling State Changed
   Relay State Changed
   Sensor Value Changed
   Sensor Value Text Changed
   Sensor Control Setting Changed
   First Stage Differential Temperature Changed
   Second Stage Differential Temperature Changed
   Last Cycle Length Changed
   Last Cycle On Percentage Changed
   Last Cycle Start Changed
   Last Cycle End Changed
   Cycle Count Changed
   Cooling Minutes Changed
   Heating Minutes Changed
   Ready State Changed
   Thermostat Button Pressed
Instance Properties
   Connected
   ThermostatNames
   ThermostatSensorNames
   ThermostatCurrentTemperatures
   ThermostatFanModes
   ThermostatFanModeTexts
   ThermostatCoolSetPoints
   ThermostatHeatSetPoints
   ThermostatHolds
   ThermostatModes
   ThermostatModeTexts
   IsFanOn
   IsHeating
   IsCooling
   RelayStates
   SensorTypes
   SensorTypeTexts
   SensorValues
   SensorValueTexts
   SensorControlSettings
   FirstStageDifferentialTemps
   SecondStageDifferentialTemps
   LastCyclePeriods
   LastCycleDuties
   LastCycleStarts
   LastCycleEnds
   CycleCounts
   CoolingMinutes
   HeatingMinutes
   DeviceDisplayName
   DeviceStartTime
   DeviceLifecycleStage
   DeviceIsRunningAndReady
Instance Methods
   SimulateReceivedData ( String )
   SetThermostatCoolSetPoint ( Number, Number )
   SetThermostatHeatSetPoint ( Number, Number )
   SetHumidistatHumidifySetPoint ( Number, Number )
   SetHumidistatDehumidifySetPoint ( Number, Number )
   SetThermostatFanMode ( Number, Number )
   SetThermostatHold ( Number, Boolean )
   SetThermostatMode ( Number, Number )
   SetRotatingMessageText ( Number, Number, String )
   SetUserResetMessageText ( Number, String )
   SetBacklightOn ( Number )
   SetDateTime ( Number )
   IncrementThermostatCoolSetPoint ( Number, Number )
   DecrementThermostatCoolSetPoint ( Number, Number )
   IncrementThermostatHeatSetPoint ( Number, Number )
   DecrementThermostatHeatSetPoint ( Number, Number )
   SetFirstStageDifferential ( Number, Number )
   SetSecondStageDifferential ( Number, Number )
   SetPropertyForDuration ( String, TimeSpan, Object, Object )
   SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )


Configuration Settings

  • SerialPortName : The name of the serial port that the Aprilaire is connected to. Ex. COM1
  • SerialPortBaudRate : The baud of the serial port that the Aprilaire is connected to. Ex. 9600, 19200
  • ThermostatMaxTemp : The highest temperature this driver should ever set.
  • ThermostatMinTemp : The lowest temperature this driver should ever set.
  • CustomThermostatNames : (optional) Enter the name of each thermostat. As thermostats are discovered they are assigned the name from this list that corresponds to the Id number of the thermostat.
  • CustomSensorNames : (optional) As thermostats are discovered any sensors to the thermostat are assigned the name from this list that corresponds to the sensor number.

Events

Connected State Changed

Occurs when the thermostat is connected/disconnected.

Whenever Filter:

none

EventArgs:

  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Current Temperature Changed

Occurs when a thermostat's current temperature changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Fan Mode Changed

Occurs when a thermostat's fan mode changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Fan Mode Text Changed

Occurs when a thermostat's fan mode text changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Cool Set Point Changed

Occurs when a thermostat's cool set point changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Heat Set Point Changed

Occurs when a thermostat's heat set point changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Hold State Changed

Occurs when a thermostat's hold state changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Mode Changed

Occurs when a thermostat's mode changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Mode Texts Changed

Occurs when a thermostat's mode text changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Fan State Changed

Occurs when a thermostat's fan running state changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Heating State Changed

Occurs when a thermostat's fan running state changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Cooling State Changed

Occurs when a thermostat's fan running state changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Relay State Changed

Occurs when a thermostat's relay status changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Sensor Value Changed

Occurs when a thermostat sensors's value changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Sensor Value Text Changed

Occurs when a thermostat sensors's text value changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Sensor Control Setting Changed

Occurs when a thermostat sensors's control value changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

First Stage Differential Temperature Changed

Occurs when a thermostat's first stage differential temperature changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Second Stage Differential Temperature Changed

Occurs when a thermostat's second stage differential temperature changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Last Cycle Length Changed

Occurs when the value for the last cycle length changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Last Cycle On Percentage Changed

Occurs when the value for the last cycle on percentage changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Last Cycle Start Changed

Occurs when the value for last cycle start changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Last Cycle End Changed

Occurs when the value for last cycle end changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Cycle Count Changed

Occurs when the value for cycle count changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Cooling Minutes Changed

Occurs when the value for the number of cooling minutes changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Heating Minutes Changed

Occurs when the value for the number of heating minutes changes.

Whenever Filter:

  • PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.

EventArgs:

  • Number Index : The index within the property array.
  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Ready State Changed

The device's running and ready state changed.

Whenever Filter:

none

EventArgs:

  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Thermostat Button Pressed

Occurs when a button is pressed on a thermostat.

Whenever Filter:

  • ButtonName : (optional) Name of the button.
  • ThermostatId : (optional) The Id of the thermostat. (1-64)

EventArgs:

  • Number ThermostatId : The thermostat Id number.
  • String ThermostatName : The thermostat name.
  • String ButtonName : The button name.

Instance Properties

Connected

Gets a value indicating if a connection is established with the thermostat.

Accessibility : Read Only

Type: Boolean

ThermostatNames

Gets the names or all thermostats.

Accessibility : Read Only

Type: Array

ThermostatSensorNames

Gets the names or all sensors connected to the thermostats.

Accessibility : Read Only

Type: Array

ThermostatCurrentTemperatures

Gets the current thermostat temperatures.

Accessibility : Read Only

Type: Array

ThermostatFanModes

Gets the current thermostat fan modes.

Accessibility : Read Only

Type: Array

ThermostatFanModeTexts

Gets the current thermostat fan modes as displayable text.

Accessibility : Read Only

Type: Array

ThermostatCoolSetPoints

Gets the current thermostat cool set point temperatures.

Accessibility : Read Only

Type: Array

ThermostatHeatSetPoints

Gets the current thermostat heat set point temperatures.

Accessibility : Read Only

Type: Array

ThermostatHolds

Gets the current thermostat hold states.

Accessibility : Read Only

Type: Array

ThermostatModes

Gets the current thermostat modes.

Accessibility : Read Only

Type: Array

ThermostatModeTexts

Gets the current thermostat modes as displayable text.

Accessibility : Read Only

Type: Array

IsFanOn

Gets the current running state of the fan.

Accessibility : Read Only

Type: Array

IsHeating

Gets the current heat running state of the thermostat. If this value is true then that means the thermostat is currently asking for heat from the HVAC system.

Accessibility : Read Only

Type: Array

IsCooling

Gets the cool running state of the thermostat. If this value is true then that means the thermostat is currently asking for cooling from the HVAC system.

Accessibility : Read Only

Type: Array

RelayStates

Gets the current thermostat relay status.

Accessibility : Read Only

Type: Array

SensorTypes

Gets the current thermostat temperatures.

Accessibility : Read Only

Type: Array

SensorTypeTexts

Gets the current thermostat temperatures.

Accessibility : Read Only

Type: Array

SensorValues

Gets the current thermostat sensor value.

Accessibility : Read Only

Type: Array

SensorValueTexts

Gets the current thermostat temperatures.

Accessibility : Read Only

Type: Array

SensorControlSettings

Gets the current control setting of the sensor. A true value means the sensor value is used by the thermostat when calculating the need for heating or cooling.

Accessibility : Read Only

Type: Array

FirstStageDifferentialTemps

Gets the thermostat first stage differential temperatures.

Accessibility : Read Only

Type: Array

SecondStageDifferentialTemps

Gets the thermostat second stage differential temperatures.

Accessibility : Read Only

Type: Array

LastCyclePeriods

Gets the amount of time in minutes between the start of the previous heating/cooling cycle and the start of the current.

Accessibility : Read Only

Type: Array

LastCycleDuties

Gets the ratio of heating/cooling on time versus off time for the last cycle period.

Accessibility : Read Only

Type: Array

LastCycleStarts

Gets the date and time of when the last heating/cooling cycle started.

Accessibility : Read Only

Type: Array

LastCycleEnds

Gets the date and time of when the last heating/cooling cycle ended.

Accessibility : Read Only

Type: Array

CycleCounts

Gets the number of heating or cooling cycles for the Thermostat since the driver last started.

Accessibility : Read Only

Type: Array

CoolingMinutes

Gets the number of minutes the Thermostat has called for cooling since the driver last started.

Accessibility : Read Only

Type: Array

HeatingMinutes

Gets the number of minutes the Thermostat has called for heat since the driver last started.

Accessibility : Read Only

Type: Array

DeviceDisplayName

The display name for this device.

Accessibility : Read Only

Type: String

DeviceStartTime

The date and time when this device was started.

Accessibility : Read Only

Type: DateTime

DeviceLifecycleStage

The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping

Accessibility : Read Only

Type: Number

DeviceIsRunningAndReady

Indicates if the device is ready for use, ie it is in the Running lifecycle stage and all properties are valid and all methods are ready to be used.

Accessibility : Read Only

Type: Boolean

Instance Methods

SimulateReceivedData ( String )

Simulate data being received from the serial port. The data will be processed as if it were actually received as incoming data from the serial ports. This is useful for testing.

Syntax

void SimulateReceivedData( String data )

Parameters

data : The data to simulate being received.

SetThermostatCoolSetPoint ( Number, Number )

Sets the cool set point temperature of a thermostat.

Syntax

void SetThermostatCoolSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The cool set point temperature. (65-85)

SetThermostatHeatSetPoint ( Number, Number )

Sets the heat set point temperature of a thermostat.

Syntax

void SetThermostatHeatSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The heat set point temperature. (65-85)

SetHumidistatHumidifySetPoint ( Number, Number )

Sets the humidify set point of a humidistat.

Syntax

void SetHumidistatHumidifySetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the humidistat. (1-64)
value : The humidify set point temperature. (0-99)

SetHumidistatDehumidifySetPoint ( Number, Number )

Sets the dehumidify set point of a humidistat.

Syntax

void SetHumidistatDehumidifySetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the humidistat. (1-64)
value : The dehumidify set point temperature. (0-99)

SetThermostatFanMode ( Number, Number )

Sets a thermostat's fan mode.

Syntax

void SetThermostatFanMode( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The fan mode: 0=auto, 1=on.

0 = Auto
1 = On

SetThermostatHold ( Number, Boolean )

Sets the hold state of a thermostat.

Syntax

void SetThermostatHold( Number thermostatId, Boolean value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The hold state. true=hold is on, false=hold is off.

SetThermostatMode ( Number, Number )

Sets the cooling/heating mode of a thermostat.

Syntax

void SetThermostatMode( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The mode. 0=Off, 1=Heat, 2=Cool, 3=Auto, 4=Emergency Heat

0 = Off
1 = Heat
2 = Cool
3 = Auto
4 = Emergency Heat

SetRotatingMessageText ( Number, Number, String )

The 8870 can store and display up to four messages on a rotating basis. The text messaging display is a two-line, 16-character display. The first character in the top line of the display is filled with the first character in the text string of the command. The remainder of the character spaces are filled across the top line and then down and across the bottom line. Blanks (spaces) count as characters, and if there are not 32 characters in the message, blank spaces will be appended to the end of the message. Each message is displayed for 5 seconds, after which the next is displayed. If the message is filled with nothing but blank characters (spaces), then the message is skipped in the sequence. If only one message is available, it will be permanently displayed, and if no messages (including date and time) are available none will be displayed. The characters in the text string are limited to alphanumeric characters either upper or lower case. Leaving any one of the messages blank (i.e. no characters including spaces) results in the default message being displayed.

Syntax

void SetRotatingMessageText( Number thermostatId, Number messageId, String text )

Parameters

thermostatId : The Id of the thermostat. (1-64)
messageId : The message number.
text : The text of the message.

SetUserResetMessageText ( Number, String )

With this command messages can be shown on the text messaging display that must be acknowledged by the user at the thermostat to reset. Examples of this type of message might be that it is time to change a filter or call for service. The text messaging display is a two-line, 16-character display. The first character in the top line of the display is filled with the first character in the text string of the command. The remainder of the character spaces are filled across the top line and then down and across the bottom line. Blanks count as characters, and if there are not 32 characters in the message, blank spaces will be appended to the end of the message. When the thermostat receives the command, the permanent message sequence will be interrupted by the User Reset Message. The backlight for the text messaging display will flash on for five seconds and off for two seconds ten times. The message will also flash at a rate of 5 seconds on, 2 seconds off. This continues until the ENTER/HOLD button on the thermostat is pressed or until a second User Reset Message is sent with no characters in the text string. The characters in the text string are limited to alphanumeric characters either upper or lower case.

Syntax

void SetUserResetMessageText( Number thermostatId, String text )

Parameters

thermostatId : The Id of the thermostat. (1-64)
text : The text of the message.

SetBacklightOn ( Number )

Turns the backlight on for 10 seconds.

Syntax

void SetBacklightOn( Number thermostatId )

Parameters

thermostatId : The Id of the thermostat. (1-64)

SetDateTime ( Number )

Set the date and time to that of the computer running the driver.

Syntax

void SetDateTime( Number thermostatId )

Parameters

thermostatId : The Id of the thermostat. (1-64)

IncrementThermostatCoolSetPoint ( Number, Number )

Increments the temperature cool setpoint by a number of degrees.

Syntax

void IncrementThermostatCoolSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The number of degrees to adjust the setpoint

DecrementThermostatCoolSetPoint ( Number, Number )

Decrements the temperature cool setpoint by 1 degree.

Syntax

void DecrementThermostatCoolSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The number of degrees to adjust the setpoint

IncrementThermostatHeatSetPoint ( Number, Number )

Increments the temperature heat setpoint by 1 degree.

Syntax

void IncrementThermostatHeatSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The number of degrees to adjust the setpoint

DecrementThermostatHeatSetPoint ( Number, Number )

Decrements the temperature heat setpoint by 1 degree.

Syntax

void DecrementThermostatHeatSetPoint( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The number of degrees to adjust the setpoint

SetFirstStageDifferential ( Number, Number )

Sets the first stage differential temperature of a thermostat. The 8870 is an on/off type temperature controller. This means that at some temperature below or above the temperature setting the equipment is turned on, generating or extracting heat at 100% capacity, and at some temperature the equipment is turned off. Differential refers to the deviation from setting that the temperature is allowed to be before the control outputs are turned on or off. The default differential setting is 0.5° F or C (0 for the Value parameter) for both DIF1 and DIF2. Differential settings for each stage can be increased in increments of 0.5°F or C up to 2°F or C.

Syntax

void SetFirstStageDifferential( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The first stage differential temperature (0-3). The number entered is multiplied by 0.5 degrees then 0.5 degrees is added by the thermostat.

SetSecondStageDifferential ( Number, Number )

Sets the second stage differential temperature of a thermostat. The 8870 is an on/off type temperature controller. This means that at some temperature below or above the temperature setting the equipment is turned on, generating or extracting heat at 100% capacity, and at some temperature the equipment is turned off. Differential refers to the deviation from setting that the temperature is allowed to be before the control outputs are turned on or off. The default differential setting is 0.5° F or C (0 for the Value parameter) for both DIF1 and DIF2. Differential settings for each stage can be increased in increments of 0.5°F or C up to 2°F or C. Second stage differential setting is the value above or below the first stage differential setting that the temperature is allowed to deviate before turning on the second stage of either heating or cooling.

Syntax

void SetSecondStageDifferential( Number thermostatId, Number value )

Parameters

thermostatId : The Id of the thermostat. (1-64)
value : The second stage differential temperature (0-3). The number entered is multiplied by 0.5 degrees then 0.5 degrees is added by the thermostat.

SetPropertyForDuration ( String, TimeSpan, Object, Object )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, Number arrayIndex, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
arrayIndex : The property's array index to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.