Ports
The preferred way of exchanging data between ModFrame components is through ports. Ports can be connected to other ports and receive and or send information from/to those ports. There are different types of ports containing different types of data. There are two major types or ports: Unidirectional and bidirectional. In the unidirectional ports information will always flow in one direction. Whereas in bidirectional ports information will flow in both directions. The computational algorithms of the containers specifies and enforces the data exchange between the ports.
In the user interface the ports will reside inside of the image of a ModFrame component as a small movable square.
Unidirectional ports
The following table lists the available unidirectional ports in ModFrame proper. Extensions to ModFrame such as the Tracker modules may define additional ports. Unidirectional ports are either input or output ports and they can only be connected to the same port types of the opposite direction. (Inputs can only be connected to outputs, and vice versa.)
Unidirectional port | Data type | Notes |
---|---|---|
Analog matrix | A matrix of double precision floating point values | The number of rows and columns of the matrix can be either static or changed depending on the connected port. |
Bidirectional ports
ProcessPorts.