User Guide

71
Standard NetLinx API (SNAPI) R 1.8.0
Digital Media Encoder Functions (Cont.)
Name Component Channel Level Command Constant Notes
processOutputStreamPropertiesEvent(Prop-
erties)
IOutputStreamComponentListener ENCODEPROP-
<key>,<value>
Output Stream Property value where <key>
is the property key and <value> is the prop-
erty value. One command is returned for
each key.
processOutputStreamSinkAddEvent(URL) IOutputStreamComponentListener ENCODESINKADD-
<url>
Output Stream Sink added where <url> is
the URL of the added sink.
processOutputStreamSinkRe-
moveEvent(URL)
IOutputStreamComponentListener ENCODESINKRE-
MOVE-<url>
Output Stream Sink removed where <url>
is the URL of the removed sink.
processOutputStreamSourceEvent(URL) IOutputStreamComponentListener ENCODESOURCE-
<url>
Output Stream Source changed where
<url> is the URL for the source.
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