Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

ADCS and restbus simulation

Hi together,

 

I am quite new to CAN and very new to the ADCS. I have some basic understanding problems about how to use ADCS.

 

I want to work with an ECU, which requires some restbus simulation for stayling alive. This needs cyclic sending of some frames with IDs like 0x1B00, 0x5F0 and some others.

 

As far as I understand, this restbus simulation has nothing to do with diagnostics. If I try to write that data with "UDS WriteDataByIdentifier" I am getting an error: ISO TP: timeout receiving a Flow Control Frame. From my point of view, this is because ADCs is transmitting this data by UDS, but the ECU does not respond with a Flow Control Frame.

 

It would be possible to write that restbus simulation data with the VIs from Measurement I/O/ -> CAN, but: I can't use the same CAN interface at the same time from both, Measurement I/O and ADCS.

 

So my question is: How can I use ADCS and keep alive some restbus simulation at the same time?

 

Thank you.

Regards,

flowschi

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

which version of ADCS and NI-XNET are you using?

0 Kudos
Message 2 of 7
(7,336 Views)

I am using ADCS 1.2.0. The hardware I am using is NI PXI-8464 and NI USB-8473. I don't have a XNET interface.

0 Kudos
Message 3 of 7
(7,331 Views)

NI-CAN cannot share a port with standard CAN communication and ADCS so you would need to spend a second CAN port for your Restbus simulation

0 Kudos
Message 4 of 7
(7,321 Views)

Thanks for that info. Ok, than I have to get NI-XNET hardware. 🙂
How do I solve my problem with NI-XNET-hardware?

0 Kudos
Message 5 of 7
(7,316 Views)

NI-XNET and ADCS can share a single CAN port, so you can do Diagnostics and eg Frame Output Transmission on the same port

0 Kudos
Message 6 of 7
(7,314 Views)

Hi, it's me again.

There's another question left:

 

I am going to use a NI PCI-8512/2 device.

 

My current restbus simulation uses the Frame API and also receives all frames with ReadNetMult.

 

Assumend I am using ADCS on the same port: Will I run into problems, because the Frame API reads the RX buffer, so that ADCS will "miss" frames? Or will I have access to all RX frames in the Frame API as well as in ADCS on the same port?

 

Thanks!

0 Kudos
Message 7 of 7
(7,223 Views)