With the older Version 1 of the PCAN-Diag without USB (the new Version 2 with a USB Memory Interface is available since 03/2011) it is possible to transfer these files to a PC via CAN.
What you need
- PCAN-Diag with Firmware 1.3.10 or higher
(if you need to update see: http://www.peak-system.com/forum/viewto ... ?f=38&t=51) - the PCAN-Diag Download Tool (is part of the Firmware Update package - see above)
- a PEAK PC-CAN Interface - the Tool support USB/PCI/PCCard based CAN Interfaces from PEAK
- a CAN cable to connect the PCAN-Diag to the PC-CAN Interface
- Set the value of the Scope Settings entry "Enable Data-Readback" to Yes to enbale this function.
First connect the PCAN-Diag to your CAN System and measured the CAN Frame (in Scope mode) until you have the screen you like to export to the PC.
Transfer the Date:
After that you need to connect your PC with a 1:1 CAN connection to the PCAN-Diag.
Be sure that the cable is terminated or you have switch on the tetermination in the PCAN-Diag.
Check the Baudrate which is selscted in the PCAN-Diag.
After that you could start the PCAN-Diag Upload Tool with the needed Parameters
Start with parameter "help" to see all features:
Code: Select all
------------------------------------------------
PCAN-Diag Upload Tool
(c)2010 PEAK-System Technik GmbH
Version 1.01
-------------------------------------------------
usage:
DiagScreenDownload [device] [baudrate_index/btr0btr1] [datatype] [delay] [mode]
Device: usb1 | usb2 | pci1 | pci2 | pcc1 | pcc2
Baudrate_index:
0: 1MBaud
1: 500kBaud
2: 250kBaud
3: 125kBaud
4: 100kaud
5: 50kBaud
6: 20kBaud
7: 10kBaud
8: 5kBaud
or BTR0BTR1 in HEX like 0x001C -> 500K
datatype:
1: Bitmap file
2: CSV Data file
delay:
0ms to 10ms for communication delay
mode:
1: user input required
2: batch mode
samples:
DiagScreenDownload usb1 1 1 5 1
Create a Bitmap and use CAN-USB Channel one with 500k, save a Bitmap, delay is 5ms work in user mode
DiagScreenDownload usb2 0x001c 2 2 2
Create a Bitmap and use CAN-USB Channel one with 500k, save a CSV, delay is 2ms work in batch mode
press any key to close[/color]
The Bitmap mode save a BITMAP with the screen of the scope The CSV mode store a CSV File which could be open with EXCEL or OpenOffice.
It is very simple to generate a graphic with the Office functions.
The size of the CSV file is depending of the selected Sample buffer size inside the PCAN-Diag (see Scope/Settings menu) It stores the real Voltage information of the CAN-H and CAN-L as Text.