#include <TecellaAmp.h>
Data Fields | |
TECELLA_STIMULUS_SEGMENT_TYPE | type |
double | value |
double | value_delta |
double | duration |
double | duration_delta |
int | ramp_steps |
Duration of segment in seconds. Note: Total duration for a TECELLA_STIMULUS_SEGMENT_RAMP segment is duration*ramp_steps.
Increment duration by this delta after each iteration of the vcmd. Valid only if type is TECELLA_STIMULUS_SEGMENT_DELTA.
The number of 1mV steps to take. Number of ramp steps is limited to 256. To specify up vs down, see value_delta. Valid only if type is TECELLA_STIMULUS_SEGMENT_RAMP.
Type of segment.
Amplitude of segment in Volts (if vcmd) or Amps (if icmd).
If type is TECELLA_STIMULUS_SEGMENT_DELTA, increment value by this delta after each iteration of the vcmd. If type is TECELLA_STIMULUS_SEGMENT_RAMP, a negative value indicates a down ramp and a positive value indicates an up ramp.