Ramping
SetStepType
SetStepType(StepType, )
Sets the step type to either the default ramping algorithm of 0.1 mA increase per second, or enables the setting of a custom ramp-up time.
Note: You must enable this setting before setting a custom ramp time with the SetFixedTimeMs() call.
Params
StepType
integer
required
Value of either 0 or 1
0 = Use the default ramping algorithm of 0.1 mA increase per second
1 = Enables the setting of a custom ramp-up time.
required
Return Value
SetFixedTimeMs
SetFixedTimeMs(Milliseconds, )
Sets a custom fixed ramp-up time. When stimulation is toggled ON, stimulation will ramp-up to the target strength in the duration input in milliseconds.
Params
Milliseconds
integer
required
50 mS – 60 seconds
required
Return Value
SetRampDownMs
SetRampDownMs(Milliseconds, )
Sets a custom fixed ramp-down time. When stimulation is toggled OFF, stimulation will ramp-down to 0 mA in the duration input in milliseconds.
Params
Milliseconds
integer
required
50 mS – 3 seconds
required
Return Value