# ReadDevice

Imports data into a vision system from another host on the network using a TCP/IP connection.

Note: When establishing a TCP/IP device connection between two In-Sight vision systems, devices can be Online or Offline.

ReadDevice does not have a property sheet. You can configure this function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. directly in the cell, or in the Formula Bar on the Job A job is a user-configured program in Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the Spreadsheet interface, and load them on a vision system for deployment in a live environment. Edit toolbar, either by typing in cell values directly, or selecting the cell references of the supported data structures.

Inputs

Syntax: ReadDevice(Device)

Parameter | Description
Device | A reference to a spreadsheet cell containing a Device data structure that a TCPServer or a TCPClient function creates.

Outputs

Returns | The data that is imported from the TCP/IP client or server whenever a connection is established. Returns #ERR if a referenced cell does not contain a valid Device data structure, or the received packet exceeds the Max Packet Size set in the Device.