Is there a possibility to read binary saved scope files?

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
pkravt
Newbie
Posts: 0
Joined: Thu Jan 26, 2012 7:54 am

Is there a possibility to read binary saved scope files?

Post by pkravt » Thu Feb 16, 2012 6:42 am

Hi,

Is there a possibility to read binary files saved by picoscope software ?
May be it would be faster than conversion to text files ...
We need to get maximum amplitude of thousands waveforms.
Now we convert all binary files to the text and analyze text files.
This takes DAYS for analyzing.
One more problem is that after conversion we always have 25000 points
in the file, despite of the picoscope settings (1000 points for single waveform).

How can we read the binary files?

Martyn
Site Admin
Site Admin
Posts: 3375
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Is there a possibility to read binary saved scope files?

Post by Martyn » Thu Feb 16, 2012 9:58 am

I am unaware of anything other than Picoscope which can read these files.

There is a feature that may help you speed up the conversion process of saved files. If you open up explorer and right click on a psdata file you are given the option to convert the file to a different format such as txt or csv. This saves time as the files don't have to be loaded into the software, and you can select a number of files to process at the same time.
Martyn
Technical Support Manager

pkravt
Newbie
Posts: 0
Joined: Thu Jan 26, 2012 7:54 am

Re: Is there a possibility to read binary saved scope files?

Post by pkravt » Thu Feb 16, 2012 10:02 am

This does not help, because now we are using special script with command line conversion.
Even with this automated conversion it takes more than a day to convert these files.

I don't understand why it takes so long to read the binary data and save the text.
And it is surprisingly unreasonable to save 25000 points with only 1000 measured.

Martyn
Site Admin
Site Admin
Posts: 3375
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Is there a possibility to read binary saved scope files?

Post by Martyn » Thu Feb 16, 2012 10:28 am

Which Picoscope device are you using ?
Martyn
Technical Support Manager

pkravt
Newbie
Posts: 0
Joined: Thu Jan 26, 2012 7:54 am

Re: Is there a possibility to read binary saved scope files?

Post by pkravt » Fri Feb 24, 2012 4:53 am

4224

Martyn
Site Admin
Site Admin
Posts: 3375
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Is there a possibility to read binary saved scope files?

Post by Martyn » Fri Feb 24, 2012 2:42 pm

I have tried with the software here and if the settings are such that there are only 1000 samples then the text files produced only have 1000 lines in them . Can I therefore ask you which version of Picoscope software you are using and if it would be possible to submit a psdata file so that we can take a look at what is happening
Martyn
Technical Support Manager

pkravt
Newbie
Posts: 0
Joined: Thu Jan 26, 2012 7:54 am

Re: Is there a possibility to read binary saved scope files?

Post by pkravt » Mon Feb 27, 2012 5:18 am

Sure!
The software version is PicoScope6_r6_6_16.exe, so it is probably 6.6.16.
Please find attached two data file examples.
(as I remember they were acquired with 5kpoints in the scope software).
Attachments
data2.psdata
(27.55 KiB) Downloaded 176 times
data1.psdata
(27.89 KiB) Downloaded 165 times

Martyn
Site Admin
Site Admin
Posts: 3375
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Is there a possibility to read binary saved scope files?

Post by Martyn » Mon Feb 27, 2012 1:11 pm

If you right click on the display and select "View Properties" you will see displayed on the right of the screen the properties of the displayed waveform. You will notice that you have No. samples 405 (2430), this indicates that you have "Sin(x)/x Interpolation" on which expands the 405 actual samples to a displayable 2430 which are the values that will be saved when you save the file. You can turn off Interpolation from Tools->Preferences->Sampling if you wish.


When testing your file I also noticed that when loading the psdata file it shows 405 (25920) samples, which is a bug, although this can be rectified by moving back to buffer 31 and forward again to 32.
Martyn
Technical Support Manager

Post Reply