ViewSonic CDE6520-W User Guide - Page 43

Protocol

Page 43 highlights

11.3. Protocol 11.3.1. Set-Function Listing The PC can control the TV/DS for specific actions. The Set-Function command allows you to control the TV/ DS behavior in a remote site through the RS232 port. The Set-Function packet format consists of 9 bytes. Set-Function description: Length: Total Byte of Message excluding "CR". TV/DS ID Identification for each of TV/DS (01~98; default is 01) If we want to set all TV/DS settings, use the TV/DS ID "99", and it will not have Reply command on this function. The TV/DS ID can be set via the OSD menu for each TV/DS set. Command Type Identify command type, "s" (0x73h) : Set Command "+" (0x2Bh) : Valid command Reply "-" (0x2Dh) : Invalid command Reply Command: Function command code: One byte ASCII code. Value[1~3]: Three bytes ASCII that defines the value. CR 0x0D Set-Function format Send: (Command Type="s") Name Length Byte Count 1 Byte Bytes order 1 ID 2 Byte 2~3 Command Type Command 1 Byte 1 Byte 4 5 Value1 1 Byte 6 Value2 1 Byte 7 Value3 1 Byte 8 NOTE: For VT2405LED-1 and VT3205LED, the set "Power on" command is the exception CR 1 Byte 9 Reply: (Command Type="+" or "-") Name Length Byte Count 1 Byte ID 2 Byte Command Type 1 Byte Bytes order 1 2~3 4 CR 1 Byte 5 NOTE:  1. The reply for "Power on" command is the exception for VT2405LED-1 and VT3205LED. It's 0x322B0D ( 2+). 2. When PC applies command to all displays (ID=99), only the #1 set needs to reply by the name of ID=1. Example1: Set Brightness as 76 for TV-02 and this command is valid Send (Hex Format) Name Hex Length 0x38 ID 0x30 0x32 Command Type Command 0x73 0x24 Value1 0x30 Value2 0x37 Value3 0x36 CR 0x0D Reply (Hex Format) Name Length Hex 0x34 ID 0x30 0x32 Command Type 0x2B CR 0x0D 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58

35
11.3. Protocol
11.3.1. Set-Function Listing
The PC can control the TV/DS for specific actions. The Set-Function command allows you to control the TV/
DS behavior in a remote site through the RS232 port. The Set-Function packet format consists of 9 bytes.
Set-Function description:
Length:
Total Byte of Message excluding “CR”.
TV/DS ID
Identification for each of TV/DS (01~98; default is 01)
If we want to set all TV/DS settings, use the TV/DS ID “
99
”, and it will not have
Reply
command on this function.
The TV/DS ID can be set via the OSD menu for each TV/DS set.
Command Type
Identify command type,
“s” (0x73h) : Set Command
“+” (0x2Bh) : Valid command Reply
“-“ (0x2Dh) : Invalid command Reply
Command:
Function command code: One byte ASCII code.
Value[1~3]:
Three bytes ASCII that defines the value.
CR
0x0D
Set-Function format
Send: (Command Type=”s”)
Name
Length
ID
Command
Type
Command
Value1
Value2
Value3
CR
Byte Count
1 Byte
2 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
Bytes order
1
2~3
4
5
6
7
8
9
NOTE
:
For VT2405LED-1 and VT3205LED, the set “Power on” command is the exception
Reply: (Command Type=”+” or “-”)
Name
Length
ID
Command
Type
CR
Byte Count
1 Byte
2 Byte
1 Byte
1 Byte
Bytes order
1
2~3
4
5
NOTE
:
1.
The reply for “Power on” command is the exception for VT2405LED-1 and VT3205LED.
It’s 0x322B0D ( 2+<CR>).
2. When PC applies command to all displays (ID=99), only the #1 set needs to reply by the name of ID=1.
Example1: Set Brightness as 76 for TV-02 and this command is valid
Send (Hex Format)
Name
Length
ID
Command
Type
Command
Value1
Value2
Value3
CR
Hex
0x38
0x30
0x32
0x73
0x24
0x30
0x37
0x36
0x0D
Reply (Hex Format)
Name
Length
ID
Command
Type
CR
Hex
0x34
0x30
0x32
0x2B
0x0D