Post Go back to editing

Get Time Duration in Chronoamperometry Measurements

Hello,

In Chronoamperometry measurement results, I want to see time values in output table. How can I do that? Currently, the output looks like that,

My MethodScript Code is

char const * Chrono_Amp = "e\n"

"var p\n"

"var c\n"

"set_pgstat_mode 2\n"

"cell_on\n"

// A DC potential of 100 mV (EdcChro) is applied. The current is measured every 100 ms (tintervalChro) for

// a total of 2 seconds (trunChro). This results in a total of 20 data points at a rate of 10 points per second.

"meas_loop_ca p c 100m 100m 2\n"

"pck_start\n"

"pck_add p\n"

"pck_add c\n"

"pck_end\n"

"endloop\n"

"on_finished:\n"

"cell_off\n"

"\n";

Parents
  • Hi AE104,

    You can either calculate the time and send it like so:

    var t
    store_var t 0 eb
    meas_loop_ca p c 100m 100m 2100m
        pck_start
        pck_add t
        pck_add c
        pck_end
        add_var t 100m
    endloop

    Or you can request the time like so:

    var t
    timer_start
    meas_loop_ca p c 100m 100m 2100m
        timer_get t
        pck_start
        pck_add t
        pck_add c
        pck_end
    endloop

    Kind regards,
    Hielke

Reply
  • Hi AE104,

    You can either calculate the time and send it like so:

    var t
    store_var t 0 eb
    meas_loop_ca p c 100m 100m 2100m
        pck_start
        pck_add t
        pck_add c
        pck_end
        add_var t 100m
    endloop

    Or you can request the time like so:

    var t
    timer_start
    meas_loop_ca p c 100m 100m 2100m
        timer_get t
        pck_start
        pck_add t
        pck_add c
        pck_end
    endloop

    Kind regards,
    Hielke

Children
No Data