ViewSonic CDE4200-L Flat Panel Television User Manual


 
32
3.2 Get-Function Listing
The PC can interrogate the display for specific information. The Get-Function packet
format consists of 9 bytes which is similar to the Set-Function packet structure. Note
that the “Value” byte is always = 00.
Set-Function description:
Length: Total Byte of Message excluding “CR”
ID: Identification for each of display
Command Type: Identify command type,
“g” (0x67h) : Get Command
“r” (0x72h) : 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
Get-Function format:
Send: (Command Type= “g”)
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= “r” or “-”)
If the Command is valid, Command Type = “r”
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
If the Command is Not valid, Command Type= “-”
Name Length ID Command Type CR
Byte Count 1 Byte 2 Byte 1 Byte 1 Byte
Bytes order 1 2~3 4 5
Example1: Get Brightness from TV-05 and this command is valid.
The Brightness value is 67.
Send (Hex Format)
Name Length ID Command Type Command Value1 Value2 Value3 CR
Hex
0x38
0x30
0x35
0x67 0x62 0x30 0x30 0x30 0x0D