Справочник Пользователя для Contemporary Research ICC2-IRC

Скачать
Страница из 22
Contemporary Research Corporation 
 
12 
    
IR TV Controller
 
 
Command 
 
Description 
Write Text 
DM  “$A5,<dh>,<dl>,<ncb>,‘DM’, <start line>,<text color>,<background color>, 
<background>,<size and shadow>,<timeout>,<message bytes>” (variable bytes) 
Clears current text, displays text message over video (default) or blank background. 
The built-in character generator can accept up to 40 characters of text (including 
carriage returns), 28 characters per line. Use a hex $0D or decimal 13 in the text as 
a carriage return, which will advance CG to the next line, first space on the right. 
 
  Start Line - 1-11 
 Text Color - 1-7= White 
 Text Background Color – 0-7=Transparent (no background) 
  Full screen background – 0=normal insert over video, 1=blank screen (blue) 
  Size and Shadow – 0-3=small text with drop shadow 
  Time-Out – 0=15-second display, 1=persistent 
Persistent text stays on screen until the next DM, or new Menu or channel. 
Ex1: “$A5,<dh>,<dl>,10,‘DM’, 2,7,0,0,1,0,’TEST’ ” displays the word TEST on the 
second line, white text, inserted over video, small size with drop shadow, and timing 
out after 15 seconds.  
 
Ex2: “$A5,<dh>,<dl>,2,‘DM’ ” clears on-screen display, also clears persistent text 
The VDC uses white text and clear backgrounds when it receives a Text or 
Background Color parameter between 1 and 7, and accepts values 0-3 for text size 
and shadow. This allows compatibility with Smart TVs mixed in the same system that 
can display other colors and fonts. 
Fast Write 
DN  “$A5,<dh>,<dl>,<ncb>,’DN’, <text> ” (variable bytes) 
Clears display, writes specified text starting at column 1, row 1. $0D and hex $EA, 
$EB, $DC, and $DB can be included, operate same as matching commands below. 
Write Here 
DW  “$A5,<dh>,<dl>,<ncb>,’DW’, <text> ” (variable bytes) 
Writes specified text starting at present cursor position. Accepts same Hex as DN. 
Row, Column 
DG  “$A5,<dh>,<dl>,4,’DG’, <row>, <column>” (8 bytes)  
Moves the cursor to the specified row and column position. If row is 0, then row will 
not be changed, and if column is 0, then column will not be changed. 
Cursor Column  E7  “$A5,<dh>,<dl>,3,’E7’, <column>” (7 bytes) – sends cursor to specified column. 
Cursor Row 
E8  “$A5,<dh>,<dl>,3,’E8’, <row>” (7 bytes) – sends cursor to specified row. 
Return EB 
“$A5,<dh>,<dl>,2,’EB’ ” (6 bytes) 
Moves cursor down to the first column of the next row. 
Clear All 
EA  “$A5,<dh>,<dl>,2,’EA’ ” (6 bytes) 
Clears display, sends cursor to column 1, row 1. 
Clear to End 
DC  “$A5,<dh>,<dl>,2,’DC’ ” (6 bytes) 
Clear on-screen display from cursor to end of screen, position stays the same. 
Clear Line 
DB  “$A5,<dh>,<dl>,2,’DB’ ” (6 bytes) 
Clear on-screen display from cursor to end of line, cursor position stays the same. 
Clear Spaces 
E9  “$A5,<dh>,<dl>,3,’E9’, <num spaces>” (7 bytes) 
Clears specified number of spaces, starting from cursor to the right. 
Text Timeout 
DQ  “$A5,<dh>,<dl>,3,’DQ’, <time>” (7 bytes) 
Sets screen timeout to specified time in seconds (1-254). If time is 0 or 255, any text 
on the screen will persist indefinitely, or until cleared.