SlotPowerResults
Provides methods to fetch and read the SlotPower measurement results.
- class nirfmxwcdma.slotpower_results.SlotPowerResults(signal_obj)[source]
Bases:
objectProvides methods to fetch and read the SlotPower measurement results.
- fetch_powers(selector_string, timeout)[source]
Fetches the Slot Power and Slot Power delta for all the slots in the measurement length.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
”result::r1”
You can use the
build_result_string()method to build the selector string.timeout (float) – This parameter specifies the time for which the method waits for the measurement to complete. This value is expressed in seconds. A value of -1 specifies that the method waits until the measurement is complete. The default value is 10.
- Returns:
- slot_power (float):
This parameter returns an array of slot powers. This value is expressed in dBm.
- slot_power_delta (float):
This parameter returns an array of differences in powers between the adjacent slots. This value is expressed in dB.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (slot_power, slot_power_delta, error_code)