CereStim 96 API  RS-0075 Rev 3.00
BSTIMAPI BResult groupStimulus ( UINT8  beginSeq,
UINT8  play,
UINT16  times,
UINT8  number,
BGroupStimulus input 
)

There is a lot of overhead in sending commands over the USB to the CereStim 96. each function call averages 2mS. This function allows the user to create the stimulation parameters beforehand and in a single function call perform simultaneous stimulations based on different electrodes and configured waveforms.

Parameters
[in]beginSeqBoolean expression to tell the function that it is the beginning of a sequence
[in]playBoolean expression to tell if the stimulator should begin stimulating immedieatly after this call
[in]timesThe number of times to play the stimulation, is ignored if play = false
[in]numberThe number of stimulus that will occur simultaneously.
[in]inputPointer to an instantiated BGroupStimulus structure which has a pair of arrays with electrodes and waveforms
Returns
a BResult status, either hardware or software error
See also
BGroupStimulus
Examples:
simpleExample.cpp.