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: 10Subgroups: 3Direct child commands: 5
- set_add ( size: TranRecSize ) None
# [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
- close ( ) None
- close_with_opc ( opc_timeout_ms: int = -1 ) None
# [SOURce]:BB:GRAPhics:CLOSe driver.source.bb.graphics.close() driver.source.bb.graphics.close_with_opc(opc_timeout_ms = 3000)Closes all graphical signal displays.
close_with_opc()does the same asclose(), 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_fft_fscale ( ) bool
- set_fft_fscale ( state: bool ) None
# [SOURce]:BB:GRAPhics:FFTFscale # get: value: bool = driver.source.bb.graphics.get_fft_fscale() # set: 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
- get_fft_len ( ) TranRecFftLen
- set_fft_len ( mode: TranRecFftLen ) None
# [SOURce]:BB:GRAPhics:FFTLen # get: value: enums.TranRecFftLen = driver.source.bb.graphics.get_fft_len() # set: driver.source.bb.graphics.set_fft_len(mode = enums.TranRecFftLen.LEN1024)
Sets the FFT size.
- Parameters:
mode – LEN256 | LEN512 | LEN1024 | LEN2048 | LEN4096 | LEN8192
- get_mode ( ) TranRecMode
- set_mode ( mode: TranRecMode ) None
# [SOURce<HW>]:BB:GRAPhics:MODE # get: value: enums.TranRecMode = driver.source.bb.graphics.get_mode() # set: 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