FillToggle Method (DioBlock)

Applies To

All

Purpose

Fill the specified channels and steps with a square wave.

Syntax

Object.FillToggle ([bFirstValue], [dwToggleStep], [vFirstStep], [dwSteps], [vFirstChannel], [vLastChannel])

 

The FillToggle method syntax has the following parts:

Name
Type
Description
Object
DioBlock
DioBlock object
bFirstValue
BOOL
Optional - The first step level can be: Zero or One. Default is One.
dwToggleStep
DWORD
Optional - Toggle interval can be any number. Default is 2 steps.
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