DigitalPatternControl.ReadSequencerRegister Method
- Updated2023-11-24
- 1 minute(s) read
DigitalPatternControlReadSequencerRegister Method
Reads the numeric state of a pattern sequencer register.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public int ReadSequencerRegister( string register )
Public Function ReadSequencerRegister ( register As String ) As Integer
Parameters
- register
- Type: SystemString
Specifies pattern sequencer register to read.
Return Value
Type: Int32Returns the value read from the specified pattern sequence register.
Exceptions
Exception | Condition |
---|---|
IviCDriverException | The NI-Digital Pattern Driver returned an error. |
ArgumentException | The value for register is invalid. |
Remarks
Use pattern sequencer registers to pass numeric values between the pattern sequencer and a run-time test program. For example, you can use this method to read a register modified by the write_reg
opcode during a pattern burst.