Timeout
Timeout in milliseconds to wait for an incoming datagram (if one has not already been received). If 0 (or not specified), we will not wait at all. If there are no datagrams that have been received at the time of calling this instruction or we time out while waiting for incoming packets, -1 is written to the BytesReceived parameter. If this parameter is less than 0, this call will block execution (in its sequence) until a packet comes in or an error occurs. Do not use this functionality when in a scan, since theoretically this could block execution forever (if no packets come in) and cause skipped scans. It is recommended to put this instruction in a scan and periodically check it instead of using this blocking functionality, as datalogger operation is optimized internally by using scans (using the block execution functionality can be less efficient since the datalogger is constantly polling for input).
Type: Constant or Variable of Type Long