OpenTAP 9.27
API Reference
|
Object representing a port on an instrument or DUT. Ports are connected with Connection objects. More...
Public Member Functions | |
Port (IResource device, string name) | |
Initializes a new instance of the Port class. | |
IEnumerable< Port > | GetConnectedPorts () |
Returns a list of the ports that this port has connections to. | |
IEnumerable< Port > | GetActiveConnectedPorts () |
Returns a list of the ports that this port has connections to and that are active. | |
IEnumerable< Connection > | GetConnectionsTo (IResource device) |
Returns a list of connections from this port to a specified device. | |
IEnumerable< Connection > | GetConnectionsTo (Port otherPort) |
Returns a list of connections from this port to a specified port. | |
override string | ToString () |
Returns a string describing this port. More... | |
Properties | |
IResource | Device [get] |
The device (usually an Instrument or Dut) on which this port exists. | |
IEnumerable< Connection > | Connections [get] |
List of Connections connected to this port. | |
string | Name [get] |
The name of this port. (Should be unique among Port objects on the same device/resource). | |
Properties inherited from OpenTap.IConstResourceProperty | |
IResource | Device [get] |
TDevice/resource to which this object belongs. More... | |
string | Name [get] |
Name of this object (should be unique among objects of the same type on the same device/resource). | |
Object representing a port on an instrument or DUT. Ports are connected with Connection objects.
|
inline |
Returns a string describing this port.
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46