Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN Initialization fails for NI-PCI 8512(XNET Interface)

Solved!
Go to solution

Hi all,

I'm pretty new to XNET and I wanted to use my old NI-CAN drivers for the NI-PCI 8512.As the device is listed under FLEXNET interface,I'm not able to allocate CAN channel or to set the baud rate to use with NI-CAN. I'm getting following error message:

"Error -1074388957 occurred at CAN Initialize.vi

Possible reason(s):

NI-CAN:  (Hex 0xBFF62023) The Interface is invalid or unknown.  Solution:
Verify that the interface is assigned to a specific port within the Devices
and Interfaces branch of  the Measurement and Automation Explorer (MAX)."

 

Attaching a scrren shot of my MAX CAN Setup.

 

I would really appreciate if anyone encountered the same issue and was able to resolve it.

 

Regards,

Manu Mohan





0 Kudos
Message 1 of 3
(9,761 Views)
I forgot to mention that the NI Bus monitor work perfectly to show me the incoming messages.




0 Kudos
Message 2 of 3
(9,759 Views)
Solution
Accepted by topic author manumohannair

To use NI CAN API, we need to install a “compatibility layer” software interface… Following link resolves the issue

http://zone.ni.com/devzone/cda/tut/p/id/9717





0 Kudos
Message 3 of 3
(9,745 Views)