DigitalHistoryRam.MaximumSamplesToAcquirePerSite Property
- Updated2023-11-24
- 1 minute(s) read
DigitalHistoryRamMaximumSamplesToAcquirePerSite Property
Gets or sets the maximum number of History RAM samples to acquire per site. If the property is set to -1, it will acquire until the History RAM buffer is full.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public int MaximumSamplesToAcquirePerSite { get; set; }
Public Property MaximumSamplesToAcquirePerSite As Integer Get Set
Property Value
Type: Int32The maximum History RAM samples to acquire per site. The default value is 0.
Exceptions
Exception | Condition |
---|---|
OutOfRangeException | The value for MaximumSamplesToAcquirePerSite is invalid. |
IviCDriverException | The underlying NI-Digital driver returned an error. |
ObjectDisposedException | MaximumSamplesToAcquirePerSite was accessed after the associated NIDigital or DigitalDriverUtility object was disposed. |
Remarks
The digital pattern instrument will return up to the maximum number of History RAM samples per site after the triggering conditions are met.
For more information about the maximum number of History RAM samples across all configured sites, refer to
History RAM in the Digital Pattern Help.