Band 5 Down-Converter Device
Band 5 Down-converter Device.
- class B5dcDevice(logger, b5dc_interface)[source]
B5dcDevice class.
- __init__(logger, b5dc_interface)[source]
Initialise the B5dcDevice class.
- Parameters:
logger (
Logger) – logging handleb5dc_interface (
B5dcInterface) – handle to the b5dc interface
- exception B5dcDeviceAttenuationException[source]
Exception used to indicate issue setting attenuation.
- class B5dcDeviceConfigureAttenuation(logger, b5dc_interface)[source]
B5dcDeviceConfigureAttenuation class.
- MAX_ATTENUATION_DB = 32.0
- __init__(logger, b5dc_interface)[source]
Initialise the B5dcDeviceConfigureAttenuation class.
- Parameters:
logger (
Logger) – logging handleb5dc_interface (
B5dcInterface) – handle to the b5dc interface
- async set_attenuation(set_attenuation_db, atten_attr_name)[source]
Set the attenuation on the band 5 down converter.
- Parameters:
- Raises:
B5dcDeviceAttenuationException – for input validation, value not being set correctly, timeout on protocol layer.
- Return type:
- class B5dcDeviceConfigureFrequency(logger, b5dc_interface)[source]
B5dcDeviceConfigureFrequency class.
- __init__(logger, b5dc_interface)[source]
Initialise the B5dcDeviceConfigureFrequency class.
- Parameters:
logger (
Logger) – logging handleb5dc_interface (
B5dcInterface) – handle to the b5dc interface
- async set_frequency(frequency)[source]
Set the frequency on the band 5 down converter.
- Parameters:
frequency (
B5dcFrequency) – frequency to set- Raises:
B5dcDeviceFrequencyException – for input validation, value not being set correctly, timeout on protocol layer.
- Return type:
- class B5dcDeviceSensors(logger, b5dc_interface)[source]
B5dcDeviceSensors class.
- __init__(logger, b5dc_interface)[source]
Initialise the B5dcDeviceSensor class.
- Parameters:
logger (
Logger) – logging handleb5dc_interface (
B5dcInterface) – handle to the b5dc interface
Band 5 Down-converter Enum mappings.
- exception B5dcAttenuationBusy[source]
Exception used to indicate busy with attenuation configuration.
- class B5dcFrequency(value)[source]
Band 5 down-converter frequency options.
- F_11_1_GHZ = 1
- F_13_2_GHZ = 2
- F_13_86_GHZ = 3
- class B5dcPllState(value)[source]
Band 5 down-converter Phase lock loop state.
- LOCKED = 0
- LOCKED_WITH_LOSS_DETECTED = 1
- NOT_LOCKED = 2
- NOT_LOCKED_WITH_LOSS_DETECTED = 3
- map_clk_photodiode_current_ma(reg_val)[source]
Get the photodiode current in mA from register value.
- Return type:
- map_if_power_out_dbm(reg_val)[source]
Get the if power out in dBm from register value.
- Return type:
- map_rfcm_attenuation_db(reg_val)[source]
Get the attenuation value in dB from register value.
- Return type:
- map_rfcm_frequency_register(reg_val)[source]
Get the frequency in GHz from the register value.
- Return type:
- map_rfcm_pll_lock_register(reg_val)[source]
Get the PLL status from the register value.
- Return type: