#include <TecellaAmp.h>
Data Fields | |
TECELLA_STIMULUS_SEGMENT_TYPE | type |
double | value |
double | value_delta |
double | duration |
double | duration_delta |
int | ramp_steps |
int | digital_out |
int | slew |
A mask for the digital out bits associated with this stimulus.
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.
Select which slew to use right before this segment is applied.
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, each ramp step is this big (check hw props for limits).