NI-SCOPE .NET Class Library Help

Table of Contents

ScopeChannelMeasurement Class

  • Updated2023-09-06
  • 11 minute(s) read
ScopeChannelMeasurement Class

ScopeChannelMeasurement Class

Represents the ScopeChannelMeasurement sub-objects that contain properties to allow you to configure the digitizers to obtain scalar and array measurements.

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIScopeScopeSubObject
    NationalInstruments.ModularInstruments.NIScopeScopeChannelMeasurement

Namespace:  NationalInstruments.ModularInstruments.NIScope
Assembly:  NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023

Syntax

public sealed class ScopeChannelMeasurement : ScopeSubObject, 
	ISupportSynchronizationContext, IIviScopeChannelMeasurement
Public NotInheritable Class ScopeChannelMeasurement
	Inherits ScopeSubObject
	Implements ISupportSynchronizationContext, IIviScopeChannelMeasurement

The ScopeChannelMeasurement type exposes the following members.

Properties

  NameDescription
Public propertyArrayGain
Gets or sets a scalar value that is multiplied by every element of an array during the Array Gain measurement.
Public propertyArrayOffset
Gets or sets a scalar value that is added to every element of an array during the Array Offset measurement.
Public propertyFilter
Gets measurement properties related to filtering.
Public propertyHysteresisPercent
Gets or sets the percentage of the full-scale vertical range for the hysteresis window size. Digital hysteresis is used in several scalar waveform measurements.
Public propertyInterpolationSamplingFactor
Gets or sets, indirectly, the new number of points for polynomial interpolation measurements. The new number of points is the input number of points times the sampling factor.
Public propertyLastHistogramSize
Gets or sets the number of bins in the last acquisition histogram. This histogram is used to determine several scalar measurements, such as voltage low and voltage high.
Public propertyOtherChannel
Gets or sets the second channel for two-channel measurements. If processing steps are registered with this channel, the processing is done before the waveform is used in a two-channel measurement.
Public propertyPolynomialInterpolationOrder
Gets or sets the polynomial order used for the polynomial interpolation measurement. For example, an order of 1 specifies linear interpolation whereas an order of 2 specifies parabolic interpolation. Any positive integer is valid.
Public propertyReferenceLevel
Gets properties related to different reference levels.
Public propertySynchronizeCallbacks
Specifies how events and callback delegates are invoked.
Public propertyTimeHistogram
Gets properties that are related to time histogram measurements.
Public propertyVoltageHistogram
Gets properties that are related to voltage histogram measurements.
Top

Methods

  NameDescription
Public methodAddWaveformProcessing
Adds one measurement to the list of processing steps that are completed before the measurement.
Public methodBeginFetchArrayMeasurement
Asynchronously obtains a waveform from the digitizer and returns the specified measurement array. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodBeginFetchByte
Begins an asynchronous retrieval of data from a previously initiated acquisition.
Public methodBeginFetchComplexDouble
Begins an asynchronous retrieval of data that the digitizer has acquired from a previously initiated acquisition.
Public methodBeginFetchComplexInt16
Begins an asynchronous retrieval of data from single channels and records.
Public methodBeginFetchDouble
Asynchronously returns the waveform from a previously initiated acquisition that the digitizer acquires for the specified channel. Refer to Using Fetch Functions for more information on using this method.
Public methodBeginFetchInt16
Begins an asynchronous retrieval of data from a previously initiated acquisition.
Public methodBeginFetchInt32
Begins an asynchronous retrieval of data from a previously initiated acquisition. Refer to Using Fetch Functions for more information on using this method.
Public methodBeginFetchScalarMeasurement
Begins an asynchronous fetching of a waveform from the digitizer and performs the specified waveform measurement. Refer to Using Fetch Functions for more information.
Public methodBeginFetchScalarMeasurementStatistics
Asynchronously obtains a waveform measurement and returns the measurement value. This method may return multiple statistical results depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodBeginRead
Asynchronously initiates an acquisition, waits for it to complete, and retrieves the data.
Public methodBeginReadScalarMeasurement
Asynchronously initiates an acquisition, waits for it to complete, and performs the specified waveform measurement for a single channel and record or for multiple channels and records. Refer to Using Fetch Functions for more information.
Public methodClearWaveformMeasurements
Clears the waveform statistics on the channel and for all measurements.
Public methodClearWaveformMeasurements(ScopeArrayMeasurementType)
Clears the waveform statistics on the channel and for scalar measurements.
Public methodClearWaveformMeasurements(ScopeScalarMeasurementType)
Clears the waveform statistics on the channel and for scalar measurements.
Public methodClearWaveformProcessing
Clears the list of processing steps assigned to the given channel.
Public methodEndFetchArrayMeasurement(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchArrayMeasurement(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchByte(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchByte(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchComplexDouble(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchComplexDouble(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchComplexInt16(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchComplexInt16(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchDouble(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchDouble(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchInt16(IAsyncResult)
Waits for pending asynchronous fetch to complete and returns binary 16-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodEndFetchInt16(IAsyncResult, ScopeWaveformInfo)
Waits for pending asynchronous fetch to complete and returns binary 16-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodEndFetchInt32(IAsyncResult)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchInt32(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchScalarMeasurement
Waits for a pending asynchronous fetch to complete.
Public methodEndFetchScalarMeasurementStatistics
Waits for a pending asynchronous fetch to complete.
Public methodEndRead(IAsyncResult)
Waits for a pending asynchronous read to complete. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodEndRead(IAsyncResult, ScopeWaveformInfo)
Waits for a pending asynchronous read to complete. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodEndReadScalarMeasurement
Waits for a pending asynchronous read to complete.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFetchArrayMeasurement(PrecisionTimeSpan, ScopeArrayMeasurementType, AnalogWaveformCollectionDouble)
Obtains a waveform from the digitizer and returns the specified measurement array. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchArrayMeasurement(PrecisionTimeSpan, ScopeArrayMeasurementType, AnalogWaveformCollectionDouble, ScopeWaveformInfo)
Obtains a waveform from the digitizer and returns the specified measurement array. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchByte(PrecisionTimeSpan, Int64, AnalogWaveformCollectionByte)
Retrieves data from a previously initiated acquisition and returns binary 8-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchByte(PrecisionTimeSpan, Int64, AnalogWaveformCollectionByte, ScopeWaveformInfo)
Retrieves data from a previously initiated acquisition and returns binary 8-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify. Refer to Features Supported by Device for more information on using this method.
Public methodFetchComplexDouble(PrecisionTimeSpan, Int64, ComplexWaveformCollectionComplexDouble)
Retrieves data that the digitizer has acquired from a previously initiated acquisition and returns a one-dimensional array of complex, scaled waveforms.
Public methodFetchComplexDouble(PrecisionTimeSpan, Int64, ComplexWaveformCollectionComplexDouble, ScopeWaveformInfo)
Retrieves data that the digitizer has acquired from a previously initiated acquisition and returns a one-dimensional array of complex, scaled waveforms.
Public methodFetchComplexInt16(PrecisionTimeSpan, Int64, ComplexWaveformCollectionComplexInt16)
Retrieves data from single channels and records. A one-dimensional array of complex binary 16-bit waveforms.
Public methodFetchComplexInt16(PrecisionTimeSpan, Int64, ComplexWaveformCollectionComplexInt16, ScopeWaveformInfo)
Retrieves data from single channels and records. Returns a one-dimensional array of complex binary 16-bit waveforms.
Public methodFetchDouble(PrecisionTimeSpan, Int64, AnalogWaveformCollectionDouble)
Returns the waveform from a previously initiated acquisition that the digitizer acquires for the specified channel. This method returns scaled voltage waveforms. Refer to Using Fetch Functions for more information on using this method.
Public methodFetchDouble(PrecisionTimeSpan, Int64, AnalogWaveformCollectionDouble, ScopeWaveformInfo)
Returns the waveform from a previously initiated acquisition that the digitizer acquires for the specified channel. This method returns scaled voltage waveforms. Refer to Using Fetch Functions for more information on using this method.
Public methodFetchInt16(PrecisionTimeSpan, Int64, AnalogWaveformCollectionInt16)
Retrieves data from a previously initiated acquisition and returns binary 16-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchInt16(PrecisionTimeSpan, Int64, AnalogWaveformCollectionInt16, ScopeWaveformInfo)
Retrieves data from a previously initiated acquisition and returns binary 16-bit waveforms. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchInt32(PrecisionTimeSpan, Int64, AnalogWaveformCollectionInt32)
Retrieves data from a previously initiated acquisition. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchInt32(PrecisionTimeSpan, Int64, AnalogWaveformCollectionInt32, ScopeWaveformInfo)
Retrieves data from a previously initiated acquisition. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodFetchScalarMeasurement
Fetches a waveform from the digitizer and performs the specified waveform measurement. Refer to Using Fetch Functions for more information.
Public methodFetchScalarMeasurementStatistics
Obtains a waveform measurement and returns the measurement value. This method may return multiple statistical results depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRead(PrecisionTimeSpan, Int64, AnalogWaveformCollectionDouble)
Initiates an acquisition, waits for it to complete, and retrieves the data.This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodRead(PrecisionTimeSpan, Int64, AnalogWaveformCollectionDouble, ScopeWaveformInfo)
Initiates an acquisition, waits for it to complete, and retrieves the data. This method may return multiple waveforms depending on the number of channels, the acquisition type, and the number of records you specify.
Public methodReadScalarMeasurement
Initiates an acquisition, waits for it to complete, and performs the specified waveform measurement for a single channel and record or for multiple channels and records. Refer to Using Fetch Functions for more information.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

Remarks

For more information, refer to Making Waveform Measurements in the NI High-Speed Digitizers Help or to the Scalar Measurements and Array Measurements topics in the NI-SCOPE Function Reference Help.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience