InsertSteps Method (DioFile)

Applies To

All

Purpose

Insert the specified number of steps to all the boards currently in the DIO file.

Syntax

Object.InsertSteps (enDioStep, vFirstStep, dwSteps)

 

The InsertSteps Method syntax has the following parts:

Name

Type

Description

Object

DioFile

DioFile object

enDioStep

enumDioStep

Integer specifying the operation.

vFirstStep

Val Variant

Start step in the file specified by either the step number or the step name.

dwSteps

DWORD

Number of steps to delete.

Where

enumDioStep can be one of the following:

Name

Value

Description

dioStepData

0

Deletes selected vector data. Remaining data is moved down the number of steps deleted. Zeros replace data at the high end. Commands and labels remain at the same step. Only data is deleted.

dioStepCommand

1

Deletes selected command steps. Remaining commands are moved down the number of commands deleted. Steps at the end are replaced by NO OPS. Jump references to and from deleted steps are voided.

dioStepDataAndCommand

2

Deletes both data and commands at the selected step(s) and channel(s).

 

See Also

DeleteSteps, Open, Steps