High performance, gap-free streaming from any Pico Technology oscilloscope.
Note: This is not an official Pico Technology package
This package wraps all current Pico oscilloscope drivers in a high-level, common API written in Rust. This API is compiled to native code and exposed to Node through simple C bindings.
Node.js >= 12 on:
- Windows (32/64bit)
- macOS (64bit)
- Linux (64bit)
;// List the available Pico devices using locally installed Pico SDKsconst devices = await PicoDevice;console;// Open the only connected device using locally installed Pico SDKsconst device = await PicoDevice;// Open a specific device by serial number using locally installed Pico SDKsconst device = PicoDevice;// Open a device by serial number and automatically download missing driversconst device = PicoDevice;// Get device detailsconsole;console;const ranges = device;console;// String case and white space are ignoreddevice;device;device;const samplesPerSecond = await device;console;// Wait here and handle data capture...device;// The device should be closed after use to avoid memory leaksdevice;