NI SCOPE Waveform Measurements Attributes - ni/grpc-device GitHub Wiki
- NISCOPE_ATTRIBUTE_MEAS_OTHER_CHANNEL
- NISCOPE_ATTRIBUTE_MEAS_ARRAY_GAIN
- NISCOPE_ATTRIBUTE_MEAS_ARRAY_OFFSET
- NISCOPE_ATTRIBUTE_MEAS_HYSTERESIS_PERCENT
- NISCOPE_ATTRIBUTE_MEAS_LAST_ACQ_HISTOGRAM_SIZE
- NISCOPE_ATTRIBUTE_MEAS_VOLTAGE_HISTOGRAM_SIZE
- NISCOPE_ATTRIBUTE_MEAS_VOLTAGE_HISTOGRAM_LOW_VOLTS
- NISCOPE_ATTRIBUTE_MEAS_VOLTAGE_HISTOGRAM_HIGH_VOLTS
- NISCOPE_ATTRIBUTE_MEAS_TIME_HISTOGRAM_SIZE
- NISCOPE_ATTRIBUTE_MEAS_TIME_HISTOGRAM_LOW_VOLTS
- NISCOPE_ATTRIBUTE_MEAS_TIME_HISTOGRAM_HIGH_VOLTS
- NISCOPE_ATTRIBUTE_MEAS_TIME_HISTOGRAM_LOW_TIME
- NISCOPE_ATTRIBUTE_MEAS_TIME_HISTOGRAM_HIGH_TIME
- NISCOPE_ATTRIBUTE_MEAS_POLYNOMIAL_INTERPOLATION_ORDER
- NISCOPE_ATTRIBUTE_MEAS_INTERPOLATION_SAMPLING_FACTOR
- NISCOPE_ATTRIBUTE_MEAS_FILTER_TYPE
- NISCOPE_ATTRIBUTE_MEAS_FILTER_TAPS
- NISCOPE_ATTRIBUTE_MEAS_FIR_FILTER_WINDOW
- NISCOPE_ATTRIBUTE_MEAS_FILTER_WIDTH
- NISCOPE_ATTRIBUTE_MEAS_FILTER_ORDER
- NISCOPE_ATTRIBUTE_MEAS_FILTER_CUTOFF_FREQ
- NISCOPE_ATTRIBUTE_MEAS_FILTER_CENTER_FREQ
- NISCOPE_ATTRIBUTE_MEAS_FILTER_RIPPLE
- NISCOPE_ATTRIBUTE_MEAS_FILTER_TRANSIENT_WAVEFORM_PERCENT
- NISCOPE_ATTRIBUTE_MEAS_CHAN_LOW_REF_LEVEL
- NISCOPE_ATTRIBUTE_MEAS_CHAN_MID_REF_LEVEL
- NISCOPE_ATTRIBUTE_MEAS_CHAN_HIGH_REF_LEVEL
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViString | R/W | Channel | None | None |
Specifies 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.
Default Value: 0
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Every element of an array is multiplied by this scalar value during the Array Gain measurement.
Default Value: 1.0
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Every element of an array is added to this scalar value during the Array Offset measurement.
Default Value: 0.0
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Digital hysteresis that is used in several of the scalar waveform measurements. This attribute specifies the percentage of the full-scale vertical range for the hysteresis window size.
Default Value: 2%
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Specifies 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.
Default Value: 256
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Determines the multiple acquisition voltage histogram size. The size is set the first time a voltage histogram measurement is called after clearing the measurement history with the function niScope_ClearWaveformMeasurementStats.
Default Value: 256
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the lowest voltage value included in the multiple-acquisition voltage histogram.
Default Value: –10.0 V
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the highest voltage value included in the multiple acquisition voltage histogram.
Default Value: 10.0 V
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Determines the multiple acquisition voltage histogram size. The size is set during the first call to a time histogram measurement after clearing the measurement history with niScope_ClearWaveformMeasurementStats.
Default Value: 256
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the lowest voltage value included in the multiple acquisition time histogram.
Default Value: –10.0 V
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the highest voltage value included in the multiple-acquisition time histogram.
Default Value: 10.0 V
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the lowest time value n seconds included in the multiple-acquisition time histogram.
Default Value: –5.0e-4 seconds
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the highest time value included in the multiple acquisition time histogram. The units are always seconds.
Default Value: 5.0e-4 seconds
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Specifies the polynomial order used for the polynomial interpolation measurement. For example, an order of 1 is linear interpolation whereas an order of 2 specifies parabolic interpolation. Any positive integer is valid.
Default Value: 1
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Indirectly specifies the new number of points for polynomial interpolation measurements. The new number of points is the input number of points times the sampling factor.
Default Value: 2.0
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Specifies the type of filter, for both IIR and FIR filters.
Default Value: Lowpass
NISCOPE_VAL_MEAS_LOWPASS (0)
NISCOPE_VAL_MEAS_HIGHPASS (1)
NISCOPE_VAL_MEAS_BANDPASS (2)
NISCOPE_VAL_MEAS_BANDSTOP (3)
- Reference Levels
- Measuring Reference-Level Crossings
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Defines the number of taps (coefficients) for an FIR filter.
Default Value: 25
- Reference Levels
- Measuring Reference-Level Crossings
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Specifies the FIR window type. The symmetric windows are applied to the FIR filter coefficients to limit passband ripple in FIR filters.
Default Value: NISCOPE_VAL_NONE
NISCOPE_VAL_NONE (0)
NISCOPE_VAL_HANNING_WINDOW (409)
NISCOPE_VAL_FLAT_TOP_WINDOW (410)
NISCOPE_VAL_HAMMING_WINDOW (420)
NISCOPE_VAL_TRIANGLE_WINDOW (423)
NISCOPE_VAL_BLACKMAN_WINDOW (424)
- Reference Levels
- Measuring Reference-Level Crossings
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the width of bandpass and bandstop type filters in hertz. The cutoff frequencies occur at NISCOPE_ATTRIBUTE_MEAS_FILTER_CENTER_FREQ ±one-half width.
Default Value: 1.0e3 Hz
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Specifies the order of an IIR filter. All positive integers are valid.
Default Value: 2
- Reference Levels
- Measuring Reference-Level Crossings
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the cutoff frequency in hertz for filters of type lowpass and highpass. The cutoff frequency definition varies depending on the filter.
Default Value: 1.0e6 Hz
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
The center frequency in hertz for bandpass and bandstop filters. The width of the filter is specified by NISCOPE_ATTRIBUTE_MEAS_FILTER_WIDTH, where the cutoff frequencies are the center ±width.
Default Value: 1.0e6 Hz
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Specifies the amount of passband ripple in decibels (positive values) for Chebyshev filters.
Default Value: 0.1 dB
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
The percentage (0 - 100%) of the IIR filtered waveform to eliminate from the beginning of the waveform. This allows eliminating the transient portion of the waveform that is undefined due to the assumptions necessary at the boundary condition.
Default Value: 20.0%
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Stores the low reference level used in many scalar measurements. Different channels may have different reference levels.
Default Value: 10%
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Stores the mid reference level used in many scalar measurements. Different channels may have different reference levels.
Default Value: 50%
Data type |
Access | Applies to | Coercion | High Level Functions |
---|---|---|---|---|
ViReal64 | R/W | Channel | None | None |
Stores the high reference level used in many scalar measurements. Different channels may have different reference levels.
Default Value: 90%