
page | 52
Commands
A
dv
anc
ed Oper
ation
Using Preset Values
When a command is entered, the VGA & Audio to HDMI Scaler/Converter will confirm the
entry by returning the function of the command and any parameters. There are several
commands which use a preset value as one of the parameters. When specifying a preset
value as a parameter, the returned preset value will always be one greater than the value
that was specified.
For example, if we look up the
#get_timing_preset
command, we will see that this
command accepts a single preset value, where
param1
is a value from 0 to 5:
#get_timing_preset [param1]
If we set
param1
= 2, then the return value will be displayed as 3:
#get_timing_preset 2
Preset 3
Hor Scan = 45.0
Hor Active = 1280
Hor Ft Porch = 110
Hor Sync W = 40
Hor Bk Porch = 220
Hor Total = 1650
Hor Polarity = +
Pixel Clk = 74.25
Ver Refresh = 60.0
Ver Active = 720
Ver Ft Porch = 5
Ver Sync W = 5
Ver Bk Porch = 20
Ver Total = 750
Ver Polarity = +
A
dv
anc
ed Oper
ation