using Picoscope macro

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
sherzaad
Newbie
Posts: 0
Joined: Tue Jun 06, 2017 3:43 pm

using Picoscope macro

Post by sherzaad »

Hi,

I recorded a macro in picoscope to: stop capturing and save the waveforms (.psdata).

However the problem I have with it is that if I then run the macro again it overwrites the previously saved file.

Is there a way to generate a macro that gets round that problem?

Sherzaad

Hitesh

Re: using Picoscope macro

Post by Hitesh »

Hi Sherzaad,

If you use the Alarms feature in the PicoScope 6 software, you can specify an action to save to file.

The User's Guide states 'You can use the %buffer% variable to insert the buffer index number into the file name, or the %time% variable to insert the time of capture.' so you could try setting the filename to something like my_test_%time%.psdata and this should result in files with different timestamps.

Hope this helps,

sherzaad
Newbie
Posts: 0
Joined: Tue Jun 06, 2017 3:43 pm

Re: using Picoscope macro

Post by sherzaad »

Hi Hitesh,

Thank you for yor reply.

I have tried to save the trace as my_test_%time%.psdata as suggested but the timestamp was not inserted and instead the file just save as my_test_%time%.psdata. Same thing happened when I tried %buffer%.

Please advise.

Sherzaad

Hitesh

Re: using Picoscope macro

Post by Hitesh »

Hi Sherzaad,

Did you set this in the Alarms dialog?

Can you post a screenshot of where this was set and perhaps post a data or settings file so we can see your settings?

Regards,

Post Reply