Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN XCP DAQ Channel extraction when channel data is split across multiple ODT's

Best ideas on how to extract these data channels and convert them to proper format?

It appears most of the standard VI's are setup for a channel data being contained within 1 ODT

Streaming at 1kHz, so it's got to be quick

AA, BB, CC, DD, EE, GG, HH, II, JJ = Float32's

FF = char (8 byte)

iiDaveii_0-1727451441214.png

 

 

0 Kudos
Message 1 of 6
(135 Views)

Are you using ECU Measurement and Calibration Toolkit or Vehicle Communication Measurement and Calibration Toolkit?

Do you have A2L file?

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 6
(117 Views)

I have the toolkits available, but no I'm not using them currently, just the XCP palette. 

0 Kudos
Message 3 of 6
(95 Views)

To my knowledge, neither ECU Measurement and Calibration Toolkit or Vehicle Communication Measurement and Calibration Toolkit has an XCP Palette. Both toolkits will handle the parsing of DAQ lists as well. 

 

Please share the program you are using.

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 6
(82 Views)

I'm sorry, mis-spoke - I am using the XNET pallete.  No A2L file, using an XNET database we manually created.

The difficulty lies in stitching the data channels back together and getting the conversion correct. 

Looking for the easiest way to go about this.

Will a toolkit feature help to extract the data channels when they are split across ODT frames?

 

Currently getting the proper ODT's into payload...

iiDaveii_2-1727865998951.png

 

 

Checking for data split across frames and converting to binary... not correctly

iiDaveii_3-1727866110074.png

 

 

0 Kudos
Message 5 of 6
(72 Views)

If you have an A2L file, I highly recommend using the toolkit and not parse the ODT yourself.

If you insist on using XNET only, you can refer to my implementation in NI-ECUMC-XCP-DTO-Id: Workaround library allowing NI ECUMC to support non-DTO_ID with DAQ for XCP_ON_...

-------------------------------------------------------
Control Lead | Intelline Inc
Message 6 of 6
(65 Views)