Difference between revisions of "Getting started with a power supply"

From sigrok
Jump to navigation Jump to search
(Initial version)
 
(Change SmuView link to wiki page)
 
Line 1: Line 1:
For power supply configuration, use [[Sigrok-cli]] or [https://github.com/knarfS/smuview smuview].
For power supply configuration, use [[Sigrok-cli]] or [[SmuView]].


== Sigrok-cli Examples ==
== Sigrok-cli Examples ==

Latest revision as of 04:11, 20 January 2019

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