Getting started with a power supply

From sigrok
Revision as of 03:11, 20 January 2019 by Knarfs (talk | contribs) (Change SmuView link to wiki page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For power supply configuration, use Sigrok-cli or SmuView.

Sigrok-cli Examples

Scan for device (while e.g. a Korad KA3005P is attached):

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --scan

Show device options (while e.g. a Korad KA3005P is attached):

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --show

Set output voltage (while e.g. a Korad KA3005P is attached):

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --config "voltage_target=3.3" --set

Enable output (while e.g. a Korad KA3005P is attached):

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --config "enabled=on"  --set

Get continuous readings for device (while e.g. a Korad KA3005P is attached):

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --continuous

Write readings to a file until you press CTRL-C (while e.g. a Korad KA3005P is attached):

(Note: you can open up another terminal and use "tail -f readings.log" to watch the readings as they come in)

  sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --continuous -o readings.log -O csv