Test TCP/IP Communication with In-Sight Vision Suite on Spreadsheet
Steps to make a TCP/IP connection using Spreadsheet on In-Sight Vision Suite
Steps to make a TCP/IP connection using Spreadsheet on In-Sight Vision Suite
How do I test if the In-Sight camera is sending messages using TCP/IP Communication in spreadsheet mode?
Materials required
Connect the camera and access it using In-Sight Vision Suite with a new spreadsheet Job.
In this article, you will program a Client and Server communication on the same spreadsheet.

Click OK.

As soon as you close TCPServer settings, you will notice that Cell C6 has the instruction ReadDevice.
The ReadDevice instruction will display any instruction that the camera gets from Port 3000 on TCP/IP.

On Cell B7, insert a Button instruction.
The objective is to send data out when this button is pressed.

On Cell B8, place EditString.
This cell will contain the information to send externally.

On Cell D8, type WriteDevice(B7,B5,B8).
B7 is the parameter that indicates the event that triggers the action of writing into the TCPDevice on B5 and the information to write is on B8.

Set camera Online.
Camera must be Online mode in order to send data to external devices.

Select TCP Client tab and fill the information for Module IP and Port.

Click Ping to check if camera IP is OK.

Click Connect, and the software will display that it is connected to the camera.

Click Send.

Once sent, you can see the information received on Cell C5.

On Cell B8, type a message to send.
By default, EditString function accepts messages with 8 characters.
You can modify the length of this message by modifying the property. When you have the message to send on Cell B8, then press click on Cell B7.

On Hercules software you could see input (pink color) and output (blue color) messages.

Set camera Offline.


B12 is TCPClient to be used to send the message on D12

On Cell B14, type ReadDevice(B12).

Put camera into Online mode.

Select TCP Server and indicate the Port number.
This number must be the same as the port declared on In-Sight Vision Suite software.


In the In-Sight Vision Suite software, you will see that message arrive on cell B14.

Send a trigger on to the camera.

As soon as camera get the trigger information, Cell D12 will be sent to the Hercules software.
