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

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

Advertisement

Digital Media Encoder Functions (Cont.)
Name
setDeviceDateTime(date)
setPassbackOn(boolean)
setProperty(key,value)
processDataInitializedEvent(boolean)
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
addOutputStreamSink(cURISink)
getOutputStreamSinks()
getOutputStreamSource()
queryOutputStreamProperties()
queryOutputStreamProperty(sName)
removeOutputStreamSink(cURISink)
setOutputStreamProperty(sName,sValue)
setOutputStreamSource(cURISource)
70
Component
Channel Level Command
IModuleComponent
IModuleComponent
IModuleComponent
IModuleComponentListener
252
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
IOutputStreamComponent
Constant
CLOCK-<mm/dd/yyyy>
<hh:mm:ss>
PASSBACK-<state>
PROPERTY-
<key>,<value>
DATA_INITIALIZED
DEBUG-<state>
DEVICE_COMMUNICATIN
G
ENCODESINKADD-
<url>
?ENCODESINK
?ENCODESOURCE-
<url>
?ENCODEPROPS
?ENCODEPROP-
<key>
ENCODESINKRE-
MOVE-<url>
ENCODEPROP-
<key>,<value>
ENCODESOURCE-
<url>
Notes
Set the device date/time.
Set the passback state where <state> is 1
or 0. When passback is on, all response
from the device will be passed back to the
NetLinx program as a string from the virtual
device
Set the value of property <key> to <value>
Feedback Channel: Module data is syn-
chronized with device while channel is on
Debug state changed where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
Feedback Channel: Communication is
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.
Add an Output Stream Sink where <url> is
the URL of the sink to be added.
Query for Output Stream Sinks, responds
with multiple ENCODESINK-<url>, one for
each output stream sink, where <url> is the
URL of the sink/destination.
Query for Output Stream Source, responds
with ENCODESOURCE-<url> where <ur>
is the URL for the source.
Query for all Output Stream Media Proper-
ties, responds with multiple
ENCODEPROP-<key>,<value>, one for
each property, where <key> is the property
key and <value> is the property value.
Query for one Output Stream Media Prop-
erties, responds with ENCODEPROP-
<key>,<value> where <key> is the property
key and <value> is the property value.
Remove an Output Stream Sink where
<url> is the URL of the sink to be removed.
Set an Output Stream Property where
<key> is the property key and <value> is
the property value.
Set Output Stream Source where <url> is
the URL for the source.
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents