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).
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.
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.
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
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).
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.