ReadMem
Description
U3 and U6
Reads 1 block (32 bytes) from the non-volatile user or calibration memory. The available memory is different for different versions of the U3.
U3 Hardware version 1.30 & 1.21 and U6:
Command number 0x2A accesses the user memory area which consists of 512 bytes (block numbers 0-15). Command number 0x2D accesses the calibration memory area consisting of 512 bytes (block numbers 0-15). Do not call this function while streaming. Note that there are 512 Bytes of user memory available, but only 256 Bytes are accessible when using the LJ_chUSER_MEM function in the UD driver.
U3 Hardware version 1.20:
Command number 0x2A accesses the user memory area which consists of 256 bytes (block numbers 0-7). Command number 0x2D accesses the calibration memory area consisting of 256 bytes (block numbers 0-7). Do not call this function while streaming.
Table 5.2.6-1. ReadMem command response
UE9
Reads 1 block (128 bytes) from the Control non-volatile memory. The Mem area is arranged in 16 blocks of 128 bytes each. Blocks 0-7 are used by LabJack Corporation to store calibration data, and blocks 8-15 are available to the user.
Command (U3/U6/UE9)
Byte |
|
0 | Checksum8 |
1 | 0xF8 |
2 | 0×01 |
3 | 0×2A (0×2D) |
4 | Checksum16 (LSB) |
5 | Checksum16 (MSB) |
6 | 0×00 |
7 | BlockNum |
Response
U3 and U6
Byte |
|
0 | Checksum8 |
1 | 0xF8 |
2 | 0×11 |
3 | 0×2A (0×2D) |
4 | Checksum16 (LSB) |
5 | Checksum16 (MSB) |
6 | Errorcode |
7 | 0×00 |
8-39 | 32 Bytes of Data |
UE9
Byte |
|
0 | Checksum8 |
1 | 0xF8 |
2 | 0x41 |
3 | 0x2A |
4 | Checksum16 (LSB) |
5 | Checksum16 (MSB) |
6 | 0x00 |
7 | BlockNum |
8-135 | Data |