This post is for all users of the PCAN LabVIEW API VIs and regards all driver APIs (PCAN Dev/Eval, PCAN Basic and PCAN light). One exception is the PCAN light driver. The VIs return only the error number and no error text.
All VIs may return error messages if the return value isn't zero.
The returned number is the PEAK error numer as described in the PCAN help file.
The error number and the description will be transfered into an LabVIEW error cluster.
And now the difficulties coming up...
This number isn't the same as the LabVIEW internal error number.
The error text and error number is the right text and number. It may give you a hint of what is wrong with you CAN Network, but LabVIEW tries to interpret the error too.
The interpretation is done by using the LabVIEW internal error codes and this is wrong.
This may mislead you in debugging your application.
It starts with: Possible reason....
So please forget this text and use only the error text message.
Yours with kind regards
Martin