Page 1 of 1

transmit msg doesn't appear on receive tab?

Posted: Mon 27. Mar 2017, 22:51
by vadbut
Hi,

Does a transmitted message suppose to show up in the receive messages? Attached is PCAN-View screen when I'm manually sending a 0x150 message and expecting it to show up in the receive tab, which doesn't happen.

The question actually is more general: if I send a message with CAN_Write(), will I be able to listen to it with the same app?

Thanks

Re: transmit msg doesn't appear on receive tab?

Posted: Wed 29. Mar 2017, 08:26
by K.Wagner
Hello,
vadbut wrote:Does a transmitted message suppose to show up in the receive messages?
the transmit-list only shows foreign messages, i.e messages recived from another nodes of the connected CAN network. If you want to see if your message was indeed sent you can:
  • check that after sending the status of PCAN-View (or status returned by CAN_GetStatus/CAN_Status) is OK.
  • check that the counter of the message sent was incremented within the send-list of PCAN-View
  • connect another PCAN-View to the same hardware. The second PCAN-View will show then the messages sent by the first one
vadbut wrote:The question actually is more general: if I send a message with CAN_Write(), will I be able to listen to it with the same app?
if you are using PCAN-Basic: No. PCAN-Basic behaves itself like PCAN-View in this matter. Unfortunately you cannot connect the same channel twice as PCAN-View.
If you are using PCAN-API (CanApi2.dll): Yes. You can configure a parameter that allows you to receive your own messasges