AMX CAFE DUET STANDARD NETLINX API (SNAPI) DEVICES Instruction Manual page 261

Standard netlinx api (snapi) r 1.8.0 devices
Table of Contents

Advertisement

TV Functions (Cont.)
Name
loadProperties(fileName)
passThru(buffer)
reinitialize()
setDebugState(state)
setDeviceDateTime(date)
setPassbackOn(boolean)
setProperty(key,value)
processDataInitializedEvent(boolean)
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
cyclePower()
setPower(ON)
setPower(OFF)
setPower(ps)
setPowerSensor(nld,nIOChan)
processPowerEvent(ON)
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponentListener
252
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
IPowerComponent
9
IPowerComponent
27
IPowerComponent
28
IPowerComponent
255
IPowerComponent
IPowerComponentListener
255
Constant
LOADPROPERTY-
<file>
PASSTHRU-<buffer>
REINIT
DEBUG-<state>
CLOCK-<mm/dd/yyyy>
<hh:mm:ss>
PASSBACK-<state>
PROPERTY-
<key>,<value>
DATA_INITIALIZED
DEBUG-<state>
DEVICE_COMMUNICATING Feedback Channel: Communication is
POWER
PWR_ON
PWR_OFF
POWER_ON
IOLINK-<dps>,<chan-
nel>
POWER_FB
Notes
Load properties from the file with the sup-
plied filename. Used to load meta-data
properties for modules including Generic IR
modules.
Send a message directly to the device
Reinitialize communication with the device
Set the debug state where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
Set the device date/time.
Set the passback state where <state> is 1
or 0. When passback is on, all response
from the device will be passed back to the
NetLinx program as a string from the virtual
device
Set the value of property <key> to <value>
Feedback Channel: Module data is syn-
chronized with device while channel is on
Debug state changed where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
established with device while channel is on
When passback is on, each string received
form the device is sent to the NetLinx pro-
gram as a string. Use a DATA_EVENT
event with a STRING handler to caputre
the data from the device.
Momentary Function Channel: Cycle power
when channel is activated
Momentary Function Channel: Power is
turned on when channel is activated
Momentary Function Channel: Power is
turned off when channel is activated
Discrete Function Channel: Power is on
while channel is active
Associate a Power Sensor with the device
where <dps> is the DPS in string form, i.e.
17:1:0, and <channel> is the channel on
the IO device to which the power sensor is
connected.
Feedback Channel: Power state changed,
power is on while channel is on
257

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents