Macro Commands - Barco STELLAR User And Service Manual

Mpeg-2
Table of Contents

Advertisement

4
N

Macro commands

Useful macro
commands, example
Note!
To switch between two
video programs
To switch between
programs using a
switch
110

Macro commands

To use the contact closure macros, the following procedure can be used.
1. Select the Commands tab.
2. Type "MACRO LIST?" and press Enter.
This command lists the existing macros on screen. If nothing is displayed no
macros are currently defined.
3. Type "MACRO <number> <contact> REC" and press Enter.
This command indicates the start of a new macro.
"Number" is the desired contact input number (1 to 8).
"Contact" is the desired transition of the input (OPEN or CLOSE).
Note!
Defining a new macro automatically overwrites an existing old
macro, if any.
Note!
Be aware that the commands are performed when typing in the mac-
ros. To record a macro without executing the commands during the
recording phase use the command "MACRO <number> <con-
tact> STORE".
4. Type in the commands you want the macro to perform. Press Enter after
each line.
Note!
If the macro contains a query the response will be returned to the
interface that requested the macro execution. If the macro is exe-
cuted from the contact closure, you will not get any response.
5. Type "MACRO END" and Press Enter.
This command indicates the end of the macro.
Each contact closure input corresponds to two macros, OPEN and CLOSE. Please
also be aware that the macros are edge triggered, not level triggered.
In a S
you want to switch between decoding of two video programs from the
TELLAR
input transport stream, program 1 and 2.
1. Connect two push button switches to contact closure inputs 1 and 2 respec-
tively (they have common ground).
2. Type in the below macro and Press Enter after each line.
MACRO 1 CLOSE REC
PROGSEL=MAN,1
MACRO END
MACRO 2 CLOSE REC
PROGSEL=MAN,2
MACRO END
In stead of two push buttons you can use a switch. One position selects program 1,
the other selects program 2.

Advertisement

Table of Contents
loading

Table of Contents