Configuration text file – Studio Technologies 5152 V.1 User Manual
Page 20

Issue 5, September 2013
Model 5152 User Guide
Page 20
Studio Technologies, Inc.
Model 5152
Video Generator/Audio Embedder Module
EMBED= selects how audio signals con-
nected to the Model 5152’s digital audio 
inputs are to be embedded into the SDI 
output signal. The first digit represents what 
is to happen to the audio associated with 
digital audio inputs 1 and 2. The second 
digit represents what is to happen to the 
audio associated with digital audio inputs 
3 and 4. Each digit can be either 
N, 1, 2,
3, or 4. The digit N indicates that the digital 
audio inputs are not to be embedded. The 
numbers 1, 2, 3, and 4 represent the SDI 
group that the digital audio inputs are to be 
embedded into. The [CONFIGURATION] 
section of Figure 8 shows 
EMBED=12
which indicates that digital audio inputs 1 
and 2 are being embedded into SDI group 
1 and digital audio inputs 3 and 4 are being 
embedded into SDI group 2.
GPI= selects the GPI (general-purpose 
input) function. DISABLED selects that the 
function is not active. 
EMBEDOFF selects
that the GPI will control the on/off status of 
the Model 5152’s embedder function. Note 
that if the hardware version of this specific 
Model 5152 does not support the GPI func-
tion (modules with serial numbers 00250 
or less) this text line will not appear.
GPO= selects operation of the GPO 
(general-purpose output) function. Five 
choices are available. DISABLED selects 
the GPO function to be inactive. It will 
remain logic low and not change state. 
SDIVALID selects that the GPO will be 
high when a valid SDI signal is connected 
to the selected SDI input (coaxial (BNC) 
or optical). SDINOTVALID selects that the 
GPO will be high when a valid SDI signal 
is not connected to the selected SDI input 
(coaxial (BNC) or optical); the GPO will be 
low when a valid SDI signal is connected. 
EMBEDON selects that the GPO will be 
high when the embedder function is active. 
EMBEDOFF selects that the GPO will be 
high when the embedder function is not 
active; the GPO will be low when the em-
bedder is active. Note that if the hardware 
version of this specific Model 5152 does 
not support the GPO function (modules 
with serial numbers 00250 or less) this text 
line will not appear.
Configuration Text File
A text file can be created to specify how a 
Model 5152 should be configured. Saved 
on a USB flash drive, the file must have 
a name of CONFIG.TXT and be stored 
in a folder directly under the root with a 
name of M5152. When the USB flash drive 
is plugged into a Model 5152 the file will 
automatically be read and the configura-
tion stored. Immediately after the file is 
read the STATUS.TXT file will be written to 
the M5152 folder. The contents of this file 
will reflect the configuration that’s pres-
ent after the contents of the CONFIG.TXT 
have been read. This will provide immedi-
ate feedback that the desired configuration 
has be implemented.
The following paragraphs detail the con-
figuration choices. Refer to the Figure 9 
for a sample file. This information is also 
shown in the [OPTIONS] section of the 
STATUS.TXT file, described previously 
in this guide.
The text lines that follow the [CONFIGU-
RATION]
heading should remain in the
same order as shown in the example. (But 
technically they are not required to do so.) 
All configuration items are not required to 
be present but for clarity it’s recommended 
that they are. The text is case sensitive and 
must follow the example.
