Values
SCPI Command :
CHANnel<1..4>[:WAVeform<*>]:DATA[:VALues]
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(channel=Channel.Default, waveform=Waveform.Default) List[float][source]
# CHANnel<1..4>[:WAVeform<*>]:DATA[:VALues] value: List[float] = driver.channel.waveform.data.values.get(channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)
Returns the data of the channel waveform points for transmission from the instrument to the controlling computer. The data can be used in MATLAB, for example. Without parameters, the complete waveform is retrieved. Using the offset and length parameters, data can be retrieved in smaller portions, which makes the command faster. To set the export format, use method
RsRtx.formatPy.data.set(). You can retrieve only Y-values (usually voltage values) , or X- and Y-values. Use methodRsRtx.export.waveform.incx_values()to define which values are retrieved. If multichannel export is active (methodRsRtx.export.waveform.multi_channel()) , the channel suffix is ignored. To select the channels to be exported, use methodRsRtx.channel.exportState.set(). The Y-values are written in interleaved order, for example, YCh10; YCh20; YCh11; YCh21… for a 2-channel instrument.- 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:
waveform_data: List of values according to the format and content settings.