Test and Measurement Forum

Binary traces formats such as np/npz(numpy), hdf5 or parquet

Post general discussions on using our drivers to write your own software here

Binary traces formats such as np/npz(numpy), hdf5 or parquet

Postby sebma » Wed Jul 05, 2017 3:10 pm

Hi,

I need our picoscope to dump it's data to a binary format such as np/npz(numpy) https://docs.scipy.org/doc/numpy/neps/npy-format.html, hdf5 https://support.hdfgroup.org/HDF5/whatishdf5.html or parquet http://parquet.apache.org/, is it possible ?

And if it is possible, how can I do that in Python ?
sebma
Newbie
 
Posts: 0
Joined: Wed Jul 05, 2017 2:50 pm

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Postby Martyn » Thu Jul 06, 2017 6:11 am

If you control the scope directly with Python, then you can read the ADC counts from it and then write this data in any format you wish. You are in control :)
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2673
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Postby sebma » Thu Jul 06, 2017 4:26 pm

Hi,

I don't know how to "control the scope directly with Python" and "read the ADC counts" (yet :-) )

Is there a Python module or library to do this ?
sebma
Newbie
 
Posts: 0
Joined: Wed Jul 05, 2017 2:50 pm

Re: Binary traces formats such as np/npz(numpy), hdf5 or par

Postby Martyn » Mon Jul 17, 2017 7:02 am

You can export the data from the PicoScope 6 application in the .mat binary format.

Python is not one of our officially supported languages although there is some code available. I suggest you email support@picotech.com to discuss the options available to best match your needs.
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2673
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 1 guest