For now it seems to work.
I believe to make the library more versatile to different uses cases and/or ECU implementations, it would be however a desired feature to somehow control the message-filtering configuration of the DTO queue.
If any future version of the API could easily implement that ...
Search found 8 matches
- Wed 12. Aug 2026, 06:59
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
- Mon 10. Aug 2026, 12:17
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
Re: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
Hello,
if I understood well, you want to define different DAQ-Ids for several ECUs. This is possible and it is explined in the chapter " Introduction \ About XCP \ XCP on CAN" . In short words, you can define one ID for each ECU to get DAQ messages. Having this like that, you should then get them ...
- Fri 7. Aug 2026, 12:32
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
Re: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
I guess I found some hint from old posts, I will try this out:
Hello,
first of all makes sure that you are using the last version, Version 2.2.1 from 2018-12-13, since older version had a problem receiving DTOs.
Note that you have to use the XCP_TransportLayerCommand so that dedicated DTOs ...
- Fri 7. Aug 2026, 12:32
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
Re: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
Following the previous thread, I do:
byte[] daq_id = BitConverter.GetBytes(DAQ_ID);
XCPApi.TransportLayerCommand(m_XcpSession, 0xFD, daq_id, (byte)daq_id.Length, ctoBuffer, (ushort)ctoBuffer.Length);
But I still do not receive anything, although my CAN trace shows the DTOs are continuously ...
byte[] daq_id = BitConverter.GetBytes(DAQ_ID);
XCPApi.TransportLayerCommand(m_XcpSession, 0xFD, daq_id, (byte)daq_id.Length, ctoBuffer, (ushort)ctoBuffer.Length);
But I still do not receive anything, although my CAN trace shows the DTOs are continuously ...
- Fri 7. Aug 2026, 12:12
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
Re: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
I guess I found some hint from old posts, I will try this out:
Hello,
first of all makes sure that you are using the last version, Version 2.2.1 from 2018-12-13, since older version had a problem receiving DTOs.
Note that you have to use the XCP_TransportLayerCommand so that dedicated DTOs can ...
Hello,
first of all makes sure that you are using the last version, Version 2.2.1 from 2018-12-13, since older version had a problem receiving DTOs.
Note that you have to use the XCP_TransportLayerCommand so that dedicated DTOs can ...
- Fri 7. Aug 2026, 11:06
- Forum: PCAN-Basic
- Topic: How to check if PCAN-interface is FD-capable?
- Replies: 2
- Views: 995
Re: How to check if PCAN-interface is FD-capable?
Thanks, returning an int works!
- Fri 7. Aug 2026, 11:05
- Forum: PCAN-XCP
- Topic: How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
- Replies: 8
- Views: 1768
How to receive DAQ stream when CAN ID of DTO buffer event channel differs from CTO buffer
Hello,
I notice some ECUs might send their DAQ stream in a different CAN ID than other messaging takes place (the event channel specific ID seems to be defined in XCP_ON_CAN -> EVENT_CAN_ID_LIST -> FIXED)
In this case, the method XCPApi.DequeuePacket(m_XcpSession, TXCPQueue.XCP_DTO_QUEUE ...
I notice some ECUs might send their DAQ stream in a different CAN ID than other messaging takes place (the event channel specific ID seems to be defined in XCP_ON_CAN -> EVENT_CAN_ID_LIST -> FIXED)
In this case, the method XCPApi.DequeuePacket(m_XcpSession, TXCPQueue.XCP_DTO_QUEUE ...
- Wed 5. Aug 2026, 11:28
- Forum: PCAN-Basic
- Topic: How to check if PCAN-interface is FD-capable?
- Replies: 2
- Views: 995
How to check if PCAN-interface is FD-capable?
Hello, the problem is described in the title. I use .NET / C# with the old PEAK-XCP API examples.
I recall the following code snippet above was already working correctly to identify if I have a normal PCAN-USB or a PCAN-USB FD connected, but it stopped working without any reason ...
I recall the following code snippet above was already working correctly to identify if I have a normal PCAN-USB or a PCAN-USB FD connected, but it stopped working without any reason ...