User manual
Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 236
Datasource Automation Commands
Set Global Datasource Value m0
This command assigns a new value to an external datasource. The format of
the command is as follows:
CMD Param_1 Param_2
m0 %02x: Flags %s: Name|Value
The ‘Flags’ value gives a means of sending long strings by concatenation.
Bit 0 = 1: Set for the FIRST packet, clear for all others
Bit 1 = 1: Set for the LAST packet, clear for all others.
The ‘Name’ and ‘Value’ parameters consists of the datasource name and its
new string value, separated by a vertical bar ‘|’. Vertical bars, colons and
semi-colons may not appear within string values unless escaped.
Example1:
“m001MySource|This is the start”
“m000MySource|, and this is some more”
“m002MySource|, but this is the end!”
This gives MySource = “This is the start, and this is some more, but this is
the end!”
Example2:
“m003MySource|This is the lot.”
The datasource will not be used on-air until all packets have been received.
Scrolling text will not update with a new datasource until the text box starts
its next pass.
A global datasource can be used by any layer. Note that attempting to access
a missing datasource will return an empty string.