Skip to main content
Skip table of contents

4.23 - LocalID [U12 Datasheet]

Changes the local ID of a specified LabJack. Changes will not take effect until the LabJack is re-enumerated or reset, either manually by disconnecting and reconnecting the USB cable or by calling ReEnum or Reset.

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

Declaration:

long LocalID ( long *idnum,
long localID )

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

  • *idnum – Local ID, serial number, or -1 for first found.
  • localID – New local ID.

Outputs:

  • *idnum – Returns the local ID or –1 if no LabJack is found.
JavaScript errors detected

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

If this problem persists, please contact our support.