Test and Measurement Forum

Capture date and time in .mat files

Forum for discussing PicoScope version 6 (non-automotive version)

Capture date and time in .mat files

Postby crivellid » Mon Jun 19, 2017 10:23 am

Hi all,
we have an application where we use the "alarm" function to automatically export triggered waveforms in .mat format. However the .mat files don't retain the capture date/time information which is quite key to what we're doing. Unfortunately the file creation time is not a reliable source for this information in our application.

Would anyone point us in the right direction for either

- reading everything from a .psdata file with Matlab
- properly storing capture date/time in .mat file

Thanks!
crivellid
Newbie
 
Posts: 0
Joined: Mon Jun 19, 2017 10:19 am

Re: Capture date and time in .mat files

Postby Hitesh » Tue Jun 20, 2017 8:12 am

Hi crivellid,

Unfortunately, it is not possible to read from a .psdata file as it is a proprietary file format.

I have added your query to an existing feature request to store the capture date and time to the mat file.

Which PicoScope device are you using and have you considered using our Instrument Drivers to control the device directly from within MATLAB?

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2386
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Capture date and time in .mat files

Postby crivellid » Tue Jun 20, 2017 8:15 am

Using a 5000 series, was thinking about using the drivers but as it's a summer student project it might be a bit out of scope ( :mrgreen: ) for them to write software
crivellid
Newbie
 
Posts: 0
Joined: Mon Jun 19, 2017 10:19 am

Re: Capture date and time in .mat files

Postby Hitesh » Tue Jun 27, 2017 9:56 am

Hi crivellid,

Depending on what you are looking to do, it should be possible to update one of the example scripts to collect data from the PicoScope and save to a .mat file.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2386
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests