Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
TCP-UDP | Connections
Once configured, the TCP-UDP I/O interface offers different data points to be connected with the model.
Some connection points can be used to exchange data with the remote endpoint.
Connection Point | Direction | Description |
---|---|---|
Streams/<name>/Transmit/<data> | From model to driver | Data points to transmit, as configured on the frame builder in transmit page. |
Streams/<name>/Receive/<data> | From driver to model | Data points to receive, as configured on the frame builder in receive page. |
Some connection points can be used to monitor the state of the streams:
Connection Point | Direction | Description |
---|---|---|
Streams/<name>/Transmit/Transmitted bytes | From driver to model | Amount of payload data transmitted by stream, in bytes. |
Streams/<name>/Receive/Received bytes | From driver to model | Amount of payload data received by stream, in bytes. |
Streams/<name>/Connected | From driver to model | Only available when selected protocol is TCP. Value is 1 when TCP connection is active, 0 if inactive. |
Finally, optional connection points can control transmission and reception:
Connection Point | Direction | Description |
---|---|---|
Streams/<name>/Transmit/Transmission enable | From model to driver | Only available when option "Enable transmission control" is selected. This connection point controls whether or not the I/O interface will send data on its socket. |
Streams/<name>/Receive/Reception enable | From model to driver | Only available when option "Enable reception control" is selected. This connection point controls whether or not the I/O interface will receive data from its socket. If reception is disabled, data will still be read from the socket, but discarded before reaching the model. |
Here is an example of how sensors can be configured.
Please note that unused columns have been collapsed.
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter