![Hall Research Technologies UHBX-8X Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/hall-research-technologies/uhbx-8x/uhbx-8x_user-manual_3367213013.webp)
UHBX-8X
13
Command:
XT <cr> Stands for Serial Transmit
This command should be followed by a string of characters (or bytes) to be
sent. All byte received after this command end up in a FIFO and will be sent
out after receiving a special two byte end of data designator (referred to as
terminal characters). Therefore, the UHBX-8X does not distinguish between
ASCII or Hex data, all data are treated as bytes. The user has 1-5 seconds to
enter any data or characters, or a timeout will occur. The maximum number
of bytes being sent out can not exceed 160 characters.
The terminal characters indicating the end of string are 0x17 followed by
0x0D. If everything is in ASCII and you are entering the string from a PC
keyboard you can send 0x17 0x0D, by pressing Ctrl+w (will send 0x17)
followed by Enter (will send 0x0D). If more than 160 bytes need to be sent,
then multiple commands will be needed.
Response:
OK <cr>
It is recommended that the customer wait for the OK response prior to
issuing further commands. Neglecting to do so runs the risk of corrupting the
internal buffers.
Example of XT Command
From a PC Keyboard
Type: XT [enter]
Type: Hello World [Ctrl+w] [enter]
This will send out “Hello World”
Command:
XB,n <cr> Stands for Serial Baud
If n is not specified, it reports the current baud rate (n = 1-8 per table below)
Response:
XBn <cr>
Command:
XP,n <cr> Stands for Serial Parity
If n is not specified, it reports the current parity. n: (0 = None, 1=Odd,
2=Even)
Response:
XP,n
<cr>
N
1 2 3 4 5 6 7
8
Baud
Rate
1200 2400 4800 9600 19200 38400 57600 115200