pmk_probes.probes.PowerOverFiber
- class PowerOverFiber(power_supply: _PMKPowerSupply, channel: Channel, verbose: bool = False, allow_legacy: bool = False, simulated=None, skip_metadata=False)
Bases:
_PMKProbeMethods
Reset the probe to factory settings.
Reset the probe to factory settings.
flash_bytesChange the state of LM to bootloader state and send BL to PM without checking its answer.
Enter LM Bootloader Mode
Enter LM Bootloader Mode
lm_flashpm_enter_applicationpm_enter_bootloaderpm_flashread_error_logread_operating_timesystem_resetAttributes
Read the charge bank current.
Read the power good value.
Read the charge bank state.
Read the charge bank voltage.
Read the echo value.
Read the power good value.
Check if the attached FireFly is turned on (high load).
Read the laser current.
Read if the laser is enabled.
Read the laser ICTRL.
Read the laser IMON.
Read the laser temperature.
Read the laser voltage.
Attribute that determines the probe's status LED color.
Read the LM status LED.
Read the LM temperature.
Read the LM version.
Read the load detect voltage.
Read the probe's metadata.
Read the output fault indication.
Read the output state.
Read the photodiode current.
Read the photodiode temperature.
Read the photodiode voltage.
pm_poll_statuspm_read_modeRead the PM temperature.
Read the PM version.
Properties of the specific probe model, similar to metadata but stored in the Python package instead of the probe's flash.
Check if safety shutdown is enabled.
Read the status flag.
- class OperatingTime(value)
Bases:
EnumAn enumeration.
- class PMStatusFlag(value)
Bases:
EnumAn enumeration.
- property chargebank_current
Read the charge bank current.
- property chargebank_powergood
Read the power good value.
- property chargebank_state
Read the charge bank state.
- property chargebank_voltage
Read the charge bank voltage.
- developer_factory_reset()
Reset the probe to factory settings.
- property echo_value
Read the echo value.
- property errorcode
Read the power good value.
- factory_reset()
Reset the probe to factory settings.
- property firefly_on
Check if the attached FireFly is turned on (high load).
- force_bootloader()
Change the state of LM to bootloader state and send BL to PM without checking its answer.
- property laser_current
Read the laser current.
- property laser_enabled
Read if the laser is enabled.
- property laser_ictrl
Read the laser ICTRL.
- property laser_imon
Read the laser IMON.
- property laser_temperature
Read the laser temperature.
- property laser_voltage
Read the laser voltage.
- property led_color
Attribute that determines the probe’s status LED color. Allowed colors are red, green, blue, magenta, cyan, yellow, white, black (off).
- Getter:
Returns the current LED color.
- Setter:
Sets the LED color.
- lm_enter_application()
Enter LM Bootloader Mode
- lm_enter_bootloader()
Enter LM Bootloader Mode
- property lm_status_led
Read the LM status LED.
- property lm_temperature
Read the LM temperature.
- property lm_version
Read the LM version.
- property load_detect_voltage
Read the load detect voltage.
- property metadata: PMKMetadata
Read the probe’s metadata.
- Getter:
Returns the probe’s metadata.
- property output_fault_indication
Read the output fault indication.
- property output_state
Read the output state.
- property photodiode_current
Read the photodiode current.
- property photodiode_temperature
Read the photodiode temperature.
- property photodiode_voltage
Read the photodiode voltage.
- property pm_temperature
Read the PM temperature.
- property pm_version
Read the PM version.
- property properties: PMKProbeProperties
Properties of the specific probe model, similar to metadata but stored in the Python package instead of the probe’s flash.
- property safety_shutdown_enabled
Check if safety shutdown is enabled.
- property status_flag: PMStatusFlag
Read the status flag.