Header
SCPI Command :
CHANnel<*>[:WAVeform<*>]:DATA:HEADer
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class GetStruct[source]
Response structure. Fields:
1 Start: float: No parameter help available
2 Stop: float: No parameter help available
3 Record_Length: int: No parameter help available
4 Vals_Per_Smp: int: No parameter help available
- get(channel=Channel.Default, waveform=Waveform.Default) GetStruct[source]
# CHANnel<*>[:WAVeform<*>]:DATA:HEADer value: GetStruct = driver.channel.waveform.data.header.get(channel = repcap.Channel.Default, waveform = repcap.Waveform.Default)
Returns the header of channel waveform data. Position / Meaning / Example
1 / XStart in s / 9.477E-008 = - 94,77 ns
2 / XStop in s / 9.477E-008 = 94,77 ns
3 / Record length of one waveform / 200000
4 / Number of values per sample interval. For most waveforms the result is 1, for peak detect and envelope waveforms it is 2. If the number is 2, the number of returned values is twice the number of samples (record length) . / 1
If multichannel export is enabled, the number of returned samples is Record length * Number of exported waveforms. See also method
RsRtx.export.waveform.multi_channel().- 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:
structure: for return value, see the help for GetStruct structure arguments.