Reads the System.Boolean state of a pattern sequencer flag.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public bool ReadSequencerFlag(string flag)

Remarks

Use pattern sequencer flags to coordinate execution between the pattern sequencer and a run-time test program.

Parameters

NameTypeDescription
flagstring

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

Returns

The state of the specified pattern sequencer flag.

Exceptions

TypeDescription
System.ArgumentException

The value for flag  is invalid.