I Receive an Error: -1, with API ComputeCrc with Mpulib.Dll v1.6.0

Updated Apr 8, 2024

Reported In

Hardware

  • Micropross Accessories

Other

HW: MP500 TCL3 
        MP500 PT1NFC

Communication DLL: MPuLib v 1.6.0 and after

Issue Details

With MPuLib.dll v1.6.0 and after, if the API MPC_ComputeCrc is called without any MP500 devices connected, an error -1 will be returned indicating a communication timeout.

Solution

With MPuLib.dll v1.6.0 some cleaning has been made and now this API can only be used when a device is connected, which makes sense since MPuLib is a communication dll.

With MPuLib.dll v1.5.0 and lower, it is possible to call the API MPC_ComputeCRC without device connected.


 

Additional Information

If you want to compute a Type A, Type B or Type Felica CRC without device connected, it is possible to use and add a public algorithm into your test application.  

For any additional questions, please contact NI technical support team on ni.com when opening a Service Request case
using the NI Service Request Manager (SRM).