02-03-2014 03:04 PM - edited 02-03-2014 03:05 PM
I have two CANs CAN1 and CAN0 hooked to a breakout box 1 ea, CAN Breakout Box - 14-Port Breakout Box With Power and Termination 2 ea, NI USB-8473 - 1-Port, High-Speed CAN, USB Interface I have LavView 2013 Ver. 13.0f2 (32-bit) I am using "c" libraries: C:\Program Files (x86)\National Instruments\NI-CAN\MS Visual C\nicanmsc.lib which has a "Date created" 3/13/2012 3:35 PM I think the version number is 2.7.4 but I don't know where to find this number. I have Windows 7 I would like to get the J1939 NAME (SPN 2848) for the NI USB-8473 CAN Interface I have. I looked in J1939DA TAB: Manufacturer IDs (B10) - Manufacturer ID Codes (Table B10) and found this for the Mfr ID 529 National Instruments Korea Is this what is used in the NAME for J1939? Also I found: 47 Phillips Semiconductor Since the NI USB-8473 has a "Philips SJA1000 CAN Controller" in it I though that 47 might be the Mfr ID I would like to use PGN 60928 Address Claimed to request the Address/NAME of the two NI USB-8473 interfaces I have but don't know what the Address for the two devices I have are or how to Configure the NAME. I guess I could use 255 0xFF Global Address and see if I get anything back. Thanks John
02-05-2014 04:00 PM
Hello jh99
In SAE J1939, the NAME field is used for two main purposes: To identify a J1939 controller application, and also to acquire a source address (SA). The NAME field is transmitted in the data portion of the address claim message, which is PGN 60928. The NAME field is 64-bits wide and contains nine sub-fields. Together these J1939 sub-fields can be used to identify the manufacturer and function of the node. All name fields on a J1939 network, and all sub-networks, must be unique.
Regards
Frank R.
02-05-2014 04:19 PM
Hi Frank: Thanks for replying to my message. The setup I have is just two NI-USB 8473's Do these have the j1939 NAME in them already? Do I have to just set them with what ever NAME I wan't to configure and what ever SA (Source Address) I make up? I was thinking that there may already be a NAME and SA that I could get with a j1939 RQST message some how, but I'm not sure about this. While running some of the J1939 example C programs I have CAN1 as 0xAA and CAN0 as 0xBB but those numbers I just made up. I though I had to pick Address that were above 0x80 so I wouldn't be using Addresses already assigned by SAE J1939. Thanks John
02-05-2014 04:27 PM
The 8473 wouldn't have the name. This woud be the name of the ECU that you are creating/emulating (i.e., you need to come up with it on your own).
02-06-2014 10:07 AM
Thanks GPIB_Guru: I think I will initialize the two NI USB-8473's I have with a NAME that uses Manufacture ID Code 529. and I think I will try to set one of the SA to 0xAA and the other to 0xBB. I don't have any reason for the SA I chose other then they are both > 0x80 and it is easy to type two A's or tow B's. Thanks John