
MS9400 HD FrEND User Guide Chapter 4: RS232 (Serial) Port Event Scheduler
29 Rev. 1.50
Chapter 4: RS232 (Serial) Port Event Scheduler
The MS9400 HDFrend has the built in capability to run a simple scheduler that can issue serial commands out of
the RS232 port relative to the time of day. This feature gives the MS9400 the ability to act as a local controller for
a simple playback system.
The scheduler operates by running a script file and comparing the entries in this file to the current settings of the
MS9400’s real time clock (RTC); when a match occurs the corresponding text string is transmitted on the RS232
port.
NOTE: If the MS9400 loses power for more than 24 hours the user must reset the RTC on the MS9400.
Event Script
The Event Script file must be named Events.sch
NOTE: The file name is case sensitive and must be named exactly as shown.
This file is located in the /media/ folder on the MS9400. This file if present in the /media/ folder will be
processed by the MS9400 as follows:
1. On system power up.
2. When the real time clock transitions through midnight.
3. If the file Events.sch file is modified either by the vi* editor or, if a new version of the Events.sch has
been copied to the MS9400 using ftp. *Linux Text Editor.
Event Script Format
Refer to the descriptions of each command line given immediately following the Event Script Format below.
<Event>
<StartDate>##/##/####</StartDate>
<EndDate>##/##/####</EndDate>
<DayOfWeek>#,#,#,#,#,#,#</DayOfWeek>
<EventTime>##:##:##</EventTime>
<CommandString>…[#]</CommandString>
</Event>
<Event>
…
</Event>
Using a Text Editor of your choice, enter command lines as illustrated in the Event Script Format above.
NOTE: Characters are not case sensitive.