LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Communication with LABVIEW

Solved!
Go to solution

We have 2 systems  , A & B.  Both has same softwares versions installed ( as shown in NI Softwares Drivers installed ). NI MAX CAN baud rate is same 250kbps on both systems ( As shown in NI MAX SETTINGS)

When we Init CAN channel on system A it works fine & CAN Channel is using 250kbps only & we can send CAN msg directly.

Where as on Sytem B when we Init CAN channel & after that we need to give set baud rate step separately & then only write CAN msg.

Attached is the NI CAN Init CAN VI snap attached for reference.

 

Can you please help us to know what may be the difference is there on both systems?

Let us know if you need more info to identify difference.

Thanks in advace!

0 Kudos
Message 1 of 3
(1,191 Views)
Solution
Accepted by topic author Ranu1

This question is best to be posted at Automotive and Embedded Networks

I can see that you are using the NI-CAN driver on the NI-XNET device. Are you reusing old codes or writing new code? Have you considered Migrating NI-CAN Applications to NI-XNET?

Can you explain what you mean by "give set baud rate step separately"?

One possible issue I can see from the NI-XNET Bus Monitor setting is the missing of termination. Are you using a terminated CAN cable? If not, can you try enabling the Termination checkbox?

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 3
(1,141 Views)

Hey Thanks for your inputs, We were only cross check on NI XNET properties to set for baud rate but NI CAN was making it difference in baud rate settings. Now issue is resolved. 

0 Kudos
Message 3 of 3
(1,101 Views)