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

Datasheets and User Guides

App Notes

Software & Driver

Monday, March 30th, 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() [UE9 Datasheet]

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.