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

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

Advertisement

Audio Tuner Device Functions (Cont.)
Name
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
cyclePower()
setPower(ON)
setPower(OFF)
setPower(ps)
setPowerSensor(nld,nIOChan)
processPowerEvent(ON)
cycleBand()
cycleDisplayInfo()
cycleStationPresetGroup()
decrementStation()
getBand()
getStation()
getStationPreset()
44
Component
Channel Level Command
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
IPowerComponent
9
IPowerComponent
27
IPowerComponent
28
IPowerComponent
255
IPowerComponent
IPowerComponentListener
255
ITunerStationComponent
40
ITunerStationComponent
234
ITunerStationComponent
224
ITunerStationComponent
23
ITunerStationComponent
ITunerStationComponent
ITunerStationComponent
Constant
DEBUG-<state>
DEVICE_COMMUNICATIN
G
POWER
PWR_ON
PWR_OFF
POWER_ON
IOLINK-<dps>,<chan-
nel>
POWER_FB
TUNER_BAND
TUNER_OSD
TUNER_PRESET_GROUP
CHAN_DN
?BAND
?XCH
?TUNERPRESET
Notes
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 tuner
band when channel is activated
Momentary Function Channel: Cycle on-
screen or front-panel display info when
channel is activated
Momentary Function Channel: Cycle sta-
tion preset group/bank when channel is
activated
Momentary Function Channel: Station is
decremented when channel is activated
Query for band, responds with BAND-<tb>
where <tb> is
AM,FM,FM_MONO,SATELLITE_RADIO,L
ONG_WAVE,MEDIUM_WAVE,SHORT_W
AVE,TV
Query for station, responds with XCH-<sta-
tion> where <station> is a station string
such as "501", "103.7" or "5.1"
Query for tuner preset, responds with
TUNERPRESET-<preset>
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents