Hi,
I’m writing to ask if there’s a way to loop through the same CAN ID.
What I want to do is request information from the CAN line and get a response. I have different requests, which is possible, the problem is separating the responses.
Can anyone help me?
Hi,
Hard to tell if it will be possible. Not enough details.
What are you trying to do exactly?
Compound messaging? OBD request? Something else?
OBD Request,
ECU not have all the values you want directly in ID CAN.
I can only retrieve the data using the question and answer method. The problem is that the values all get scrambled.
Could you give me any example of how this communication looks like? What do you have to send and what is the answer - in that way we can try if this is even possible to achieve in the current implementation.
I need send a question, eg: (use can bus export)
ID: 0x7E1 DLC:8 14 08 3E 00 20 00 C8 00
after send this question, ecu response:
ID: 0x7E0 DLC:8 40 50 22 33 XX XX 00 00
I Use CANbus Message Object for ID: 0x7E1, next use Canbus Input for read message in ID 0x7E1, and this work perfect.
But when try send other question in 0x7E0 and try use other Canbus input, values are mixed,
I need to send a question, wait for an answer, send a new question, wait for another answer, etc.
I think it is possible to handle what you want in ADU, but more details would be nice.
If the answers from ECU contain data that allow us to recognize what the answer is, then you can use CAN bus Message Object type Compound/Multiplexed.
If not, it should still be possible by creating some logic in the project tree.
If you could share your current project and what exactly you want to achieve, I will take a look at it and try to help you with this challenge.
this work perfect if use only Q1, if use Q2 and Q3, values mixed.
Need send request_Q2 only when have response in Q1, send request_Q3 only when have response in Q2 and create this loop
teste.adu (28.6 KB)
I’m sorry if I’m not making myself clear.
Could you record CAN traces for each of these requests and answers? I want to see the content of CAN frames from the ECU.
You can collect the CAN trace using Ecumaster Light Client.
Can you tell us the details?
What exact device are you communicating with?
What exact data are you trying to retrieve?
The communication you presented doesn’t comply with the OBD standard.