Keypad - AMX CAFE DUET STANDARD NETLINX API (SNAPI) COMPONENTS AND LISTENERS Instruction Manual

Standard netlinx api (snapi) r 1.8.0 components/listeners
Table of Contents

Advertisement

Keypad

Component
Name: Keypad
Interface: IKeypadComponent
Component Functions:
Name:
Channel:
Level: Command:
addKeypadCompo-
nent(index,keypadAd-
dress)
getKeypadComponen-
tAddress(index)
getKeypadComponentIn-
dex(keypadAddress)
removeKeypadCompo-
nent(index)
removeKeypadCompo-
nent(keypadAddress)
setButton-
State(btnNum,bs)
setButtonSta-
<btn>
tus(btnNum,bs)
setButtonSta-
<btn>+100
tus(btnNum,bs)
Listener
Name: Keypad Listener
Interface: IKeypadComponentListener
Listener Functions:
Name:
Channel:
Level: Command:
processButton-
StateEvent
processButton-
<btn>
StateEvent
processButton-
<btn>
StateEvent
processButtonStatusEv-
<btn>+100
ent
processButtonStatusEv-
<btn>
ent
Standard NetLinx API (SNAPI) R 1.8.0
IKeypadComponent
Constant:
KEYPADADD-<index>,<key-
padaddr>
?KEYPADADDR-<index>
?KEYPADIDX-<keypadaddr>
KEYPADREMOVEIDX-<index>
KEYPADREMOVEADDR-<key-
padaddr>
KEYPADBTN-<btn>,<state>
IKeypadComponentListener
Constant:
KEYPADBTN-<btn>,<state>
Notes:
Add a keypad address at a given index, where <index> is 1-x and <keypadaddr> is a
keypad address and x is the maximum supported keypad index (see specific module
documentation)
Query for the address of the keypad at index <index>, responds with KEYPADADDR-
<index>,<keypadaddr>
Query for the index of the keypad with address <keypadaddr>, responds with KEY-
PADADDR-<index>,<keypadaddr>
Remove the keypad at index <index>, where <index> is 1-x and x is the maximum sup-
ported keypad index (see specific module documentation)
Remove the keypad with address <keypadaddr>, where <keypadaddr> is a keypad
address
Set the state of a keypad button <btn> for the keypad at index/port, where <state> is
CLICK or DOUBLECLICK
Discrete Function Channel: Set the status of a keypad button <btn> for the keypad at
index/port (see state chart)
Discrete Function Channel: Set the status of a keypad button <btn> for the keypad at
index/port (see state chart)
Notes:
Button State changed. <btn> is button number and <state> is CLICK or DOUBLE-
CLICK
Input Function Channel: Button state is Released when BUTTON_EVENT-RELEASE is
received, where <btn> is the button/channel number
Input Function Channel: Button state is Pushed when BUTTON_EVENT-PUSH is
received, where <btn> is the button/channel number
Feedback Channel: Button status on BLINK while channel <btn> is on and channel
<btn>+100 is on, where <btn> is the button/channel number (see chart below)
Feedback Channel: Button status on ON while channel <btn> is on and channel
<btn>+100 is off, where <btn> is the button/channel number (see chart below)
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents