pmk_probes.probes.PowerOverFiber

class PowerOverFiber(power_supply: _PMKPowerSupply, channel: Channel, verbose: bool = False, allow_legacy: bool = False, simulated=None, skip_metadata=False)

Bases: _PMKProbe

Methods

developer_factory_reset

Reset the probe to factory settings.

factory_reset

Reset the probe to factory settings.

flash_bytes

force_bootloader

Change the state of LM to bootloader state and send BL to PM without checking its answer.

lm_enter_application

Enter LM Bootloader Mode

lm_enter_bootloader

Enter LM Bootloader Mode

lm_flash

pm_enter_application

pm_enter_bootloader

pm_flash

read_error_log

read_operating_time

system_reset

Attributes

chargebank_current

Read the charge bank current.

chargebank_powergood

Read the power good value.

chargebank_state

Read the charge bank state.

chargebank_voltage

Read the charge bank voltage.

echo_value

Read the echo value.

errorcode

Read the power good value.

firefly_on

Check if the attached FireFly is turned on (high load).

laser_current

Read the laser current.

laser_enabled

Read if the laser is enabled.

laser_ictrl

Read the laser ICTRL.

laser_imon

Read the laser IMON.

laser_temperature

Read the laser temperature.

laser_voltage

Read the laser voltage.

led_color

Attribute that determines the probe's status LED color.

lm_status_led

Read the LM status LED.

lm_temperature

Read the LM temperature.

lm_version

Read the LM version.

load_detect_voltage

Read the load detect voltage.

metadata

Read the probe's metadata.

output_fault_indication

Read the output fault indication.

output_state

Read the output state.

photodiode_current

Read the photodiode current.

photodiode_temperature

Read the photodiode temperature.

photodiode_voltage

Read the photodiode voltage.

pm_poll_status

pm_read_mode

pm_temperature

Read the PM temperature.

pm_version

Read the PM version.

properties

Properties of the specific probe model, similar to metadata but stored in the Python package instead of the probe's flash.

safety_shutdown_enabled

Check if safety shutdown is enabled.

status_flag

Read the status flag.

class OperatingTime(value)

Bases: Enum

An enumeration.

class PMStatusFlag(value)

Bases: Enum

An 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.