TypePy

SCPI Command :

CHANnel<*>[:WAVeform<*>]:TYPE
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(channel=Channel.Default, waveform=Waveform.Default) DecimationMode[source]
# CHANnel<*>[:WAVeform<*>]:TYPE
value: enums.DecimationMode = driver.channel.waveform.typePy.get(channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)

Selects the method to reduce the data stream of the ADC to a stream of waveform points with lower sample rate.

Parameters:
  • channel – optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Channel’)

  • waveform – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Waveform’)

Returns:

decimation_mode: SAMPle | PDETect | HRESolution | RMS

  • SAMPle: One of n samples in a sample interval of the ADC is recorded as waveform point.

  • PDETect: Peak Detect: the minimum and the maximum of n samples in a sample interval are recorded as waveform points.

  • HRESolution: High resolution: The average of n sample points is recorded as waveform point.

  • RMS: The waveform point is the root mean square of n sample values.

set(decimation_mode: DecimationMode, channel=Channel.Default, waveform=Waveform.Default) None[source]
# CHANnel<*>[:WAVeform<*>]:TYPE
driver.channel.waveform.typePy.set(decimation_mode = enums.DecimationMode.HRESolution, channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)

Selects the method to reduce the data stream of the ADC to a stream of waveform points with lower sample rate.

Parameters:
  • decimation_mode

    SAMPle | PDETect | HRESolution | RMS

    • SAMPle: One of n samples in a sample interval of the ADC is recorded as waveform point.

    • PDETect: Peak Detect: the minimum and the maximum of n samples in a sample interval are recorded as waveform points.

    • HRESolution: High resolution: The average of n sample points is recorded as waveform point.

    • RMS: The waveform point is the root mean square of n sample values.

  • channel – optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Channel’)

  • waveform – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Waveform’)