01-31-2013 07:44 AM
Hi,
I have a 1-port High speed NI XNET CAN C series module NI 9862 with a software selectable termination CAN cable. I have my external power supply connected. I also created an XNET data base but I could not get the 9862 module to communicate. I checked the device in MAX and it passed self test but there is no activity when I connect it to my CAN hardware. The bus monitor doesn't show any communication. I wrote a simple vi and enabled termination but there is still no activity. I've attached a screenshot of my vi. Does any one understand how to fix this?
Thanks
01-31-2013 08:06 AM
Are you getting any traffic? In MAX I believe you right click the XNET device and choose Bus Monitor, this will show the raw frames from the CAN device. If there is nothing you have no hopes of reading the channel information.
Also check your wiring (as I'm sure you have) and baud rate settings.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-31-2013 08:14 AM
No I'm not getting any traffic on the bus monitor in MAX. I also checked the wiring and baud rate setting. That is why I posted this here on the forum for help.
Thanks
01-31-2013 08:17 AM
@SolPS wrote:
No I'm not getting any traffic on the bus monitor in MAX. I also checked the wiring and baud rate setting. That is why I posted this here on the forum for help.
Thanks
If your wiring is right, and the settings are right, and the 9862 is not suspected to be broken (new item) then I would say your device is not sending CAN messages periodically. Have you talked to this device using a different CAN device to confirm it is working as expected?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-31-2013 08:18 AM
Have you powered the CAN port? This card need external power in the D-SUB interface.
What chassic have you plugged this module in?
01-31-2013 09:07 AM
I have talked to the can device with a different hardware and software. I purchased the 9862 so I can create CAN applications in labview. At the moment, my 9862 module is not talking.
01-31-2013 09:09 AM
Yes the CAN port is powered with an external power supply set at 12volts. The Chassis is the NI cDAQ-9171.
01-31-2013 10:58 AM
One thing you could try is hook up the program that does communicate and the 9862. Then use the bus monitor in MAX to see if you can see any messages between the unit and the program that is working correctly.
Do you happen to have (2) 9862's? If you do you can use example programs to send messages between them to see if they work. You might also be able to do a self test on the module in MAX.
Also just to triple check you have:
Pin 2 CAN L
Pin 7 CAN H
Pin 6 V-
Pin 9 V+
01-31-2013 11:57 AM
Hi Bryan,
I thought pin6 was optional CAN ground. The wiring diagram on the manual has V+ as pin 9 and V- as pin 3 or has it been changed? I have only one 9862 module.
01-31-2013 12:37 PM
I double checked the harness I made and you are correct with pin 9 and pin 3. But looking at the manual (again) it looks like pin 3 and pin 6 are connected internally (page 4 and 5).
So your best bet might be to try and see if the bus monitor can pickup any messages on the bus while using your other program that works. Unless an engineer stops by with other tips.