Method ReadSequencerRegisterDistinct
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
ReadSequencerRegisterDistinct(DigitalSessionsBundle, string)
Reads the numeric state of a pattern sequencer flag.
public static int ReadSequencerRegisterDistinct(this DigitalSessionsBundle sessionsBundle, string registerName)Parameters
sessionsBundleDigitalSessionsBundle-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle object.
registerNamestring-
Specifies pattern sequencer register to read. Possible values include "reg0" through "reg15".
Returns
- int
-
An single int value for the specified pattern sequencer register.
Remarks
This method is the same as NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.SequencerFlagsAndRegisters.ReadSequencerRegister(NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle,System.String), except it also checks to confirm if the register values are the same across all sessions in the bundle. If the states are indeed the same, it will return the single integer value. Otherwise, it will throw an exception.
Exceptions
- NISemiconductorTestException
-
The state of the sequence register is not the same between instrument sessions.