Msegment

SCPI Commands :

SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:NAME
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:POFFset
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:PAR
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:DURation
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:SAMPles
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:CRATe
SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:NUMBer
class MsegmentCls[source]

Msegment commands group definition. 7 total commands, 0 Subgroups, 7 group commands

get_crate() List[float][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:CRATe
value: List[float] = driver.source.arb.msegment.get_crate()

Queries the clock rates of all segments in the loaded multi-segment waveform file. The clock rates of waveform files created with R&S WinIQSIM2 are compatible with the R&S CMW.

return:

clock_rate: float Comma-separated list of clock rates, one value per segment Unit: Hz

get_duration() List[float][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:DURation
value: List[float] = driver.source.arb.msegment.get_duration()

Queries the durations (processing times) of all segments in the loaded multi-segment waveform file. The duration is given by the number of samples divided by the clock rate.

return:

duration: float Comma-separated list of durations, one value per segment Unit: s

get_name() List[str][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:NAME
value: List[str] = driver.source.arb.msegment.get_name()

Queries the names of all segments in the loaded multi-segment waveform file.

return:

name: string Comma-separated list of names, one string per segment

get_number() List[int][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:NUMBer
value: List[int] = driver.source.arb.msegment.get_number()

Queries the segment numbers of all segments in the loaded multi-segment waveform file.

return:

seg_number: decimal Comma-separated list of segment numbers, one value per segment

get_par() List[float][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:PAR
value: List[float] = driver.source.arb.msegment.get_par()

Queries the level offset (peak to average ratio, PAR) of all segments in the loaded multi-segment waveform file. The PAR is equal to the absolute value of the difference between the ‘RMS Offset’ and the ‘Peak Offset’ defined in WinIQSIM2 (crest factor) .

return:

par: float Comma-separated list of PAR values, one value per segment Unit: dB

get_poffset() List[float][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:POFFset
value: List[float] = driver.source.arb.msegment.get_poffset()

Queries the peak offset of all segments in the loaded multi-segment waveform file.

return:

peak_offset: float Comma-separated list of peak offset values, one value per segment Unit: dB

get_samples() List[int][source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:MSEGment:SAMPles
value: List[int] = driver.source.arb.msegment.get_samples()

Queries the number of samples in all segments in the loaded multi-segment waveform file.

return:

samples: decimal Comma-separated list of sample values, one value per segment