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

NameTypeDescription
flagstring

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>".

valuebool

The state to assign to the specified pattern sequencer flag.

Exceptions

TypeDescription
System.ArgumentException

The value for flag  is invalid.