FillClock Method (DioBlock)

Applies To

All

Purpose

Fill the specified number of steps and channels with a clock pattern.

Syntax

Object.FillClock ([bStartValue], [dwCycleWidth], [dwInvertStep], [vFirstStep], [dwSteps], [vFirstChannel], [vLastChannel])

The FillClock method syntax has the following parts:

Name
Type
Description
Object
DioBlock
DioBlock object
bStartValue
BOOL
Optional - First step level can be either zero or one. Default is 0.
dwCycleWidth
DWORD
Optional - Cycle Width (in Steps) is the number of steps to complete a clock cycle (must be greater than the Invert after Step entry). Default is 2.
dwInvertStep
DWORD
Optional - Each clock cycle is inverted after a specified number of steps. The Invert after Step. Default is 1.
vFirstStep
Variant
Optional - Starting step number in the block. Step number specified by either the step label or the step number. Default is the first step.
dwSteps
DWORD
Optional - Number of steps. Default is all steps
vFirstChannel
Variant
Optional - First channel number in the block. Channel number specified by either channel label or the channel number. Default is the first channel.
vLastChannel
Variant
Optional - Last channel number in the block. Channel number specified by either channel label or the channel number. Default is the last channel.

 

See Also

FileFirstStep