Header
SCPI Command :
CHANnel<*>:DATA:HEADer
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class GetStruct[source]
Response structure. Fields:
1 Xstart: float: 1. header value: time of the first sample in s
2 Xstop: float: 2. header value: time of the last sample in s
3 Record_Length: int: 3. header value: record length, number of samples
4 Vals_Per_Smp: int: 4. header value: number of values per sample. 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) .
- get(channel=Channel.Default) GetStruct[source]
# CHANnel<*>:DATA:HEADer value: GetStruct = driver.channel.data.header.get(channel = repcap.Channel.Default)
Returns the header of channel waveform data, the attributes of the waveform.
- Parameters:
channel – optional repeated capability selector. Default value: Ch1 (settable in the interface ‘Channel’)
- Returns:
structure: for return value, see the help for GetStruct structure arguments.