Page 1 of 1

SEND DATA ON FORMAT .CSV THROUGHT PCAN VIEW

Posted: Fri 14. Jun 2013, 23:45
by karolbernalc
Hi

I bought device USB-CAN ADAPTER, the software work correctly with my ezdsp F2808, but now i have to send data that other application. The format of the files is .csv so i don't know how to send automatically some data on this format throught PCAN-VIEW.

Please could you help me.

Thank you

Karol

Re: SEND DATA ON FORMAT .CSV THROUGHT PCAN VIEW

Posted: Mon 17. Jun 2013, 11:51
by PEAK-Support
PCAN-View could send CAN Frames at intervals. These Data could be generate using a Text File.
If you have add some CAN Frames to the Receive List, you could save this to a File (Extension *.xmt)
Here a Example:

Code: Select all

; C:\Users\Uwe\Desktop\mysendlist.xmt
; CAN messages saved by PCAN-View 3.2.3
;
; Columns descriptions:
; ~~~~~~~~~~~~~~~~~~~~~
; +Message ID
; |            +Cycle time in ms (0=manual)
; |            |  +Length of message
; |            |  |  +Frame type: D)ata or R)emote request
; |            |  |  |  +Message data
; |            |  |  |  |
022h         250  8  D 65h 46h 35h 26h 45h 76h 35h 23h  Paused
5FFh         500  7  D 04h 00h 04h 00h 44h 00h 00h  Paused ; The ID 5FF with a DLC of 7
D11h          25  4  D 56h 54h 34h 06h  Paused
You see it is very simple to generate your own transmit list within a text file.
Simply add new ID, Cycle Time, DLC and Databytes. The Paused mark if the CAN frame will be send after the list was loaded, or if it is paused.

You also could use the free available PCAN-Basic Interface DLL to write your own small application in C/C++/C#/Delphi/VB.NET/Java/Phyton etc.
See here for a simple sample.