User manual
Automation Protocol Easytext Commands
Miranda Technologies Ltd Page 241
DATE
The option ‘FORMAT’ determines the format. All characters in the format
are copied to the output, except the following ones which are interpreted to
insert date information
D Insert day of the month - leading zeroes
d Insert day of the month - no leading zeroes
M Insert month number - leading zeroes
m Insert month number – no leading zeroes
Y Insert year number – 4 digits
y Insert year number – last 2 digits
W Insert full name of day of week (e.g ‘Monday’)
n Insert day number suffix ‘st’, ‘nd’, ‘rd’ or ‘th’ as appropriate
O Insert Month name ‘November’
o Insert short Month name ‘Nov’
Examples:
|DATE:FORMAT=”D/M/Y”| // “01/04/2002”
|DATE:FORMAT=”W n O”| // “Sunday 2nd
December”
An OFFSET parameter (also in seconds, like the TIME command), allows
day rollover to be synchronized for other time zones.
FADER0 through FADER7
Returns the value of an analogue input fader, modified according to the
options.
Analogue faders return a nominal value between 0 and 1. The voltages
representing 0 and 1 must be discovered empirically.
‘SCALE’ Scaling factor for the value – defaults to 1.0
‘OFFSET’ Offset value for the number – defaults to 0.0
The value shown will be (FADERVALUE * SCALE) + OFFSET
‘DECIMALS’ determines how many decimal places are displayed with the
number. This value defaults to 2.
HOSTNAME
Returns the hostname of the unit.