5.2.20 - AsynchRX [U6 Datasheet] | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Tuesday, March 31st, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

5.2.20 - AsynchRX [U6 Datasheet]

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

Table 5.2.20-1. AsynchRX Command Response

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
  • 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.