ViewSonic CD4220 User Guide - Page 48

Protocol 1 : with ID - tv

Page 48 highlights

5. Protocol 1 : with ID 5.1 Command Description Length: TV ID Command Type Command: Value[1~3]: CR Total Byte of Message excluding "CR" Identification for each of TV Identify command type, "s" (0x73h) : Set Command "g" (0x67h) : Get Command "r" (0x72h) : Reply Command "p" (0x70h) : RCU Pass-through "+" (0x2Bh) : Valid command Reply "-" (0x2Dh) : Invalid command Reply Function command code: One byte ASCII code Three bytes ASCII that defines the value 0x0D 5.2 Set-Function Listing The PC can control the LCD Monitor for specific actions. The Set-Function command allows you to control the LCD monitor behavior in a remote sit through the RS232 port. The Set-Function packet format consists of 11 bytes. Set-Function description: Length: Total Byte of Message excluding "CR" TV ID Identification for each of TV If we want to set all TV settings, TV ID can use "99" to achieve, and it will not have Reply command on this function. Command Type Identify command type, "s" (0x73h) : Set Command 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 Byte Count Bytes order Length ID Command Type 1 Byte 2 Byte 1 Byte 1 2~3 4 Command 1 Byte 5 Value1 1 Byte 6 Value2 1 Byte 7 Value3 1 Byte 8 CR 1 Byte 9 Reply: (Command Type="+" or "-") Name Length ID Command Type CR Byte Count 1 Byte 2 Byte 1 Byte 1 Byte Bytes 1 2~3 4 5 order Example1: Set Brightness as 76 for TV-02 and this command is valid Send (Hex Format) Name Length ID Command Type Command Value1 Value2 Hex 0x38 0x30 0x32 0x73 0x24 0x30 0x37 Reply (Hex Format) Name Length ID Command Type CR Hex 0x34 0x30 0x32 0x2B 0x0D Value3 0x36 CR 0x0D Example2: Set Brightness as 176 for TV-02 and this command is NOT valid Send (Hex Format) Name Length ID Command Type Command Value1 Value2 Value3 CR ViewSonic CD4220 46

  • 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

5.
Protocol 1 : with ID
5.1
Command Description
Length:
Total Byte of Message excluding “CR”
TV ID
Identification for each of TV
Command Type
Identify command type,
“s” (0x73h) : Set Command
“g” (0x67h) : Get Command
“r” (0x72h) : Reply Command
“p” (0x70h) : RCU Pass-through
“+” (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
5.2
Set-Function Listing
The PC can control the LCD Monitor for specific actions. The Set-Function command allows you to
control the LCD monitor behavior in a remote sit through the RS232 port. The Set-Function packet
format consists of 11 bytes.
Set-Function description:
Length:
Total Byte of Message excluding “CR”
TV ID
Identification for each of TV
If we want to set all TV settings, TV ID can use “
99
” to achieve, and it will not
have
Reply
command on this function.
Command Type
Identify command type,
“s” (0x73h) : Set Command
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
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
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
Example2: Set Brightness as 176 for TV-02 and this command is NOT valid
Send (Hex Format)
Name
Length
ID
Command Type
Command
Value1
Value2
Value3
CR
ViewSonic
CD4220
46