ScopeChannel.DigitalOffset Property
- Updated2023-09-06
- 1 minute(s) read
ScopeChannelDigitalOffset Property
Gets or sets the offset on the specified channel in hardware before any onboard signal processing occurs.
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public double DigitalOffset { get; set; }
Public Property DigitalOffset As Double Get Set
Property Value
Type: DoubleThe valid values range from –(Vertical Range × 0.4) to +(Vertical Range × 0.4). The default value is 0.
Remarks
The digital offset circuit can overflow if the following condition is not met:
If an overflow occurs, the data is clipped and the driver returns an error.
-(Vertical Range/2) <= Channel Data + Digital Offset <= +Vertical Range/2.
To change the default error reporting caused by OSP overflows, change the OverflowErrorReportingMode property.
![]() |
---|
You can access this property only with high-speed digitizers that support onboard signal processing (OSP), such as the NI PXI-5142. If you open a session with an instrument that does not support OSP and you attempt to access this property, a ModularInstrumentsException is thrown. |