![Lightware UCX Series User Manual Download Page 62](http://html1.mh-extra.com/html/lightware/ucx-series/ucx-series_user-manual_1915481062.webp)
7. LW3 Programmers’ Reference
UCX series – User's Manual
62
Applied firmware package: v1.1.0b7 | LDC software: v2.5.4b3
7.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, which the property belongs
to, an asynchronous notification is generated. This is notification is called as 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 /V1/MEDIA/AUDIO/O3
æ
o- /V1/MEDIA/AUDIO/O3
ç
GET /V1/MEDIA/AUDIO/O3.VolumePercent
æ
pw /V1/MEDIA/AUDIO/O3.VolumePercent=100.00
ç
GET /V1/MEDIA/AUDIO/O3.VolumePercent
æ
pw /V1/MEDIA/AUDIO/O3.VolumePercent=100.00
ç
SET /V1/MEDIA/AUDIO/O3.VolumePercent=50.00
æ
pw /V1/MEDIA/AUDIO/O3.VolumePercent=50.00
æ
CHG /V1/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 for the subscription, the first user got a notification about the change.
Connection #1
Connection #2
Connection #1
}
}