Kramer Electronics Ltd.
VSM-4x4X
– Protocol 3000
63
Function
Description
Syntax
Parameters/Attributes
Example
LABEL
Set input/output label.
COMMAND
#LABEL
io_mode
,
io_index
,
switch
,
label_txt
<CR>
FEEDBACK
~nn@LABEL
io_mode
,
io_index
,
switch
,
label_txt
<CR><LF>
io_mode
– Input/Output
0
– Input
1
– Output
io_index
– Number that indicates
the specific input or output port: 1-4
switch
– On/Off (enable/disable)
custom label
label_txt
– Custom label string
Set input label for HDMI 3:
#LABEL
0
,
3
,
1
,HDMI
<CR>
LABEL?
Get input/output label.
COMMAND
#LABEL?
io_mode
,
io_index
<CR>
FEEDBACK
~nn@LABEL
io_mode
,
io_index
,
switch
,
label_txt
<CR><LF>
io_mode
– Input/Output
0
– Input
1
– Output
io_index
– Number that indicates
the specific input or output port: 1-4
switch
– On/Off (enable/disable)
custom label
label_txt
– Custom label string
Get output label for HDMI 3:
#LABEL?
1
,
3
<CR>
LABEL-CFG
Set Label Config for
output.
COMMAND
#LABEL-
CFG
io_mode
,
io_index
,
foregnd_color
,
backgnd_stat
,
position
<CR>
FEEDBACK
~nn@LABEL-
CFG
io_mode
,
io_index
,
foregnd_color
,
backgnd_stat
,
position
<CR><LF>
io_mode
–
0
– Input
1
– Output
io_index
– Number that indicates
the specific input or output port:
1-4
foregnd_color
:
0
– White
1
– Black
2
– Green
3
– Purple
backgnd_stat
–
0
– Off
1
– On
position
–
0
– Top Left
1
– Top Right
2
– Bottom Left
3
– Bottom Right
Set HDMI 1 output label
configuration to green on top
left side of screen:
#LABEL-
CFG
1
,
1
,
2
,
1
,0
<CR>
LABEL-CFG?
Get Label Config for
output.
COMMAND
#LABEL-CFG?
io_mode
,
io_index
<CR>
FEEDBACK
~nn@LABEL-
CFG
io_mode
,
io_index
,
foregnd_color
,
backgnd_ena
,
position
<
CR><LF>
io_mode
–
0
– Input
1
– Output
io_index
– Number that indicates
the specific input or output port:
1-4
foregnd_color
:
0
– White
1
– Black
2
– Green
3
– Purple
backgnd_stat
–
0
– Off
1
– On
position
–
0
– Top Left
1
– Top Right
2
– Bottom Left
3
– Bottom Right
Get HDMI 1 output label
configuration:
#LABEL-CFG?
1,1
<CR>
LDEDID
Write EDID data from
external application to
device.
When the unit
receives the LDEDID
command it replies
with READY and
enters the special
EDID packet wait
mode. In this mode
the unit can receive
only packets and not
regular protocol
commands.
If the unit does not
receive correct
packets for 30
seconds or is
interrupted for more
than 30 seconds
before receiving all
packets, it sends
timeout error
~nn@LDEDID
err01
<CR><LF>
and
returns to the regular
protocol mode. If the
unit received data that
is not a correct
packet, it sends the
corresponding error
and returns to the
regular protocol mode.
COMMAND
Multi-step syntax
FEEDBACK
Step 1:
#LDEDID
edid_io
,
dest_bitmask
,
edid_size
,
safe_mode
<CR>
Response 1:
~nn@LDEDID
edid_io
,
dest_bitmask
,
edid_size
,
safe_mode
read
y
<CR><LF>
or
~nn@LDEDID
errnn
<CR><LF>
Step 2: If ready was received, send EDID_DATA
Response 2:
~nn@LDEDID
edid_io
,
dest_bitmask
,
edid_size
,
safe_mode
ok
<C
R><LF>
or
~nn@LDEDID
errnn
<CR><LF>
edid_io
– EDID destination type
(usually input)
0
– Input
1
– Output
2
– Default EDID
3
– Custom EDID
dest_bitmask
– Bitmap
representing destination IDs.
Format: 0x********, where * is ASCII
presentation of hex digit. The binary
presentation of this number is a bit
mask for destinations. Setting ‘1’
means EDID data has to be copied
to this destination
edid_size
– EDID data size
safe_mode
– Safe mode
0
– Device accepts the EDID as is
without trying to adjust
1
– Device tries to adjust the EDID
edid_data
– Data in protocol
packets
Using the Packet Protocol
Send a command: LDRV, LOAD,
IROUT, LDEDID
Receive Ready or ERR###
If Ready:
a
. Send a packet,
b
. Receive OK on the last
packet,
c
. Receive OK for the
command
Packet structure:
Packet ID
(1, 2, 3…) (2 bytes
in length)
Length
(data 2 for
CRC)
– (2 bytes in length)
Data
(data length -2 bytes)
CRC
– 2 bytes
01
02
03
04
05
Packet ID
Length
Data CRC
5. Response:
~nnnn
ok
<CR><LF>
(Where
NNNN
is the received packet
ID in ASCII hex digits.)
Write the EDID data from an
external application to the
HDMI In 1 input without
adjustment attempts:
#LDEDID
0,0x1,2340,0
<
CR>
Write the EDID data from an
external application to HDMI
In 1 and PC In inputs with
adjustment attempts:
#LDEDID
0,0x5,2340,1
<
CR>