Page 1 of 1
Transmitting CAN msges in PCAN viewer
Posted: Tue 23. Jun 2015, 16:10
by Jashan M
hi all,
i am working on PCAN viewer to log the CAN messages. I am flashing one of my MCU via CAN, i have saved all my data in .xmt format and the sending through PCAN viewer. When i open the .xmt file i am unable to see the file in PCAN viewer. i have attached my .xmt file in this thread, is the format of data in .xmt is correct ? or Am i missing some step ?
Regards,
JASHAN M.
Re: Transmitting CAN msges in PCAN viewer
Posted: Tue 23. Jun 2015, 16:25
by K.Wagner
Hello,
the attached file is a "trace" file (*.trc), not a transmit file (*.xmt). The extension of your file is wrong. By the way, trace files cannot be loaded from PCAN-View, only generated.
Re: Transmitting CAN msges in PCAN viewer
Posted: Tue 23. Jun 2015, 17:02
by Jashan M
hey thanks for the reply, but how do i send large set of CAN messages via PCAN viewer ?? how do i generate .xmt file ?? how should be the data ( like CAN Id, DLC and data) arranged in .xmt file ??
Re: Transmitting CAN msges in PCAN viewer
Posted: Wed 24. Jun 2015, 08:33
by K.Wagner
Jashan M wrote:how do i send large set of CAN messages via PCAN viewer ??
Just create all messages you need in the Transmit-List of teh PCAN-View, and give them the period of time at when they have to be sent.
Jashan M wrote:how do i generate .xmt file ??
After you have included all your messages in the transmit list, press the "Disk symbol", or Ctrl+C, or the menu File/Save. Note that the Receive/Transmit tab must be visible at the moment of saving the file.
Jashan M wrote:how should be the data ( like CAN Id, DLC and data) arranged in .xmt file ??
The .xmt file is also an ascii file. Just save any transmission list and open it with a text editor and youi will see how the message are stored there.
Please note that you can only send cycle messages or trigger them manually. If you want to send a couple of messages in an specific order then this will not work. You will need to use another tool like
PCAN-Explorer, or write your own application with one of our APIs, the free version "
PCAN-Basic", or the advanced developer package,
PCAN-Developer.