frequency logging with Picoscope 2203 under Linux

Post your Linux discussions here
Post Reply
pnavarra
Newbie
Posts: 0
Joined: Sun Mar 01, 2009 4:59 pm

frequency logging with Picoscope 2203 under Linux

Post by pnavarra »

I successfully installed linux driver - under Fedora 11 -
for my Picoscope 2203

The scope is perfectly recognized and the demo PS2000con
works fine.
Now I would like to carry out
frequency logging for long time on both channels of the scope ...
A sort of "Picolog for Linux" should need, isn't it ?

To install WINE could be a workaround but is there any
"native" solution for Linux ?

Thanhs in advance for any further suggestion.

Pietro Navarra

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Re: frequency logging with Picoscope 2203 under Linux

Post by ziko »

Hi you would have to write your own routine that would measure frequency, this can be done by looking at the zero crossing points.
Ziko

Technical Specialist

RockDoctor
Newbie
Posts: 0
Joined: Tue Sep 20, 2011 1:37 pm

Re: frequency logging with Picoscope 2203 under Linux

Post by RockDoctor »

Well, that is *exactly* the problem that I'm looking for a solution to. Though I haven't yet decided whether or not to buy a PicoXXXXX to do it.

Did it succeed?
Does data logging work? (I'm investigating, allegedly, mains power frequency drop outs, on a site where I'm doing a 24x7 day job. Inevitably the interesting things will happen when I'm asleep.)
--
It's a signature, dammit!

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

Re: frequency logging with Picoscope 2203 under Linux

Post by Martyn »

Sample code is available in the Linux driver install for the PS2000 series of scopes which can be used to develop an application to set up a device and log data.

This can be downloaded from our website at http://www.picotech.com/software.html

As my colleague has mentioned the addition of some code to detect zero crossings in this data would then permit you to measure the frequency of the signal. It isn't even necessary to look for zero crossings as you can just look for increases or decreases in the voltage for a number of samples in a row, to filter away noise, and then count half or full waves relative to time.
Martyn
Technical Support Manager

Post Reply