tecella_stimulus_segment Struct Reference

#include <TecellaAmp.h>


Data Fields

TECELLA_STIMULUS_SEGMENT_TYPE type
double value
double value_delta
double duration
double duration_delta
int ramp_steps


Detailed Description

tecella_stimulus_segment Create an array of these and pass it to tecella_vcmd_set().

Field Documentation

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.


The documentation for this struct was generated from the following file:

Generated on Thu Jul 15 10:24:42 2010 for Tecella Amp by  doxygen 1.5.8