257
Standard NetLinx API (SNAPI) R 1.8.0
TV Functions (Cont.)
Name
Component
Channel Level Command
Constant
Notes
loadProperties(fileName)
IModuleComponent
LOADPROPERTY-
<file>
Load properties from the file with the sup-
plied filename. Used to load meta-data
properties for modules including Generic IR
modules.
passThru(buffer)
IModuleComponent
PASSTHRU-<buffer>
Send a message directly to the device
reinitialize()
IModuleComponent
REINIT
Reinitialize communication with the device
setDebugState(state)
IModuleComponent
DEBUG-<state>
Set the debug state where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
setDeviceDateTime(date)
IModuleComponent
CLOCK-<mm/dd/yyyy>
<hh:mm:ss>
Set the device date/time.
setPassbackOn(boolean)
IModuleComponent
PASSBACK-<state>
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
setProperty(key,value)
IModuleComponent
PROPERTY-
<key>,<value>
Set the value of property <key> to <value>
processDataInitializedEvent(boolean)
IModuleComponentListener
252
DATA_INITIALIZED
Feedback Channel: Module data is syn-
chronized with device while channel is on
processDebugEvent(int)
IModuleComponentListener
DEBUG-<state>
Debug state changed where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
processDeviceOnLineEvent(boolean)
IModuleComponentListener
251
DEVICE_COMMUNICATING Feedback Channel: Communication is
established with device while channel is on
processPassbackEvent(byte[])
IModuleComponentListener
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.
cyclePower()
IPowerComponent
9
POWER
Momentary Function Channel: Cycle power
when channel is activated
setPower(ON)
IPowerComponent
27
PWR_ON
Momentary Function Channel: Power is
turned on when channel is activated
setPower(OFF)
IPowerComponent
28
PWR_OFF
Momentary Function Channel: Power is
turned off when channel is activated
setPower(ps)
IPowerComponent
255
POWER_ON
Discrete Function Channel: Power is on
while channel is active
setPowerSensor(nld,nIOChan)
IPowerComponent
IOLINK-<dps>,<chan-
nel>
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.
processPowerEvent(ON)
IPowerComponentListener
255
POWER_FB
Feedback Channel: Power state changed,
power is on while channel is on
Содержание CAFE DUET
Страница 16: ...Standard NetLinx API SNAPI R 1 8 0 12 ...
Страница 28: ...Standard NetLinx API SNAPI R 1 8 0 24 ...
Страница 34: ...Standard NetLinx API SNAPI R 1 8 0 30 ...
Страница 40: ...Standard NetLinx API SNAPI R 1 8 0 36 ...
Страница 46: ...Standard NetLinx API SNAPI R 1 8 0 42 ...
Страница 52: ...Standard NetLinx API SNAPI R 1 8 0 48 ...
Страница 58: ...Standard NetLinx API SNAPI R 1 8 0 54 ...
Страница 142: ...Standard NetLinx API SNAPI R 1 8 0 138 ...
Страница 148: ...Standard NetLinx API SNAPI R 1 8 0 144 ...
Страница 156: ...Standard NetLinx API SNAPI R 1 8 0 152 ...
Страница 172: ...Standard NetLinx API SNAPI R 1 8 0 168 ...
Страница 184: ...Standard NetLinx API SNAPI R 1 8 0 180 ...
Страница 192: ...Standard NetLinx API SNAPI R 1 8 0 188 ...
Страница 206: ...Standard NetLinx API SNAPI R 1 8 0 202 ...
Страница 220: ...Standard NetLinx API SNAPI R 1 8 0 216 Receiver State Charts processPowerEvent State Channel 255 OFF OFF ON ON ...
Страница 226: ...Standard NetLinx API SNAPI R 1 8 0 222 ...
Страница 239: ...235 Standard NetLinx API SNAPI R 1 8 0 Settop Box State Charts processPowerEvent State Channel 255 OFF OFF ON ON ...
Страница 240: ...Standard NetLinx API SNAPI R 1 8 0 236 ...
Страница 244: ...Standard NetLinx API SNAPI R 1 8 0 240 ...
Страница 252: ...Standard NetLinx API SNAPI R 1 8 0 248 ...
Страница 268: ...Standard NetLinx API SNAPI R 1 8 0 264 ...
Страница 302: ...Standard NetLinx API SNAPI R 1 8 0 298 ...
Страница 328: ...Standard NetLinx API SNAPI R 1 8 0 324 ...
Страница 343: ...Standard NetLinx API SNAPI Devices 339 Standard NetLinx API SNAPI R 1 7 0 ...