Hardware manual

TCP-IP Logger Impact Reference Guide
Datalogic Automation Inc. 4-122
button and select Control Panel Tree (see “Select Design View Options” on page 4-6). You can display the
received data by linking the Last Data Received property to a text display control.
The control will find all local IP addresses, select the first one by default, and display them in the Local IP
Address property drop down list. The last address selected is saved with the Control Panel (cp) file and
restored when the file is reloaded providing that the address exists on the client machine that loaded the file.
If it does not exist, the control defaults to the first address found.
You can link the Local IP Address property from the control to a VPM tool, for example, through a SetData
link to set the IP Address on a TCP/IP Out tool. You cannot link a value into this property; it can only be
changed by selecting one of the choices in the property drop down list.
Property Name What it is
Log Filename The name of the log file. Entered in the Log File property.
Log File Path The path to the log file. Entered in the Log File property.
Enabled If True, the control is enabled.
Name The control’s name.
Last Data
Received
The last data received by the control.
Last Write Failed If True, the control could not write to the log file.
Last Write Suc-
cessful
If True, the control successfully wrote to the log file.
Listening If True, the control is currently listening for data on the Listening On Port
Local IP Address The client computer’s IP address.
Listening on Port The tool is monitoring this port for incoming data.
Max File Size
(bytes)
The maximum log file size. Oldest entries are overwritten with the newer
ones.
Overwrite Data If True, only the most recent log entry is saved. The Max File Size prop-
erty is ignored.
If False, when Max File Size is reached, the tool stops logging data.
Log File Click in the field to enter the log file’s name or browse to choose the file.
Log entries are written as text. The line delimiter type is chosen in the
TCP/IP Out tool.
Source Discon-
nects after each
Write
If True, the TCP/IP logging device is set to close its connection each time
it logs an entry. If False, the device leaves the connection open between
each log entry. This setting must match the device’s setting. (If you are
using the TCP/IP Out tool in VPM, this setting must match the tool’s "Dis-
connect after each Write" property.)
Source Discon-
nect Timeout
If the source device closes its connection, but this control cannot detect it,
the control will wait this amount of time then reset the connection. We
recommend that you leave this setting at the 5000 (5 second) default.