« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.3.11 - WriteMem

Writes 1 block (128 bytes) to the Control non-volatile memory. The Mem area must be erased before writing. 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.

Table 5.3.11-1. WriteMem Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 0x41
3 0x28
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0x00
7 BlockNum
8-135 Data
   
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 0x01
3 0x28
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 0x00