Skip to main content
Skip table of contents

ErrorToString()

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

Declaration:

void _stdcall ErrorToString ( LJ_ERROR ErrorCode,

char *pString)

Parameter Description:

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

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

Outputs:

  • *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.