247
Standard NetLinx API (SNAPI) R 1.8.0
Text Keypad State Charts
Text Keypad Functions (Cont.)
Name
Component
Channel Level Command
Constant
Notes
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.
clearDisplay()
ITextKeypadComponent
TEXT-
Clear display. "-" is optional
setBacklightOn(state)
ITextKeypadComponent
TEXTBACKLIGHT-
<state>
Set BacklightOn where (see specific mod-
ule documentation)
setText(line,column,text)
ITextKeypadComponent
TEXT-<line>,<col-
umn>,<text>
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.
setTextDisplay(text)
ITextKeypadComponent
TEXT-<text>
Set text starting at line 1 and column 1.
Text will wrap around to the next line to fill
the display.
setTextLine(line,text)
ITextKeypadComponent
TEXT-<line>,<text>
Set text starting at column 1 of the line
specified. Text will not wrap around to the
next line.
processButtonStateEvent
State
Channel <btn>
RELEASE
OFF
PUSH
ON
processButtonStatusEvent
State
Channel <btn>
Channel <btn>+100
OFF
OFF
OFF
ON
ON
OFF
BLINK
ON
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.
Summary of Contents for CAFE DUET
Page 16: ...Standard NetLinx API SNAPI R 1 8 0 12 ...
Page 28: ...Standard NetLinx API SNAPI R 1 8 0 24 ...
Page 34: ...Standard NetLinx API SNAPI R 1 8 0 30 ...
Page 40: ...Standard NetLinx API SNAPI R 1 8 0 36 ...
Page 46: ...Standard NetLinx API SNAPI R 1 8 0 42 ...
Page 52: ...Standard NetLinx API SNAPI R 1 8 0 48 ...
Page 58: ...Standard NetLinx API SNAPI R 1 8 0 54 ...
Page 142: ...Standard NetLinx API SNAPI R 1 8 0 138 ...
Page 148: ...Standard NetLinx API SNAPI R 1 8 0 144 ...
Page 156: ...Standard NetLinx API SNAPI R 1 8 0 152 ...
Page 172: ...Standard NetLinx API SNAPI R 1 8 0 168 ...
Page 184: ...Standard NetLinx API SNAPI R 1 8 0 180 ...
Page 192: ...Standard NetLinx API SNAPI R 1 8 0 188 ...
Page 206: ...Standard NetLinx API SNAPI R 1 8 0 202 ...
Page 226: ...Standard NetLinx API SNAPI R 1 8 0 222 ...
Page 240: ...Standard NetLinx API SNAPI R 1 8 0 236 ...
Page 244: ...Standard NetLinx API SNAPI R 1 8 0 240 ...
Page 252: ...Standard NetLinx API SNAPI R 1 8 0 248 ...
Page 268: ...Standard NetLinx API SNAPI R 1 8 0 264 ...
Page 302: ...Standard NetLinx API SNAPI R 1 8 0 298 ...
Page 328: ...Standard NetLinx API SNAPI R 1 8 0 324 ...
Page 343: ...Standard NetLinx API SNAPI Devices 339 Standard NetLinx API SNAPI R 1 7 0 ...