Getting started with a power supply

From sigrok
Jump to: navigation, 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