DigitalHistoryRam.FetchCycleInformation Method (String, String, Int64, Int64)
- Updated2023-11-24
- 1 minute(s) read
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: DigitalHistoryRamCycleInformationAn array of cycle information specified by DigitalHistoryRamCycleInformation that provides pattern information for the specified History RAM samples.
Exceptions
Exception | Condition |
---|---|
OperationPendingException | The specified operation cannot be performed during a pattern burst. |
ArgumentException |
- or - The position or the number of samples to read exceeded the number of samples available. |
SelectorNameException | The pinSetString contains a pin or pin group name not loaded in the pin map. |
InvalidOperationException | The pinSetString contains a system pin. |
IviCDriverException | The underlying NI-Digital driver returned an error. |
ObjectDisposedException | FetchCycleInformation(String, String, Int64, Int64) was accessed after the associated NIDigital or DigitalDriverUtility object was disposed. |