Colorgraphix 3 5632E: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
==Colorgraphix 3 5632E== | |||
Overview | Overview | ||
This document describes the use of ANSI escape codes to control a network-connected display board. It includes instructions for text coloring, screen control, and cursor positioning, as well as guidance on establishing a network connection to the display board or a Lantronix UTS Serial Adapter. | This document describes the use of ANSI escape codes to control a network-connected display board. It includes instructions for text coloring, screen control, and cursor positioning, as well as guidance on establishing a network connection to the display board or a Lantronix UTS Serial Adapter. | ||
Line 7: | Line 7: | ||
Clear Screen: '\033[2J' clears the entire display. | Clear Screen: '\033[2J' clears the entire display. | ||
Reset Cursor: '\033[H' moves the cursor to the home position (top-left corner). | Reset Cursor: '\033[H' moves the cursor to the home position (top-left corner). | ||
Cursor Positioning: | Cursor Positioning: | ||
Line 14: | Line 15: | ||
COLOR_GREEN_BLACK: Green text on a black background. ANSI Code: chr(27) + '[31{'. | COLOR_GREEN_BLACK: Green text on a black background. ANSI Code: chr(27) + '[31{'. | ||
COLOR_RED_BLACK: Red text on a black background. ANSI Code: chr(27) + '[30{'. | COLOR_RED_BLACK: Red text on a black background. ANSI Code: chr(27) + '[30{'. | ||
COLOR_ORANGE_BLACK: Orange text on a black background. ANSI Code: chr(27) + '[29{'. | COLOR_ORANGE_BLACK: Orange text on a black background. ANSI Code: chr(27) + '[29{'. | ||
COLOR_BLACK_GREEN: Black text on a green background. ANSI Code: chr(27) + '[63{'. | COLOR_BLACK_GREEN: Black text on a green background. ANSI Code: chr(27) + '[63{'. | ||
COLOR_BLACK_RED: Black text on a red background. ANSI Code: chr(27) + '[62{'. | COLOR_BLACK_RED: Black text on a red background. ANSI Code: chr(27) + '[62{'. | ||
COLOR_BLACK_ORANGE: Black text on an orange background. ANSI Code: chr(27) + '[61{'. | COLOR_BLACK_ORANGE: Black text on an orange background. ANSI Code: chr(27) + '[61{'. | ||
Network Connection to Display Board | Network Connection to Display Board | ||
TCP/IP Connection: | TCP/IP Connection: |
Revision as of 16:52, 5 January 2024
Colorgraphix 3 5632E
Overview This document describes the use of ANSI escape codes to control a network-connected display board. It includes instructions for text coloring, screen control, and cursor positioning, as well as guidance on establishing a network connection to the display board or a Lantronix UTS Serial Adapter.
ANSI Escape Codes Screen Control:
Clear Screen: '\033[2J' clears the entire display.
Reset Cursor: '\033[H' moves the cursor to the home position (top-left corner). Cursor Positioning:
Position Cursor: '\033[{line};{column}H' moves the cursor to the specified line and column. Color Configuration:
COLOR_GREEN_BLACK: Green text on a black background. ANSI Code: chr(27) + '[31{'.
COLOR_RED_BLACK: Red text on a black background. ANSI Code: chr(27) + '[30{'.
COLOR_ORANGE_BLACK: Orange text on a black background. ANSI Code: chr(27) + '[29{'.
COLOR_BLACK_GREEN: Black text on a green background. ANSI Code: chr(27) + '[63{'.
COLOR_BLACK_RED: Black text on a red background. ANSI Code: chr(27) + '[62{'.
COLOR_BLACK_ORANGE: Black text on an orange background. ANSI Code: chr(27) + '[61{'.
Network Connection to Display Board TCP/IP Connection:
To control a display board over a network, establish a TCP socket connection. IP Address: Replace '10.200.200.98' with the actual IP address of your display board. Port: Use port 23 for standard Telnet connections to the display board. Connection to Lantronix UTS Serial Adapter:
For connecting to devices through a Lantronix UTS Serial Adapter, use Telnet. IP Address: The IP of the Lantronix adapter. Port: Use port 9999 for the Lantronix UTS Serial Adapter (Model: Snr 1363-058 V3.6).