### TCP/Serial Output

TCP/Serial Output options allow you to:

- Select Serial or TCP ports for output.
- Specify the decimal places for measurement tool output.
- Use special non-printable characters to format TCP/Serial Output.

Hint: To reset any output string value to Not Connected, click the X to the right of the value you want to disconnect.

Precautions for Correct Use: When using AutoVISION's Emulator, you can use your TCP connection to view data output.

##### Special Non-Printable Characters in TCP/Serial Output

TCP/Serial Output accepts the following special characters, which can be used to configure the output string:

\a bell

\b backspace

\f form feed

\n new line

\r carriage return

\t horizontal tab

\v vertical tab

\’ single quote

\x022 double quote ( ” )

\? question mark

\ooo three digit octal notation ASCII value, i.e. \145 = 'e'

\x0hh hexadecimal notation ASCII value, i.e. \x04C = 'L'

##### Viewing TCP Output

When you have configured how you want data to be output over TCP, run the job in a tryout loop (a preview of Run view) or click the Run view to begin data output. A tryout loop can be started by clicking the button indicated below.

To view output using the TCP connection, you first need to enable Telnet on your computer.

1. Go to Control Panel > Programs and Features.

2. Click on Turn Windows Features On or Off in the upper left corner of the dialog box.

3. Select Telnet Client in the new dialog box.

4. Click OK. Telnet Client is now enabled.

- While the tryout loop (a preview of Run view) or the job is running, open Run from the Start Menu in Windows.

- Type cmd in the text field. This will bring up the Windows command line interface.

- At the prompt, type telnet 127.0.0.1 4921x (where 'x' = the TCP port number - for example, 49211, 49212, 49213, etc.) and Enter.

Note: 127.0.0.1 means "this computer".

Precautions for Correct Use: If you are connected to a camera, type telnet [camera’s IP address] 4921x (where ‘x’ = the TCP port number – 49211 to 49215) and Enter.

- After you type Enter you will be connected to a Telnet session that shows data output as it was formatted on AutoVISION's TCP/Serial Output tab.

##### Inspection Output

The following parameter output can be linked using Omron Microscan Link:

- Status: Pass/Fail (Compatible with the bool data type)