Issue of Command Line Path

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
iscool2@gmail.com
Newbie
Posts: 0
Joined: Mon Mar 21, 2016 11:48 am

Issue of Command Line Path

Post by iscool2@gmail.com »

Hello,

Issue#1.
I want to extract your xxxx.psdata to csv file.
The result file is created to the different folder.
I tried like this:
1) Save mydata.psdata into Z:\Temp folder.
2) goto the Z:\Temp folder.
3) Z:\Temp>picoscope /c mydata.psdata /d mydata.csv /f csv /q
I think the result should be exist under Z:\Temp folder, but the file is created Z:\ folder, ie, "Z:\mydata.csv" is generated.

Question.
By the way how can I extract at once all the mydata.psdata, mydata (2).psdata, mydata (3).psdata,....?
How can I use the wild card for the source file name and destination file name? Do I use the /b option "|all" options?
Thanks,

YoungTaek
Attachments
report.png

Hitesh

Re: Issue of Command Line Path

Post by Hitesh »

Hi,

By specifying the /d option you are asking the application to place the files in the 'mydata.csv' folder.

You can use the following:

Code: Select all

picoscope /c *.psdata /f csv /q /b all
This will convert all psdata files in the current folder to csv files. If there is more than one waveform in the file it should create a folder with the filestub name and place all the csv files in there, otherwise a single csv file will be created in the current folder.

The /b all option extracts all waveforms from the psdata file and converts them.

Hope this helps.

Post Reply