Getting the displayed aquisition time of Picoscope 6

Post general discussions on using our drivers to write your own software here
Post Reply
alfrei
Newbie
Posts: 0
Joined: Fri Mar 31, 2017 6:51 am

Getting the displayed aquisition time of Picoscope 6

Post by alfrei »

Hello together
I use python for data analyses. The conversion of the measured files is psata -> mat.

The command line version for converting psdata files into matlab format, looks like shown below
p = subprocess.Popen(['picoscope', '/c', path_file_dest, '/f', 'mat', '/q /b 1'], stdout=subprocess.PIPE)

The information which I also need is the displayed aquisition time from the picoscope software. This time differs from the time of the file date shown from the operating system.

The command "sci.io.whosmat(MATFILE)" shows as result e.g.
[('Tstart', (1, 1), 'double'), ('Tinterval', (1, 1), 'double'), ('ExtraSamples', (1, 1), 'double'), ('RequestedLength', (1, 1), 'double'), ('Length', (1, 1), 'double'), ('A', (21736714, 1), 'double'), ('B', (21736714, 1), 'double'), ('Version', (11,), 'char')]

The 'Tstart' doesn't have any value.

Are there any possibilities for getting this information?

Regards
Alfons

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

Re: Getting the displayed aquisition time of Picoscope 6

Post by Martyn »

The times displayed in the View->Properties panel for waveform captures is only available within the psdata file format, it is not exportable in any of the other formats, all there is a feature request to add this functionality.
Martyn
Technical Support Manager

Post Reply