LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN-FD communication failure

Hi Everyone,

I am trying to establish a CAN-FD communication to hardware which is an evaluation unit hardware and to hardware through vector VN1610 but even though the communication is successful but i cannot get any response in my output. Can please someone guide what can be the possible issue?

sam137
0 Kudos
Message 1 of 5
(896 Views)

The issue could be setup related.  Either wiring, termination resistors, or baud settings.  Is it also possible the device isn't powered up, or not sending anything?  All of these things need to match otherwise you will get nothing.

 

But also in the VI you posted, it appeared broken when I opened because the Output Table indicator was wired to the wrong terminal, but this might be a version opening issue.  As long as you can run your VI then this isn't the issue.

 

Also did you look at the included Vector Example CAN Read Write.vi?  Yours looks very similar but the read frames aren't looped back around between reads with the shift register.  If you don't do this I think the read frames will only pop up real quick then go away.  You set your loop rate to have a delay of 20ms which is quite small.  Like I mentioned the original example kept old frames, but the read only happened every 250ms.  I'd suggest starting with that example first.  Then if it works take things away.  If it doesn't work then look into your setup more.

0 Kudos
Message 2 of 5
(864 Views)

Thanks. The problem was with the hardware configuration. I was able to solve it

sam137
0 Kudos
Message 3 of 5
(796 Views)

Hi, I'm also trying to integrate a CAN FD using XNET.
I'm having big problems because the control unit isn't responding. I received some specifications from R&D, but I can't define the set-up for NI. You can help me?

marcotosimarellicom_0-1717770575986.pngmarcotosimarellicom_1-1717770593789.png


These are the configurations for 2M and 500K FD

0 Kudos
Message 4 of 5
(341 Views)

Please start a new post for a different question. Your question is best to be posted at the Automotive and Embedded Networks board.

 

You can Set Custom Baud Rates on NI-XNET Devices

Are the screenshots for Vector devices? You might want to read XNET : Custom baud Rate Vector CAN to XNET CAN

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 5 of 5
(324 Views)