transmit msg doesn't appear on receive tab?

Windows® Compatible Software for Displaying CAN Messages
Post Reply
vadbut
Posts: 7
Joined: Thu 23. Feb 2017, 03:07

transmit msg doesn't appear on receive tab?

Post by vadbut » Mon 27. Mar 2017, 22:51

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
Attachments
pcan.jpg
pcan.jpg (305.39 KiB) Viewed 5019 times

K.Wagner
Software Development
Software Development
Posts: 1080
Joined: Wed 22. Sep 2010, 13:36

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

Post by K.Wagner » Wed 29. Mar 2017, 08:26

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
Best regards,
Keneth

Post Reply