get_active_frequencies#
- Revision.get_active_frequencies(radio_name: str, band_name: str, tx_rx_mode: int | TxRxMode, units: str = '') list[float]#
Get a list of active frequencies for a
txorrxband in a radio/emitter.- Parameters:
- radio_name
str Name of the radio/emitter.
- band_name
str Name of the band.
- tx_rx_mode
int|emit_constants.TxRxMode Specifies whether to get
txorrxradio frequencies. Accepts TxRxMode enum values (which are int: 0=TX, 1=RX, 2=BOTH).- units
str,optional Units for the frequencies. The default is
Nonewhich uses the units specified globally for the project.
- radio_name
- Returns:
- freqs
Listoffloat List of
txorrxradio/emitter frequencies.
- freqs
Examples
>>> freqs = aedtapp.results.current_revision.get_active_frequencies( 'Bluetooth', 'Rx - Base Data Rate', TxRxMode.RX)