[Python] Rise time help

Post general discussions on using our drivers to write your own software here
Post Reply
Aldrema
Newbie
Posts: 0
Joined: Tue Jun 24, 2014 12:46 pm

[Python] Rise time help

Post by Aldrema »

Hi,

First, thanks for all the support i found in this forum for python programming.
Thanks to that, i can control the picoscope i'm using (3406B) and get data from the channels.

But, this is only the first part of my application. Now, i would like to get from the data the rise time of the signal. But the API only provides functions in order to control the picoscope and get datas from it.

At the end, i would like to be able to use functions to get some mesures on my signal like you can do with your own application (PicoScope6), but "automatically" in order to test the signal with different scripts for differents conditions.

As for now, i'm stuck on this, and i can't go on until i'm able to get the rise time of a signal.

(At this level, i'm coding in Python, but it's more an algorithm problem than a language one)

Karunen
Advanced User
Advanced User
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am

Re: [Python] Rise time help

Post by Karunen »

Hi Aldrema,

Measurements can be exported via the command line interface.

With Picoscope6 running, and displaying a measurement, open a command prompt window and then type

Code: Select all

picoscope.com /a Measurements.CSV?
it will push a comma separated measurement list to the console. This could be piped to a file or read by an external application.

We provide an API to allow customer's ease of access for retrieving the raw data but post processing will be up to each individual user.

If you are looking for an algorithm then you may want to take a look at the link below.

https://gist.github.com/mgmarino/1301524

Please note Pico Technology is not responsible for the content of third party sites.

Kind Regards,
Karunen

Technical Specialist
Pico Technology

Post Reply