Energy monitor commands 1.19 KB
Newer Older
James Pallister's avatar
James Pallister committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
Energy monitor commands
=======================

Trigger
    Start
    Stop
    On Pin

Mode
    Dual ADC
        One current, one voltage
    Oversampled
        Interleaved?
        Constant number of samples averaged
        or dynamic?
            PID controller for number of samples averaged
            trapezium interpolation

Resolution
    6-12 bit

Retrigger
    Pin

LEDs


Host Features
=============

Commands
    connect [SERIAL]
        choose the device, list serial numbers if multiple devs
    power
        output power avg per second
        until kbhit
    start
    stop
        stop measurement
        display
            energy
            time
            sample/s
            avg power
            peak power
    ontrigger PIN
    mode MODE
        dual
        oversampled
        normal
    resolution RES
        6, 8, 10, 12
    retrigger PIN
        assert 1 on this pin while capturing
    graph
        launch python graph on streaming results
    output FILENAME
        save output to FILENAME
    setserial SERID
        set the serial ID
61 62
    setresistor
        set the value of the shunt resistor, in ohms
James Pallister's avatar
James Pallister committed
63 64 65 66 67

commands seperated by ;

Cmdline
    specify commands on the command line