4.36 - ReadMem [U12 Datasheet] | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Monday April 6th, 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.

4.36 - ReadMem [U12 Datasheet]

Reads 4 bytes from a specified address in the LabJack’s nonvolatile memory.

Execution time for this function is 20 milliseconds or less (typically 16 milliseconds in Windows).


long ReadMem (    long *idnum,
                  long address,
                  long *data3,
                  long *data2,
                  long *data1,
                  long *data0 )

Parameter Description:
Returns: LabJack errorcodes or 0 for no error.

  • *idnum – Local ID, serial number, or -1 for first found.
  • address – Starting address of data to read (0-8188).


  • *idnum – Returns the local ID or –1 if no LabJack is found.
  • *data3 – Byte at address.
  • *data2 – Byte at address+1.
  • *data1 – Byte at address+2.
  • *data0 – Byte at address+3.