I am using UI developed from C# to send can frame messages using PCAN Iight.I am able to see the transmitted messages in PCAN_View. I am using built in functions to transmit messages .How do I read received CAN messages?.Is there any built in function.or do I have to use serial port communication. I have used one PC USB port to transmit messages.let me know. Thanks in advance.
In order to communicate over CAN using a PEAK Device, like the PCAN-USB, you have to use one of our APIs: PCAN-Light or, it's successor, PCAN-Basic. They contain different functions to support CAN data reading/writing, as well the setting of some parameters.
The function PCANLight.Write is used for sending CAN messages to the bus and PCANLight.Read is used for receiving messages from it. Please refer to the API Functions overview of the PCAN-Light Api Help documentation for more information.
By the way, with the PCAN-Light package (can be downloaded here), you get also a C# example application in where you can see how to use the different Api functions.