Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

detect CAN card

Hai
     i have three PCMCIA CAN card NI, VECTOR & ETAS
My LabVIEW program should work if i use any CAN card, it should detect the CAN card & communicate with the CAN card connected,
if i change to VECTOR CAN card the same program should work with VECTOR CAN card.
how to program , is it possible, please give me an idea
 
Thanks
sk
 
I am using LabVIEW 7.1 & NI PCMCIA CAN
0 Kudos
Message 1 of 2
(3,265 Views)

Hi developer,

because both devices uses different drivers and APIs, you have to detect which device is installed before you can start the communication. If you know which device is installed you can call the code for the device.

For NI CAN devices there is the "ncgethardware" to find which device is installed. For Vector there should be a similar function. For Vector driver Support call Vector directly.

DirkW

0 Kudos
Message 2 of 2
(3,258 Views)