Mcarrier<Carrier>#
SCPI Commands :
- [SOURce<HW>]:BB:ARBitrary:MCARrier:CLOCk
- [SOURce<HW>]:BB:ARBitrary:MCARrier:OFILe
- [SOURce<HW>]:BB:ARBitrary:MCARrier:PRESet
- [SOURce<HW>]:BB:ARBitrary:MCARrier:SAMPles
- Commands in total: 37Subgroups: 9Direct child commands: 4
Repeated Capability Setting:
# Range: Nr1 .. Nr64 driver.source.bb.arbitrary.mcarrier.repcap_carrier_set(repcap.Carrier.Nr1)- get_clock ( ) float
# [SOURce<HW>]:BB:ARBitrary:MCARrier:CLOCk value: float = driver.source.bb.arbitrary.mcarrier.get_clock()Queries the resulting sample rate at which the multi-carrier waveform is output by the arbitrary waveform generator. The output clock rate depends on the number of carriers, carrier spacing, and input sample rate of the leftmost or rightmost carriers.
- Returns:
clock: float
- get_ofile ( ) str
- set_ofile ( ofile: str ) None
# [SOURce<HW>]:BB:ARBitrary:MCARrier:OFILe # get: value: str = driver.source.bb.arbitrary.mcarrier.get_ofile() # set: driver.source.bb.arbitrary.mcarrier.set_ofile(ofile = 'abc')
Sets the output filename for the multicarrier waveform (file extension wv) . This filename is required to calculate the waveform with the commands method
RsSmw.source.bb.arbitrary.mcarrier.cload.set()or methodRsSmw.source.bb.arbitrary.mcarrier.create.set().- Parameters:
ofile – string
- preset ( ) None
- preset_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce<HW>]:BB:ARBitrary:MCARrier:PRESet driver.source.bb.arbitrary.mcarrier.preset() driver.source.bb.arbitrary.mcarrier.preset_with_opc(opc_timeout_ms = 3000)Sets all the multicarrier parameters to their default values.
preset_with_opc()does the same aspreset(), but waits for the operation to complete before continuing further. Use theRsSmw.utilities.opc_timeoutto set the timeout value.- Parameters:
opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.
- get_samples ( ) int
# [SOURce<HW>]:BB:ARBitrary:MCARrier:SAMPles value: int = driver.source.bb.arbitrary.mcarrier.get_samples()Queries the resulting file size.
- Returns:
samples: integer
Cloning the Group
# Create a copy of the original group, that exists independently
mcarrier_copy = driver.source.bb.arbitrary.mcarrier.clone()
Subgroups