Alpeg MP615/MP107 User Manual

Page 9

Advertising
background image


Rev 1.5

Page 8





4.1.6 R

Allows a specific command to be sent to another channel by the series port.
There are 3 commands possible
:

- R*x,KEYyy: read on player n°x, script corresponding to event yy
- R*x,MPG/clips/fichier.mpg: read on player n°x video file.mpg.
- R*x,SEQy read on player n°x script yy


Examples:

- R 1,KEY12
- R 2,MPG/clips/drop.mpg
- R 3,SEQ14


_____________________________________________________

4.2 some examples


4.2.1

Example

1


play/clips/drop.mpg /1,2
wait 3
play/clips/pubsony.mpg /f
wait 2
goto 1

This script plays the drop.mpg video twice, waits 3 seconds, plays the pubsony.mpg video and
fixes the last image, waits 2 seconds and starts again from the beginning (line 1).

4.2.2 Example 2


play/clips/drop.mpg
wait 3
goto 1
5: play /clips/pubsony.mpg
wait 2
goto 1

This script reads and loops the drop.mpg video and waits 3 seconds between each play.
As well as this, we install a reaction to external event n°5.
When we confirm choice n°5, on the keyboard or parallel player, the player reads the
pubsony.mpg video followed by a pause of 2 seconds then returns to the beginning (line 1).

Advertising