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

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

Advertisement

Digital Media Decoder Functions (Cont.)
Name
setProperty(key,value)
processDataInitializedEvent(boolean)
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
cyclePower()
setPower(ON)
setPower(OFF)
setPower(ps)
setPowerSensor(nld,nIOChan)
processPowerEvent(ON)
cycleVolumeMute()
cycleVolumePreset()
getVolumePreset()
saveVolumePreset(preset)
setVolume(level)
setVolumeMuteOn(state)
setVolumePreset(preset)
64
Component
Channel Level Command
IModuleComponent
IModuleComponentListener
252
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
IPowerComponent
9
IPowerComponent
27
IPowerComponent
28
IPowerComponent
255
IPowerComponent
IPowerComponentListener
255
IVolumeComponent
26
IVolumeComponent
138
IVolumeComponent
IVolumeComponent
IVolumeComponent
IVolumeComponent
199
IVolumeComponent
Constant
PROPERTY-
<key>,<value>
DATA_INITIALIZED
DEBUG-<state>
DEVICE_COMMUNICATIN
G
POWER
PWR_ON
PWR_OFF
POWER_ON
IOLINK-<dps>,<chan-
nel>
POWER_FB
VOL_MUTE
VOL_PRESET
?VOLPRESET
VOLPRESETSAVE-
<preset>
1
VOL_LVL
VOL_MUTE_ON
VOLPRESET-<preset>
Notes
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
Feedback Channel: Communication is
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
Momentary Function Channel: Cycle vol-
ume mute when channel is activated
Momentary Function Channel: Cycle cam-
era preset when channel is activated
Query for volume preset, responds with
VOLPRESET-<preset>
Save Volume Preset where <preset> is 1 to
x and x is the maximum supported preset
(see specific module documentation)
Set volume, range is 0-255
Discrete Function Channel: Volume mute is
on while channel is active
Recall volume preset where <preset> is 1
to x and x is the maximum supported pre-
set (see specific module documentation)
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents