CfgProbes#

class pyedb.configuration.cfg_ports_sources.CfgProbes(pedb=None, data=None)#

Collect configured probe entries.

Overview#

add

Add a voltage probe to this configuration.

apply

Write all configured probes into the open EDB design.

to_list

Serialize all probes.

Import detail#

from pyedb.configuration.cfg_ports_sources import CfgProbes

Attribute detail#

CfgProbes.probes#

Method detail#

CfgProbes.add(name: str, positive_terminal: dict, negative_terminal: dict, reference_designator=None)#

Add a voltage probe to this configuration.

Parameters:
namestr

Unique probe name.

positive_terminaldict

Terminal-selector dictionary for the positive measurement node.

negative_terminaldict

Terminal-selector dictionary for the reference (ground) node.

reference_designatorstr, optional

Component reference designator.

Returns:
CfgProbe

The newly created probe object.

Examples

>>> cfg.probes.add(
...     "probe1",
...     positive_terminal=TerminalInfo.net("DDR4_DQ0"),
...     negative_terminal=TerminalInfo.net("GND"),
... )
CfgProbes.apply()#

Write all configured probes into the open EDB design.

CfgProbes.to_list()#

Serialize all probes.