create_resistor_on_pin#

EdbSiwave.create_resistor_on_pin(pos_pin, neg_pin, rvalue=1, resistor_name='')[source]#

Create a Resistor boundary between two given pins..

Parameters:
pos_pinObject

Positive Pin.

neg_pinObject

Negative Pin.

rvaluefloat, optional

Resistance value. The default is 1.

resistor_namestr, optional

Name of the resistor. The default is "".

Returns:
str

Name of the resistor.

Examples

>>> from pyedb import Edb
>>> edbapp = Edb("myaedbfolder", "project name", "release version")
>>> pins =edbapp.components.get_pin_from_component("U2A5")
>>> edbapp.siwave.create_resistor_on_pin(pins[0], pins[1],50,"res_name")