Capture date and time in .mat files

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
crivellid
Newbie
Posts: 0
Joined: Mon Jun 19, 2017 10:19 am

Capture date and time in .mat files

Post by crivellid »

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!

Hitesh

Re: Capture date and time in .mat files

Post by Hitesh »

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,

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

Re: Capture date and time in .mat files

Post by crivellid »

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

Hitesh

Re: Capture date and time in .mat files

Post by Hitesh »

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,

Post Reply