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

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

Advertisement

Text Keypad Functions (Cont.)
Name
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
clearDisplay()
setBacklightOn(state)
setText(line,column,text)
setTextDisplay(text)
setTextLine(line,text)
Text Keypad State Charts
processButtonStateEvent
State
Channel <btn>
RELEASE
OFF
PUSH
ON
processButtonStatusEvent
State
Channel <btn>
OFF
OFF
ON
ON
BLINK
ON
Note: All Keypad commands include an index. This index is used to obtain the keypad component and the function is called on that component. The range for channel '<btn>' is 1 to
100; the corresponding range for channel '<btn> + 100' is 101 to 200. Channels above 200 are passed to the module for advanced processing.
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
ITextKeypadComponent
ITextKeypadComponent
ITextKeypadComponent
ITextKeypadComponent
ITextKeypadComponent
Constant
DEBUG-<state>
DEVICE_COMMUNICATING Feedback Channel: Communication is
TEXT-
TEXTBACKLIGHT-
<state>
TEXT-<line>,<col-
umn>,<text>
TEXT-<text>
TEXT-<line>,<text>
Channel <btn>+100
OFF
OFF
ON
Notes
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.
Clear display. "-" is optional
Set BacklightOn where (see specific mod-
ule documentation)
Set text starting at a given line and column.
Characters will be overwritten as needed
based on text. Text will not wrap around to
the next line.
Set text starting at line 1 and column 1.
Text will wrap around to the next line to fill
the display.
Set text starting at column 1 of the line
specified. Text will not wrap around to the
next line.
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents