convert multiple files with PEAK Converter

This is a forum dedicated to discuss suggestions about the functionality of any software product as well as the study of new interesting ideas to develop
Post Reply
User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

convert multiple files with PEAK Converter

Post by PEAK-Support » Fri 30. Sep 2016, 12:04

If you have many Trace files (for exapmple btr or trc files from our Hard & Software Tools) and need to convert them with our PEAK Converter, you could use a simple batch file to save work.
Simply run the command line option to convert more than one file in a batch.

Here a sample how to convert all Sessions of *.btr files in the current directory to the PCAN Trace Format 2.0 format. Target is a user definded directory:

Code: Select all

@echo on
For %%i In ("*.btr") do PEAK-Converter.exe %%i /TF:PCAN /TC:1.3 /TD="C:\Users\Admin\Desktop\TEST Converter"
More Info could be found in the Help File of the converter.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

snieves77
Posts: 4
Joined: Thu 11. May 2017, 22:02

Re: convert multiple files with PEAK Converter

Post by snieves77 » Thu 14. Sep 2017, 00:08

The help files that get downloaded with the converter are blank. I'm trying to batch convert files but I want it to maintain the filename. Can you point me in the right direction?

Thanks!
Attachments
Blank help file
Blank help file
Peak Help.PNG (11.4 KiB) Viewed 10250 times

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

Re: convert multiple files with PEAK Converter

Post by K.Wagner » Thu 14. Sep 2017, 08:45

Dear,

your file seems to be blocked by Windows Security. This is normal when downloading *.CHM files from the internet. Just open the properties of the help file "PEAK-Converter_en-US.chm" (e.g. by right clicking on the file, and selecting "Properties"), and unlock the file. According to your Windows version, you will see

an "Unlock button",
Unlock using a button
Unlock using a button
Button.png (11.31 KiB) Viewed 10248 times
or an "Unlock check box"
Unlock using a checkbox
Unlock using a checkbox
CheckBox.png (8.86 KiB) Viewed 10248 times
Best regards,
Keneth

nsharma
Posts: 1
Joined: Tue 10. Jan 2023, 16:20

Re: convert multiple files with PEAK Converter

Post by nsharma » Wed 18. Jan 2023, 06:14

Hello
I want to use Python to convert multiple ".brtc" files to ".trc".
How can I do this?

Thanks in advance.

Nikhil

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: convert multiple files with PEAK Converter

Post by PEAK-Support » Wed 18. Jan 2023, 07:43

The converter is an executable - not an API - you must call the executable with the needed parameter (see documentation) from your Python script.
For more information on using a command shell in Python, see Python forums. This has nothing to do with our products / tools.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply