SetDurationCommand Object


Description:

Sets duration specifications for all specified generators in GeneratorList.

Can be used with Command Sequencer: Yes

GUI Command Name: Basic: Set Traffic Duration

Parents: Sequencer, StcSystem

SetDurationCommand Writable Attributes

Attribute Description
Common Writable Attributes ProgressCancelled
DurationBursts

Transmission length in number of frames.

Type: u32

Default: 1000

Range: 1 - 16777215

DurationMode

Duration mode for each transmitted stream. Whether to measure test duration in seconds or number of frames.

Type: enum

Default: SECONDS

Possible Values:

Value Description
CONTINUOUS

Sets duration mode to run continuous.

BURSTS

Sets duration mode to number of frames per transmission burst.

SECONDS

Sets duration mode to number of seconds.

TABLE_REPETITIONS

Sets duration mode to number of table repetitions.

STEP

Sets duration mode to number of steps.

DurationRepetitions

Sepcifies duration in number of repetitions.

Type: u32

Default: 30

Range: 0 - 16777215

DurationSeconds

Transmission time in seconds.

Type: double

Default: 10

Range: 0.000064 - 4398046.0

DurationStep

Transmission length in number of steps.

Type: u16

Default: 1

Range: 0 - 65535

GeneratorList

List of generators to set the specified duration on.

Type: handle

Default: 0

SetDurationCommand Read-Only Attributes

Read-Only Attribute Description
Common Read-Only Attributes ElapsedTime, EndTime, ProgressCurrentStep, ProgressCurrentStepName, ProgressCurrentValue, ProgressDisplayCounter, ProgressMaxValue, ProgressStepsCount, StartTime, State, Status
TestStatus

Specifies the status of the test.

Type: string

Default: "" (empty string)