Table of Contents

Method ReadSequencerFlagDistinct

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital
Assembly
NationalInstruments.SemiconductorTestLibrary.Extensions.dll

ReadSequencerFlagDistinct(DigitalSessionsBundle, string)

Reads the Boolean state of a pattern sequencer flag.

public static bool ReadSequencerFlagDistinct(this DigitalSessionsBundle sessionsBundle, string flag)

Parameters

sessionsBundle DigitalSessionsBundle

The DigitalSessionsBundle object.

flag string

The name of the pattern sequencer flag to read. Possible values include "seqflag0", "seqflag1", "seqflag2", or "seqflag3".

Returns

bool

An array of the states for the specified pattern sequencer flag, one state value per session.

Remarks

This method is the same as ReadSequencerFlag(DigitalSessionsBundle, string), except it also checks to confirm if the flag state is the same across all sessions in the bundle. If the states are the same, it will return the single boolean state value. Otherwise, it will throw an exception.

Exceptions

NISemiconductorTestException

The state of the sequence flag is not the same between instrument sessions.