Academics Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

J1939 Example code Request

Solved!
Go to solution
Highlighted

J1939 Example code Request

Dear all

  This is venkateswaran from Coimbatore and I am working with LabVIEW in Industrial Automation domain.Now I am working with J1939 based UUT .In my setup I am using NI PXI 8513 High Speed CAN. UUT Specifications shown some PGN Numbers and SPN Numbers in funtionality so i want to simulate these signal with NI Hardware.So I need some examples to simulate

Thanks

Venkateswaran V

0 Kudos
Message 1 of 7
(2,260 Views)

Re: J1939 Example code Request

Dear Venki,

As far as I have understood is you are trying to connect an can to J1939 based connector in UUT, in this case you can simply make a connector module and start working on it.

Message 2 of 7
(1,148 Views)

Re: J1939 Example code Request

             No ganesh i talking about programming , Specs given by the customer having PGN number and SPN number only but VI given by NI having only ID and Source address.So I want to know how to use the VI given by NI with my avilable informations.

0 Kudos
Message 3 of 7
(1,148 Views)

Re: J1939 Example code Request

Hi venkatesh,

Did you had a chance to check this and try?

http://www.ni.com/example/31215/en/

Message 4 of 7
(1,148 Views)

Re: J1939 Example code Request

Ya i already read this white paper , this white paper shows transport and data link layer but i am having doubts on Application layer.In NI example shows below,NI Example.JPG

But in my case my specs having PGN number and SPN number for telltale operation.So i want to know that how i can interpolate PGN and SPN with this VI.Specs below

Specs.JPG

thank you

0 Kudos
Message 5 of 7
(1,148 Views)

Re: J1939 Example code Request

In this case take PGN as a Identifier and SPN as the data field.

0 Kudos
Message 6 of 7
(1,148 Views)

Re: J1939 Example code Request

But ganesh they give some ID and Condition for each SPN like 00-ON and 11-Error where i suppose to give this bit level information and ID in the message format.If you have any example kindly send to me.Can i have yours mobile number.You told me to insert PGN in ID field and SPN number is particular data byte(SPN is 21 means i suppose choose 21th byte of data field and insert the condition data to that field).

Thanks for yours Support

0 Kudos
Message 7 of 7
(1,148 Views)