Warning: The following command is preliminary. Its syntax may change. Be prepared to make changes to legacy scripts.

SetPortImpedance

Sets port impedance for a single port.

UI Access

From the Network Data Explorer tab, select Edit Ports in the NDE ribbon to open the Port properties window. Make changes, then click OK.

Parameters
Name Type Description
<portNumber> Integer The port number of the changed terminal port (integers between 1 and n).
<impedance> Double or String Double if impedance value is real; string format (e.g., 24+10i) for complex impedance.
Return Value

None.

 

Python Syntax SetPortImpedance()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oPostProc.SetPortImpedance(2, "25+3i")