Test and Measurement Forum

Getting data aquisition time of the psdata file

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

Getting data aquisition time of the psdata file

Postby alfrei » Fri Mar 31, 2017 8:08 am

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
alfrei
Newbie
 
Posts: 0
Joined: Fri Mar 31, 2017 6:51 am

Re: Getting data aquisition time of the psdata file

Postby Martyn » Mon Apr 03, 2017 1:09 pm

Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2746
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 0 guests