Skip to main content
Skip table of contents

AsynchRX

Reads the oldest 32 bytes from the device UART RX buffer (received on receive terminal). The buffer holds 256 bytes.

  • U3 : Requires U3 hardware version 1.21.

Command (U6/UE9)

Command:

 

Byte

 

0

Checksum8

1

0xF8

2

0x01

3

0x16

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

0x00

7

Flush

 

 

 

 

Response:

 

Byte

 

0

Checksum8

1

0xF8

2

0x11

3

0x16

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

Errorcode

7

NumAsynchBytesInRXBuffer

8

AsynchByte0

...

...

39

AsynchByte31

Command (U3)

Command:

 

Byte

 

0

Checksum8

1

0xF8

2

0×01

3

0×16

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

0×00

7

Flush

 

 

Response:

 

Byte

 

0

Checksum8

1

0xF8

2

1 + NumAsynchWords

3

0×15

4

Checksum16 (LSB)

5

Checksum16 (MSB)

6

Errorcode

7

NumAsynchBytesInRXBuffer

8

AsynchByte0

39

AsynchByte31

  • Flush: If nonzero, the entire 256-byte RX buffer is emptied. If there are more than 32 bytes in the buffer that data is lost.

  • NumAsynchBytesInRXBuffer: Returns the number of bytes in the buffer before this read.

  • AsynchByte#: Returns the 32 oldest bytes from the RX buffer.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.