NI-SCOPE .NET Class Library Help

Table of Contents

ScopeChannel.DigitalOffset Property

  • Updated2023-09-06
  • 1 minute(s) read
ScopeChannel.DigitalOffset Property

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: Double
The 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:
-(Vertical Range/2) <= Channel Data + Digital Offset <= +Vertical Range/2.
If an overflow occurs, the data is clipped and the driver returns an error.

To change the default error reporting caused by OSP overflows, change the OverflowErrorReportingMode property.

Note Note
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.

See Also

Log in to get a better experience