Alpes USA MP615/MP107 manual How to write scripts, Language

Page 8

4 How to write script(s)

4.1Language

*: equals a space

4.1.1Play

Allows a script to be read

Command: Play file_name_mpeg (option).

Options:

-* /f: no transition to black between two video files.

-*/l,n: read the video file ‘n’ times.

Example: play*/clips/drop.mpg*/f

4.1.2Wait

Allows a time delay to be introduced

Command: wait*n

Example: wait*5: wait 5 seconds

4.1.3Goto

Allows you to go to a line of data.

Command: goto *1

Example: goto*5: continue to execute script file at line n° 5

4.1.4y (number)

Allows direct access to the command that is specified after the “y” number, by an external module (RS232 & keyboard & dry contact Connector);

Command: y: any command

Example: 55:*play /clips/drop.mpg

4.1.5SC

Allows another script from the play list to be started.

Command: SCxx

Example: SC15 start script n°15

Rev 1.5

Page 7

Image 8
Contents User guide Contents Composition Usage PlayerScript file VideosWho has access to it? What does it do?FTP servers ClientsNetwork connection How to access it?Controls and access methods Parallel electronic GPI connector 3 RS232 ConnectionHow to write scripts LanguageExample Some examplesExamples Recommendations Important to rememberDiagram of DB25 GPI parallel connector wiring dry contact AppendicesRev Commands Language capacitySub-scripts File SC00Html dialogue pages Default TCP/IP configuration of player Network interface 1 TCP/IP10.16.99.107 255.255.0.0Access to configuration Diagram 3 network interface Network interface 2 programming Reinitialising the IP address 198.168.1.5255.255.255.0 Direct TCP/IP reading control Main script editor Editing page with the SC00 file open Script editing pages Opening a script in expert mode Saving a script file Player status page RS232 address Factory preset MP615 Front panel MP107 Front panel On/off button behind the hatch MP107 Rear Panel Identical to YUV DB15 RS232 Commands and protocol Specifications Spécifications2Rev