Mcarrier<Carrier>

RepCap Settings

# Range: Nr1 .. Nr64
rc = driver.source.bb.arbitrary.mcarrier.repcap_carrier_get()
driver.source.bb.arbitrary.mcarrier.repcap_carrier_set(repcap.Carrier.Nr1)

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
class McarrierCls[source]

Mcarrier commands group definition. 37 total commands, 9 Subgroups, 4 group commands Repeated Capability: Carrier, default value after init: Carrier.Nr1

get_clock() float[source]
# SCPI: [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.

return

clock: float Range: 400 to Max

get_ofile() str[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:MCARrier:OFILe
value: str = driver.source.bb.arbitrary.mcarrier.get_ofile()

Defines the output file name for the multi-carrier waveform (file extension *.wv) . This file name is required to calculate the waveform with the commands [:SOURce<hw>]:BB:ARBitrary:MCARrier:CLOad or [:SOURce<hw>]:BB:ARBitrary:MCARrier:CREate.

return

ofile: string

get_samples() int[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:MCARrier:SAMPles
value: int = driver.source.bb.arbitrary.mcarrier.get_samples()

Queries the resulting file size.

return

samples: integer Range: 0 to INT_MAX, Unit: samples

preset() None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:MCARrier:PRESet
driver.source.bb.arbitrary.mcarrier.preset()

Sets all the multi-carrier parameters to their default values.

preset_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:MCARrier:PRESet
driver.source.bb.arbitrary.mcarrier.preset_with_opc()

Sets all the multi-carrier parameters to their default values.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

Maximum time to wait in milliseconds, valid only for this call.

set_ofile(ofile: str) None[source]
# SCPI: [SOURce<HW>]:BB:ARBitrary:MCARrier:OFILe
driver.source.bb.arbitrary.mcarrier.set_ofile(ofile = 'abc')

Defines the output file name for the multi-carrier waveform (file extension *.wv) . This file name is required to calculate the waveform with the commands [:SOURce<hw>]:BB:ARBitrary:MCARrier:CLOad or [:SOURce<hw>]:BB:ARBitrary:MCARrier:CREate.

param ofile

string

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.bb.arbitrary.mcarrier.clone()

Subgroups