Automated measuring and saving

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
Posts: 0
Joined: Mon May 12, 2014 12:08 pm

Automated measuring and saving

Post by LSchnorr » Mon May 12, 2014 12:38 pm

My group owns a PicoScope 5244B and currently we're doing the following in PicoScope 6:
Apply a periodic signal via AWG and take let's say 50 measurements of Channel A and B triggered on the EXT input and export the average of both channels as .csv.
This works fine, but since we have to do this quite often we would like the software to do this automatically, like once every 10 seconds. During this cycles nothing needs to be changed, we only do this to observe temperature dependences.
Using the macro recorder we could automate everything by generating a large .psmacro file with the times set to the needed values and different savefiles for each cycle, but our problem is that the software exports every trace, and not just the averaged traces we're interested in, since the option in the save-dialogue whether to export all waveforms or just the current one is omitted by the macro recorder.
Isn't there a smarter solution to our problem, maybe even something less ugly concerning the periodic saving than using a huge .psmacro file? It would be perfect to have the program just do the same every 10 seconds and save the average of both channels in .csv files with an increasing number, just like it does when operated manually.
Thanks in advance for your help

Site Admin
Site Admin
Posts: 3468
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Automated measuring and saving

Post by Martyn » Tue May 13, 2014 7:34 am

You could use the automation interface. Run up an instance of Picoscope 6 and then from a command prompt type

Code: Select all /a ?
to list all available commands.

If you create a batch file you will be able to add timing to the commands, although not every feature in Picsoscope 6 is available, so you may need to use pre defined settings files to start the maths channel averaging.
Technical Support Manager

Post Reply