« Close

Datasheets and User Guides

App Notes

Software & Driver

 

2.13 - 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.