NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalPatternControl.ReadSequencerRegister Method

  • Updated2023-11-24
  • 1 minute(s) read
DigitalPatternControl.ReadSequencerRegister Method

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: Int32
Returns the value read from the specified pattern sequence register.

Exceptions

ExceptionCondition
IviCDriverExceptionThe NI-Digital Pattern Driver returned an error.
ArgumentExceptionThe 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.

See Also

Log in to get a better experience