4.2.13 - ErrorToString() [U3 Datasheet] | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Tuesday, March 31st, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

4.2.13 - ErrorToString() [U3 Datasheet]

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.