Notifications About The Changes Of The Properties; Legend For The Control Commands; System Commands; Querying The Product Name - Lightware MX2-8x8-DH-4DPio-A User Manual

Multimedia matrix switcher
Table of Contents

Advertisement

 
9. LW3 Programmers' Reference
9.3.10. Notifications about the Changes of the Properties
When the value of a property is changed and the user is subscribed to the node that the property belongs to,
an asynchronous notification is generated. This notification is called the 'change message'. The format of
such a message is very similar to the response for the GET command:
æ CHG /EDID.EdidStatus=F48:E1
A Short Example of How to Use the Subscription
There are two independent users controlling the device through two independent connections (Connection #1
and Connection #2). The events in the rows occur after each other.
ç OPEN /MEDIA/AUDIO/O3
æ o- /MEDIA/AUDIO/O3
ç GET /MEDIA/AUDIO/O3.VolumePercent
æ pm /MEDIA/AUDIO/O3.VolumePercent=100.00
ç GET /MEDIA/AUDIO/O3.VolumePercent
æ pw /MEDIA/AUDIO/O3.VolumePercent=100.00
æ SET /MEDIA/AUDIO/O3.VolumePercent=50.00
æ pw /MEDIA/AUDIO/O3.VolumePercent=50.00
æ CHG /MEDIA/AUDIO/O3.VolumePercent=50.00
The first user (Connection #1) set a subscription to a node. Later, the other user (Connection #2) made a change,
and thanks to the subscription, the first user got a notification about the change.
9.3.11. Legend for the Control Commands
Format
<in>
Input port number
<out>
Output port number
<port>
Input or output port number
<loc>
Location number
<parameter>
Variable, which is defined and described in the command
Batched parameters: the underline means that more expressions or parameters can
<expression>
be placed by using a semicolon, e.g. I2;I4;I5 or F27:E1;F47:E2
Sent command
ç
Received response
æ
·
Space character
MX2 Standalone Matrix Switcher series – User's Manual
connection #1
connection #2
connection #1
Description
Applied firmware package: v1.9.0 | LDC software: v2.6.2b3
9.4. System Commands
9.4.1. Querying the Product Name
The name of the product is a read-only parameter and cannot be modified.
Command and Response
ç GET·/.ProductName
pr·/.ProductName=<Product_name>
æ
Parameters
The
<Product_name>
is the type of the device: read-only parameter and cannot be modified.
Example
ç GET /.ProductName
æ pr /.ProductName=MX2-24x24-DH-12DPi-R
9.4.2. Setting the Device Label
This property can be changed to a custom text. The default format of the device label is the following:
LW_<product_name>_<serial_no>
ATTENTION!

This writable parameter is not the same as the ProductName parameter.
Command and Response
#label #devicelabel
SET·/MANAGEMENT/UID/DeviceLabel=<Custom_name>
ç
pw·/MANAGEMENT/UID/DeviceLabel=<Custom_name>
æ
Parameters
The
<Custom_name>
may consist of ASCII characters and can be 32 characters long. Longer names are
truncated.
Example
ç SET /MANAGEMENT/UID.DeviceLabel=MX2_Control_room
æ pw /MANAGEMENT/UID.DeviceLabel=MX2_Control_room
9.4.3. Querying the Serial Number
Command and Response
ç GET·/.SerialNumber
pr·/.SerialNumber=<serial_nr>
æ
Example
ç GET /.SerialNumber
æ pr /.SerialNumber=87654321
80

Advertisement

Table of Contents
loading

Table of Contents