7800 Multiframe Manual
7825DSK2-LG(-HD)(-3G) 3G/HD/SD Dual Downstream Keyer
APPENDIX A
Revision 2.0
Page 10-1
10. APPENDIX A
10.1. GPI SCRIPTING
GPI script files are text-based files that can be programmed and sent to your unit by Overture™. The
syntax is important as the script represents programming code that will be executed when the
allocated GPI trigger event occurs. There are 8 GPI inputs. Each input has 2 events: close and open.
You can program scripts for each of these 16 events. If a script file is present on the flash file system
the unit will process the script when the event is triggered. If the script file is not present when a GPI
event is triggered, then the internal GPI menu settings will be used.
The GPI script files are text files, which can be easily edited using notepad.
The title of a script is used by the system to determine which GPI event this file is applicable to.
i.e. gpi-h-close, gpi-a-open
In this case,
gpi
states that the script will be running off the state of a GPI trigger. The
h
represents
which specific GPI trigger the script will react to. GPI triggers range from A to H.
Close
shows that the
script will run when the GPI is in a closed state.
In the programming language the script utilizes, a comment is represented by the symbol
#
. Any text
that follows this symbol on a line of code will not execute a command or conduct any sort of action.
i.e. # this file describes the complete state of the keyer
CMD represents a command that is to be executed by the script when it runs.
i.e. cmd load_preset(1)
There are many different kinds of commands that can be run, and each command will perform a
specific action when the script is run.
•
cmd load_preset(1):
This command will load preset 1.
•
cmd udt_start(1):
This command will start up/down timer #1.
•
cmd media_all_out():
This command fades out all logos and audio clips.
•
cmd media_cue("02.evl"):
This command will cue up logo “02.evl”.
•
cmd media_in("03.evl"):
This command will fade in logo “03.evl”.
•
cmd media_out("04.evl"):
This command will fade out logo “04.evl”.
•
cmd media_toggle("05.evl"):
This command will toggle the state of logo “05.evl”, if the logo is
faded out it will be faded in, if it is faded in then it will be faded
out.
•
cmd udt_stop(2):
This command will stop up/down timer #2.
•
cmd udt_toggle(1):
This command will toggle the start/stop state of the up/down
timer #1, if the timer is started it will stop, if stopped it will start.
•
cmd udt_reload(2):
This command will reset up/down timer #2 to the timer start time.
•
cmd voiceover_enable():
This command will enable the voiceover function.
•
cmd voiceover_disable():
This command will disable the voiceover function.
Содержание 7825DSK2-LG-3G
Страница 2: ...This page left intentionally blank ...