Getting data aquisition time of the psdata file

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 data aquisition time of the psdata file

Post by alfrei »

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

The comand 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 data aquisition time of the psdata file

Post by Martyn »

Martyn
Technical Support Manager

Post Reply