Skip to main content
Skip table of contents


Outputs a string describing the given error code or an empty string if not found.


void _stdcall ErrorToString ( LJ_ERROR ErrorCode,

char *pString)

Parameter Description:

Returns: LabJack errorcodes or 0 for no error.

  • ErrorCode – LabJack errorcode.
  • pString – Must pass a buffer for the string of at least 256 bytes.


  • *pString – A pointer to the string representation of the errorcode.
JavaScript errors detected

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

If this problem persists, please contact our support.