Graphics

SCPI Commands :

[SOURce]:BB:GRAPhics:ADD
[SOURce]:BB:GRAPhics:CLOSe
[SOURce]:BB:GRAPhics:FFTFscale
[SOURce]:BB:GRAPhics:FFTLen
[SOURce<HW>]:BB:GRAPhics:MODE
Commands in total: 10
Subgroups: 3
Direct child commands: 5
close() None[source]
# [SOURce]:BB:GRAPhics:CLOSe
driver.source.bb.graphics.close()

Closes all graphical signal displays.

close_with_opc(opc_timeout_ms: int = -1) None[source]
# [SOURce]:BB:GRAPhics:CLOSe
driver.source.bb.graphics.close_with_opc()

Closes all graphical signal displays.

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

Parameters:

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

get_fft_fscale() bool[source]
# [SOURce]:BB:GRAPhics:FFTFscale
value: bool = driver.source.bb.graphics.get_fft_fscale()

Defines the normalization of the power values in the power spectrum diagram.

Returns:

state: 1 | ON | 0| OFF 1 Normalized power in dBFS 0 Shows power distribution in dB/Hz

get_fft_len() TranRecFftLen[source]
# [SOURce]:BB:GRAPhics:FFTLen
value: enums.TranRecFftLen = driver.source.bb.graphics.get_fft_len()

Sets the FFT size.

Returns:

mode: LEN256 | LEN512 | LEN1024 | LEN2048 | LEN4096 | LEN8192

get_mode() TranRecMode[source]
# [SOURce<HW>]:BB:GRAPhics:MODE
value: enums.TranRecMode = driver.source.bb.graphics.get_mode()

Sets the graphics mode of the graphical signal display.

Returns:

mode: IQ | VECTor | CCDF | PSPectrum | CONStellation | EYEI | EYEQ

set_add(size: TranRecSize) None[source]
# [SOURce]:BB:GRAPhics:ADD
driver.source.bb.graphics.set_add(size = enums.TranRecSize.MAXimized)

Adds a graphical signal display (according to the current MODE, SOURce, SRATe:* and TRIGger:* settings) .

Parameters:

size – MAXimized | MINimized

set_fft_fscale(state: bool) None[source]
# [SOURce]:BB:GRAPhics:FFTFscale
driver.source.bb.graphics.set_fft_fscale(state = False)

Defines the normalization of the power values in the power spectrum diagram.

Parameters:

state – 1 | ON | 0| OFF 1 Normalized power in dBFS 0 Shows power distribution in dB/Hz

set_fft_len(mode: TranRecFftLen) None[source]
# [SOURce]:BB:GRAPhics:FFTLen
driver.source.bb.graphics.set_fft_len(mode = enums.TranRecFftLen.LEN1024)

Sets the FFT size.

Parameters:

mode – LEN256 | LEN512 | LEN1024 | LEN2048 | LEN4096 | LEN8192

set_mode(mode: TranRecMode) None[source]
# [SOURce<HW>]:BB:GRAPhics:MODE
driver.source.bb.graphics.set_mode(mode = enums.TranRecMode.CCDF)

Sets the graphics mode of the graphical signal display.

Parameters:

mode – IQ | VECTor | CCDF | PSPectrum | CONStellation | EYEI | EYEQ

Cloning the Group

# Create a copy of the original group, that exists independently
graphics_copy = driver.source.bb.graphics.clone()

Subgroups