Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Pb to receive a message with the examples Channel Monitor.vi or CAN receive.vi (they don't work)

Hello,

 

I want to receive a message with this examples of Labview on the CAN bus, when I send a message I see it with the bus monitor of MAX, but I can't see it with the examples of Labiew...

 

Somebody has test this examples?

 

 

0 Kudos
Message 1 of 2
(6,261 Views)

Hi,

 

What's your LV version ? What Can device do you use ? You can test the CAN Receive.vi with the CAN Transmit - event based.vi with the CAN Virtual Ports first, and after with your physical device. You can simulate 2 CAN ports directly in your code. CAN ports CAN256 and CAN257 are virtual ports that are already created when NI-CAN version 2.3.2 and above is installed.

Then, you can use the CAN Bus Monitor through LabVIEW using System Exec.vi. I have attached a sample VI made in LV 8.6. Also, there are some interesting threads wich may help you.

Cannot get NI-CAN to send/receive messages via LabVIEW

Having trouble transmitting to CANbus using LabView

CAN Channel Monitor

 

Let me know what happens.

 

Regards,

 

Steve M.
0 Kudos
Message 2 of 2
(6,228 Views)