NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalHistoryRam.FetchCycleInformation Method (String, String, Int64, Int64)

  • Updated2023-11-24
  • 1 minute(s) read
DigitalHistoryRam.FetchCycleInformation Method (String, String, Int64, Int64)

DigitalHistoryRamFetchCycleInformation Method (String, String, Int64, Int64)

Fetches the pattern information acquired for the specified History RAM samples.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public DigitalHistoryRamCycleInformation[] FetchCycleInformation(
	string site,
	string pinSetString,
	long position,
	long samplesToRead
)
Public Function FetchCycleInformation ( 
	site As String,
	pinSetString As String,
	position As Long,
	samplesToRead As Long
) As DigitalHistoryRamCycleInformation()

Parameters

site
Type: SystemString
The site to query.
pinSetString
Type: SystemString
The set of pins or channels for which to fetch pattern information.
position
Type: SystemInt64
The position from which to start fetching pattern information.
samplesToRead
Type: SystemInt64
The number of samples to read. Use -1 to fetch all samples.

Return Value

Type: DigitalHistoryRamCycleInformation
An array of cycle information specified by DigitalHistoryRamCycleInformation that provides pattern information for the specified History RAM samples.

Exceptions

ExceptionCondition
OperationPendingExceptionThe specified operation cannot be performed during a pattern burst.
ArgumentException
  1. The value for site is invalid.
  2. The value for position is invalid.
  3. The value for samplesToRead is invalid.

- or -

The position or the number of samples to read exceeded the number of samples available.
SelectorNameExceptionThe pinSetString contains a pin or pin group name not loaded in the pin map.
InvalidOperationExceptionThe pinSetString contains a system pin.
IviCDriverExceptionThe underlying NI-Digital driver returned an error.
ObjectDisposedExceptionFetchCycleInformation(String, String, Int64, Int64) was accessed after the associated NIDigital or DigitalDriverUtility object was disposed.

See Also

Log in to get a better experience