Hi Robert,
NI-Spy is a good idea, however in this case it might not work
completely. When the self-test is performed trough MAX, it is checked
whether any application (CVI, LabVIEW, etc.) still has open
handles/references/tasks to the CAN card. If that is the case, the
self-test cannot be performed, as it could potentially reset the card
configuration while an application is still running.
You might have noticed that the self-test sometimes returns
“Cannot test the device as it is still in use….”
That message comes up when an application is actively using the CAN
card, or even if there are just some references not closed. When the
ADE (LabVIEW, CVI, etc.) is closed a cleanup of all open connection is
performed and with that any pending/lost references are closed.
The reset that the self-test performs, requires that no ADE is active as
otherwise the NI-CAN driver can’t close all references. It might work
sometimes, but most times you just need to close the application
-B2k