WriteSequencerFlag(string, bool)
- Updated2026-01-12
- 1 minute(s) read
Writes a System.Boolean value to a pattern sequencer flag.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public void WriteSequencerFlag(string flag, bool value)
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 which you would like to write the specified value. Possible values include "<tt>seqflag0</tt>", "<tt>seqflag1</tt>", "<tt>seqflag2</tt>", or "<tt>seqflag3</tt>". |
| value | bool | The state to assign to the specified pattern sequencer flag. |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentException | The value for flag is invalid. |