LibOwonPds
Userspace driver for Owon PDS oscilloscopes
LibOwonPds Documentation

Copyright 2015 Al Brown

al [at] eartoearoak.com

A userspace driver for Owon PDS oscilloscopes.

Tested with a PDS5022S, but should work with variants.

More details can be found here.

Tested on:

Building

Requirements

Build & Install

``` mkdir build cd build cmake .. make sudo make install ```

Usage

Utility

owonpds [filename]

Print information about the scope data and optionally save it to a CSV or PNG file depending on the scope mode.

Python

An Python test script 'owon_scope.py' is included in the 'src/' directory to display vector data from the scope

C Library

``` void main(void){ OWON_SCOPE_T scope; owon_open(&scope, 0); // Success if zero owon_read(&scope); // Success if zero /* scope structure now holds captured data

Python Wrapper

``` import libowonscope

def main: scopeObj = libowonpds.OwonPds() scopeObj.open() # Success if zero scopeObj.read() # Success if zero data = scopeObj.get_scope()

data holds the captured data

owon_read() again or

scopeObj.close() ```

Documentation

Known Limitations

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.