User Guide
175
Standard NetLinx API (SNAPI) R 1.8.0
Multi Window Functions (Cont.)
Name Component Channel Level Command Constant Notes
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.
cycleMultiWindowPreset() IMultiWindowComponent 136 MULTIWIN_PRESET Momentary Function Channel: Cycle multi-
window preset when channel is activated
getMultiWindowPreset() IMultiWindowComponent ?MULTIWINPRESET Query for multi-window preset, responds
with MULTIWINPRESET-<preset>
saveMultiWindowPreset(nPresetNum) IMultiWindowComponent MULTIWINPRESET-
SAVE-<preset>
Save multi-window Preset where <preset>
is 1 to x and x is the maximum supported
preset (see specific module documenta-
tion)
setMultiWindowPreset(nPresetNum) IMultiWindowComponent MULTIWINPRESET-
<preset>
Recall multi-window preset where <preset>
is 1 to x and x is the maximum supported
preset (see specific module documenta-
tion)
processMultiWindowPresetEvent(int) IMultiWindowComponentListener MULTIWINPRESET-
<preset>
Multi-window preset changed, where <pre-
set> is 1-x and x is the maximum supported
preset (see specific module documenta-
tion)
cyclePower() IPowerComponent 9 POWER Momentary Function Channel: Cycle power
when channel is activated
setPower(ON) IPowerComponent 27 PWR_ON Momentary Function Channel: Power is
turned on when channel is activated
setPower(OFF) IPowerComponent 28 PWR_OFF Momentary Function Channel: Power is
turned off when channel is activated
setPower(ps) IPowerComponent 255 POWER_ON Discrete Function Channel: Power is on
while channel is active
setPowerSensor(nld,nIOChan) IPowerComponent IOLINK-<dps>,<chan-
nel>
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.
processPowerEvent(ON) IPowerComponentListener 255 POWER_FB Feedback Channel: Power state changed,
power is on while channel is on
addWindowComponent(index,windowAd-
dress)
IWindowComponent WINDOWADD-
<index>,<address>
Add a window at a given index, where
<index> is 1 through x and <address> is a
window address and x is the maximum
supported window index (see specific mod-
ule documentation)
adjustBrightness(1) IWindowComponent 148 BRIGHT_UP Momentary Function Channel: Brightness
is incremented when channel is activated
adjustBrightness(-1) IWindowComponent 149 BRIGHT_DN Momentary Function Channel: Brightness
is decremented when channel is activated