ReadSequencerFlag(string)
- Updated2026-01-12
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| flag | string | 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
| Type | Description |
|---|---|
| System.ArgumentException | The value for flag is invalid. |