CAN is a protocol that requires a CAN interface. It cannot be used with RS232/RS485 interfaces. Both RS232/485 and CAN use 9-pin connectors which can be confusing.
The following link is to a Developer Zone page that describes the CAN API and may be helpful for your application.
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/7a542c58102774db8625680700606293?OpenDocument
Kim L.
Applications Engineer
National Instruments