TriggerRunPattern Method
Runs a repeating pattern of digital pulses.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void RunPattern(
int onPeriod,
int offPeriod,
int cycles,
int loopCycles = 1,
int loopDelayPeriod = 0
)
Public Sub RunPattern (
onPeriod As Integer,
offPeriod As Integer,
cycles As Integer,
Optional loopCycles As Integer = 1,
Optional loopDelayPeriod As Integer = 0
)
member RunPattern :
onPeriod : int *
offPeriod : int *
cycles : int *
?loopCycles : int *
?loopDelayPeriod : int
(* Defaults:
let _loopCycles = defaultArg loopCycles 1
let _loopDelayPeriod = defaultArg loopDelayPeriod 0
*)
-> unit
Parameters
- onPeriod Int32
- On for specified milliseconds.
- offPeriod Int32
- Off for specified milliseconds.
- cycles Int32
- Repeat the pulse/off cycle for specified number of times.
- loopCycles Int32 (Optional)
- The number of times to loop (repeat) the pulse/off/cycle. 0=indefinite.
- loopDelayPeriod Int32 (Optional)
- Interval between loops in millisecionds.