CreateBlock Method (DioFile)

Applies To

All

Purpose

Creates and returns reference to a DioBlock object.

Syntax

[obDioBlock = ] Object.CreateBlock (vFileStep, dwSteps, [obGroup])

 

The Block method syntax has the following parts:

Name

Type

Description

Object

DioFile

DioFile object

vFileStep

Val Variant

Starting step number specified by either the step label or the step number in the file.

dwSteps

DWORD

Number of steps.

obGroup

DioGroup

Optional parameter specifying the number of channels in the new block, can be as follow:

        Using a predefined group - DioGroup.

        Default (no parameters passed)– The created block will have as many channels as the file has..

obDioBlock

DioBlock

Reference to DioBlock object.

Comments

See the DioBlock object for details on the objects' methods and properties.

 

See Also

DefaultBlock, DefaultGroup