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] | beginSeq | Boolean expression to tell the function that it is the beginning of a sequence |
[in] | play | Boolean expression to tell if the stimulator should begin stimulating immedieatly after this call |
[in] | times | The number of times to play the stimulation, is ignored if play = false |
[in] | number | The number of stimulus that will occur simultaneously. |
[in] | input | Pointer 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.