4 switch between inputs, On 1.7.4 – Kramer Electronics VP-790 User Manual

Page 12

Advertising
background image

8

VP-790 Protocol - Communication

The return value(s) of this API function is the error code of BYTE type, i.e. a 1 byte
value. It is

0x00

if the call was successful or an error occurred if it is not zero. Let us

assume the call was successful for this example. The other return value is the
current contrast setting of UWORD32 type, i.e. a 4 byte value. Let us assume it is
the by 10% increased value of the foregoing example, i.e.

0x92 1A 18 50

. The

payload of the data is 5 bytes. The payload of the data package is 12 + 5 bytes =
0x11 bytes. The payload of data package and application header is 17 + 16 = 0x21
bytes.

Direction

RS232 data

PC sends command

53 41 50 01 FF FF FF FF

00 00 00 1D

00 00 00 00

54 50 01 00 00 00 00 00

00 00 00 0D

00 00 00 00

50 46

00 7E

00 00 00 00

00 00 00 01

01

Board acknowledges to have received

a command

73 61 50 01 FF FF FF FF 00 00 00 00 00 00 00 00

Board sends answer (return values)

53 41 50 01 FF FF FF FF

00 00 00 21

00 00 00 00

74 50 01 00 00 00 00 00

00 00 00 11

00 00 00 00

70 46

00 7E

00 00 00 00 00 00 00 05

00 92 1A 18

50

PC acknowledges to have received an

answer

73 61 50 01 FF FF FF FF 00 00 00 00 00 00 00 00

Direction

TCP/IP data

PC sends command

54 50 01 00 00 00 00 00

00 00 00 0D

00 00 00 00

50 46

00 7E

00 00 00 00

00 00 00 01

01

Board acknowledges to have received

a command

None

Board sends answer (return values)

74 50 01 00 00 00 00 00

00 00 00 11

00 00 00 00

70 46

00 7E

00 00 00 00 00 00 00 05

00 92 1A 18

50

PC acknowledges to have received an

answer

None

1.7.4

Switch Between Inputs

The API byOSDInputFormatSet is used to change the input channel.

The API Index is decimal 318, i.e. hexadecimal

0x01 3E

. If we want to switch to e.g.

the HDMI channel

0x00 00 00 08

(UWORD32 type) has to be transmitted.

The return value(s) of this API function is the error code of BYTE type.

0x00

means

no error occurred.

Advertising