Test and Measurement Forum

frequency logging with Picoscope 2203 under Linux

Post your Linux discussions here

frequency logging with Picoscope 2203 under Linux

Postby pnavarra » Wed Sep 15, 2010 8:47 pm

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
pnavarra
Newbie
 
Posts: 0
Joined: Sun Mar 01, 2009 4:59 pm

Re: frequency logging with Picoscope 2203 under Linux

Postby ziko » Wed Sep 22, 2010 1:15 pm

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
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Re: frequency logging with Picoscope 2203 under Linux

Postby RockDoctor » Tue Sep 20, 2011 1:44 pm

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!
RockDoctor
Newbie
 
Posts: 0
Joined: Tue Sep 20, 2011 1:37 pm

Re: frequency logging with Picoscope 2203 under Linux

Postby Martyn » Tue Sep 27, 2011 8:32 am

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 Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests