Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i send data to the can bus over a nican pcmcia card

hey! i am a beginner!! my question is: how can i send a normal data frame with a specified identifier to the can bus! i am using a nican pcmcia card to connect to the can. thanks for your help! thomas
0 Kudos
Message 1 of 2
(3,304 Views)
Hi Thomas,

What programing enviroment are you using?. The NI-CAN driver includes several examples you can use to see how the API works.

In LabVIEW., for example, there are the "CAN Transmit - event based.vi" and the "CAN Transmit -periodic.vi" examples, which show you how to send frames to the bus.

If you have two CAN ports available on the same PC, you can wire them together and run the "Object to Object.vi" example. This example configures one port for transmition and another port for reception.

Also, check the manual for NI-CAN, which is also installed by the driver. Go to Start Menu >> Program Files >>National Instruments >> NI-CAN.

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(3,304 Views)