Graphics

SCPI Commands :

[SOURce]:BB:GRAPhics:ADD
[SOURce]:BB:GRAPhics:CLOSe
[SOURce]:BB:GRAPhics:FFTFscale
[SOURce]:BB:GRAPhics:FFTLen
[SOURce<HW>]:BB:GRAPhics:MODE
class GraphicsCls[source]

Graphics commands group definition. 10 total commands, 3 Subgroups, 5 group commands

close() None[source]
# SCPI: [SOURce]:BB:GRAPhics:CLOSe
driver.source.bb.graphics.close()

Closes all graphical signal displays.

close_with_opc(opc_timeout_ms: int = - 1) None[source]
# SCPI: [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.

param opc_timeout_ms

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

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

return

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

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

Sets the FFT size.

return

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

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

Selects the graphics mode of the graphical signal display.

return

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

set_add(size: RsSmw.enums.TranRecSize) None[source]
# SCPI: [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) .

param size

MAXimized| MINimized

set_fft_fscale(state: bool) None[source]
# SCPI: [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.

param state

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

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

Sets the FFT size.

param mode

LEN256| LEN512| LEN1024| LEN2048| LEN4096 | LEN8192

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

Selects the graphics mode of the graphical signal display.

param mode

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

Cloning the Group

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

Subgroups