![]() |
CereStim 96 API
RS-0075 Rev 3.00
|
BSTIMAPI BResult configureStimulusPattern | ( | BConfig | configID, |
BWFType | afcf, | ||
UINT8 | pulses, | ||
UINT16 | amp1, | ||
UINT16 | amp2, | ||
UINT16 | width1, | ||
UINT16 | width2, | ||
UINT32 | frequency, | ||
UINT16 | interphase | ||
) |
Takes all of the parameters needed in order to create a custom biphasic stimulation waveform. The device is capable of handling 16 differnt waveforms, but waveform 0 is reserved and used for testing in getting measurements from electrodes and current modules. Micro and Macro stimulators have different ranges of valid values. Especially for the amplitude where micro stimulators are in the uA range with uA precision, Macro stimulators go from 100 uA to 10 mA with 100 uA precision. While the widths and interphases have quite a range, the user needs to somewhat understand how they interact with the frequency chosen. You dont want a stimulus waveform that is longer than the time between repeats.
[in] | configID | The stimulation waveform that is being configured 1 - 15 |
[in] | afcf | What polarity should the first phase be, Anodic or Cathodic first |
[in] | pulses | The number of stimulation pulses in waveform from 1 - 255 |
[in] | amp1 | The amplitude of the first phase, for Micro it is 1 - 215 uA, and for Macro it is 100 uA - 10 mA |
[in] | amp2 | The amplitude of the first phase, for Micro it is 1 - 215 uA, and for Macro it is 100 uA - 10 mA |
[in] | width1 | The width of the first phase in the stimulation 1 - 65,535 uS |
[in] | width2 | The width of the second phase in the stimulation 1 - 65,535 uS |
[in] | frequency | The stimulating frequency at which the biphasic pulses should repeat 4 - 5000 Hz |
[in] | interphase | The period of time between the first and second phases 53 - 65,535 uS |