Differences
This shows you the differences between two versions of the page.
|
receive_tuple [2020/04/28 12:56] argemiro created |
receive_tuple [2026/08/28 03:31] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Receive Tuple ====== | + | ====== Receive Tuple ====== |
| ===== Description ===== | ===== Description ===== | ||
| - | Receive a Tuple using an opened communication session. | + | Receives a tuple of numbers sent by an external application, such as an R script, through an opened communication session. |
| ===== Inputs ===== | ===== Inputs ===== | ||
| + | |||
| None. | None. | ||
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | |
| - | | Tag| [[string_type|String]] | Tuple identifier. | | + | ^ Name ^ Type ^ Description ^ Default Value ^ |
| + | | Tag | [[String Type]] | Identifier used to match this tuple with the corresponding send call in the external application. | Empty | | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | |
| - | | Tuple| [[tuple_type|Tuple]] | Received Tuple. | | + | ^ Name ^ Type ^ Description ^ |
| + | | Tuple | [[Tuple Type]] | Received tuple of numbers. | | ||
| ===== Group ===== | ===== Group ===== | ||
| Line 20: | Line 23: | ||
| [[Functor List#Integration | Integration]] | [[Functor List#Integration | Integration]] | ||
| - | ===== Internal Name ===== | + | ===== Notes ===== |
| + | |||
| + | This functor blocks until the tuple is received. | ||
| + | |||
| + | Raises an error if no communication session is open. | ||
| + | |||
| + | In R, a tuple corresponds to a list or vector of real values, sent or received with Dinamica::sendNumberVector() and Dinamica::receiveNumberVector(). See [[External Communication]] for how to open a session from an external application and exchange data with it. | ||
| + | |||
| + | ===== Internal Name ===== | ||
| ReceiveTuple | ReceiveTuple | ||
| + | |||