« Close

Datasheets and User Guides

App Notes

Software & Driver

 

4.19 - GetErrorString

Converts a LabJack errorcode, returned by another function, into a string describing the error. No hardware communication is involved.

Declaration:

void GetErrorString (    long errorcode,
                         char *errorString )

Parameter Description:
Returns: Nothing.
Inputs:

  • errorcode – LabJack errorcode.
  • *errorString – Pointer to a 50 element array of characters.

Outputs:

  • *errorString – Pointer to a sequence of characters describing the error. Unused locations are filled with 0×00.