pico-device
PicoDevice
implementation for Pico Technology oscilloscope drivers.
This is a sub crate that you probably don't want to use directly. Try the top level
pico-sdk
crate which exposes everything from here.
When a PicoDevice
is created, it is opened, its channels and capabilities are
automatically detected and then it is closed.
Example
use Driver;
use LoadDriverExt;
use PicoDevice;
// Load the required driver
let driver = PS2000.try_load?;
// Try and open the first available ps2000 device
let device1 = try_open?;
// Try and open devices by serial
let device2 = try_open?;
let device3 = try_open?;
License: MIT