CreateGroup Method (DioFile)

Applies To

All

Purpose

Creates and returns reference to a DioGroup object.

Syntax

[obDioGroup = ] Object.CreateBlock ([vFirstChannel], [vLastChannel])

 

The Block method syntax has the following parts:

Name

Type

Description

Object

DioFile

DioFile object

vFirstChannel

Val Variant

Optional - Starting channel in the group specified by either the channel number or the step name.

vLastChannel

Val Variant

Optional - Last channel in the group specified by either the channel number or the step name.

obDioGroup

DioGroup

Reference to DioGroup object.

Comments

When calling the method with no parameters, all channels of all the boards currently in the File object will be in the DioGroup object.

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

 

See Also

DefaultGroup, DefaultBlock, CreateBlock