I'm using 2 USB PCAN (It will be replaced 2ch PCI in the real system) to develop. One (let's call it ch1) is using PCAN basic to emulate some message (periodically sending) and another one (call it ch2) is using PCAN UDS.
During sending messages through ch1, if send a UDS message then emulation (ch1) message paused until receiving UDS message or time-out.
I'm tried to use one USB (viewtopic.php?f=182&t=4159) but the phenomenon is the same. In addition, in the case of using one USB, emulation messages are received like receive messages (reception event occurred).
I'm looking forward to your answers
Not sure to understand your problem. As far as I understand, you have two PCAN devices, one initialized with PCAN-Basic nad another initialized with UDS. They are working in the same CAN network, at the same time, running a kind of UDS simulation between both channels, right?
You also say that the PCAN-Basic channel is pausing whatever you are transmitting until it doesn't get an UDS response (or timeout) from the UDS channel? Well, I don't know your simulator app/code, but this looks OK for me. UDS is a service oriented protocol (request/response procedure), so if your simulation code acts like a UDS node, then it is normal that it waits for confirmation or stimulation before continuing sending, like a ping-pong.
Thanks for your reply.
"running a kind of UDS simulation between both channels" is a misunderstanding. It's not that communication between both channels.
In more detail, I am developing ECU test equipment. PCAN-Basic channel sends periodic messages to make ECU working conditions, for example, CAN message from another ECU, sensors, etc. And UDS channel sends UDS message for diagnostic. My question is why message sending of PCAN-basic channel pause during UDS communication. (PCAN-Basic channel is not UDS simulator.)
Are you connecting the two CAN channels from within the same project, or do you have two separate applications using each one-API/one-channel connection?
The situation you describe looks like a bottleneck or synchronization problem. This kind of issue regarding the use of PCAN-Basic and UDS together is not known. Both APIs are thread-safe and can be used together (several customer do this for diagnosys and development).