Read Single Element from Stream Function

Owning Palette: Network Streams Functions

Requires: Base Development System (Windows)

Reads a single element from a network stream. You can call this function from the reader endpoint only.

 Add to the block diagram  Find on the palette
endpoint in specifies the reference to the endpoint. Obtain this reference by wiring the reader endpoint output of the Create Network Stream Reader Endpoint function to this input.
data type specifies the data type of the stream. Wire a constant or control to this input of the same data type as the data type input on the Create Network Stream Writer Endpoint function.
timeout in ms is the time, in milliseconds, that this function waits for the data. The default is –1, which means the function waits indefinitely.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
endpoint out returns endpoint in unchanged.
data out returns the data this function reads from the stream. If timeout in ms expires before this function receives data, this terminal returns the default value for the data type you configured with the data type terminal of this function or the Create Network Stream Reader function.
timed out? returns TRUE if the timeout period elapses before this function reads the data.
error out contains error information. This output provides standard error out functionality.