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

SetAllPortImpedances

Sets all terminal port impedances in a single call. The impedances are in an array of real or complex values.

UI Access

Through the UI, the terminal ports can only be edited individually. 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
 <impedances> Array of Doubles or String Must have one entry for each port or a single complex (or real) value which will be applied to all ports.
Return Value

None.

 

Python Syntax SetAllPortImpedances()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

oPostProc.SetAllPortImpedances([23, "2+3i", 50]) -or- oData.SetAllPortImpedances(50)