Returns the next available message. If no message is available, the node waits for either a new message or for the specified timeout to elapse.
If the WebSocket session becomes invalid, then the node stops waiting and returns an error.
Time, in seconds, that this node waits for a new message to be available before returning a timeout error. A value of -1 indicates to wait indefinitely.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Unique value that identifies the websocket session. Use this value to refer to this websocket session in subsequent node calls.
The next message available as a string. This is a UTF-8 encoded string.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Supported in VIs that run in a web application