Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

XCP DAQ & STIM communication

I'm currently working for prototyping for Automotive ECU using CompactRIO.

And I would like to try XCP DAQ & STIM communication for bypassing ECU process, using ECUMC toolkit.DAQ and STIM.jpg

 

Are there any sample VI for XCP DAQ and STIM?

 

Any help would be greatly appreciated.

 

Best regard

0 Kudos
Message 1 of 5
(4,016 Views)

The example is Advanced/XCP Data Stimulation.

Depending on the timing requirements the bypassing might or might not work for you.

ECUMC is always queuing the DAQ input which affects the real time timing a bit.

0 Kudos
Message 2 of 5
(3,980 Views)

You can find example in "example finder".

Just in case, if you do not know how to refer this example finder, please see the attached pdf.

Hope this helps.

 

Tomoya Tsuiki

National Instruments

Application Engineer

0 Kudos
Message 3 of 5
(3,976 Views)

Hello WaldemarM and Tomoya

thanks very much for your help.

 

I tested sample vi with ECU slave simulator by CAN I/O.

and seems DAQ and STIM communicate periodically which is defined at A2L file (event 10 msec).  below is CAN log file.DAQ STIM log.jpg

 

 

 

As WaldemarM mentione, I'm also worring about timing, since bypassing must overwrite ECU variable before it proceed.

 

are there any way to modify or calibrate DAQ&STIM timing?

Also please let me know if you have any know-how or rule of thumb from your experience to achieve bypassing.

Actually, I'm planning to use ECU debugging interface and communicate by XCPonEthernet.

 

thanks very much for your kindly support.

best regard

0 Kudos
Message 4 of 5
(3,951 Views)

Because I do not have much experience about what you are going to do, so following is just my guess...

 

It seems like you can get and set property of A2L file programmatically by "Get Names and Properties" palette in "ECU M&C" palette in function palette. If your concern can be removed by modifying samplerate or something, these functions may help.

Please see the following manual p.5-132.

 

XCP DAQ & STIM communication - Discussion Forums - National Instruments
https://forums.ni.com/t5/Automotive-and-Embedded-Networks/XCP-DAQ-amp-STIM-communication/m-p/3882568...

 

Tomoya Tsuiki

National Instruments

Application Engineer

Message 5 of 5
(3,906 Views)