ReadDevice
Imports data into an In-Sight vision system from another host on the network using a TCP/IP or UDP connection. For more information, see TCPDevice and UDPDevice.
Note:
- To establish a TCP/IP device connection between two In-Sight vision systems, both devices must be Online.
- When ReadDevice is configured to communicate via UDP, there is no buffering; if another data packet arrives before the last one was processed, the new packet will replace the older packet.
ReadDevice Inputs
Syntax: ReadDevice(Device)
Parameter | Description |
---|---|
A reference to a spreadsheet cell containing a Device data structure created by a TCPDevice or UDPDevice function. |
ReadDevice Outputs
Returns |
The data that is imported from the TCP/IP or UDP client whenever a connection is established, or #ERR if a cell is referenced that does not contain a valid Device data structure, or the when the received message is greater than the default buffer size of a UDP message (256 bytes). |