Decoder Log File Control

When the Save button is pressed in the text decoder, the SkySweeper opens the following configuration dialog. The dialog is used to control where decoded text is stored.

 

 

Text Window

The ‘Save Text Window’ button saves the decoder text window into file. The text window size can be set as lines. If the ‘Circular Buffer’ is checked, the oldest text is deleted at the beginning of the text window. If the check box is not checked, printing to the text window is stopped when the text window is full. The ‘Circular Buffer’ check button does not have any effect on log file.

 

Log File

When the log file is open all detected text is also written into the log file. Push the ‘Open Log button to open the log. Enter the log file name into open dialog. When the log is open, the ‘log status’ is Log Open and ‘Log File Name’ field tells the log file name. To close the log file push the ‘Close Log’ button. Note that the ‘Open ‘Log button name is changed to ‘Close Log’ button when the log file is open.

 

Internet Server

Decoder can send data to the internet using standard TCP/IP socket. The following parameters has to be configured before starting.

 

Port

The socket is identified with TCP/IP address and host port number. The port number must be free i.e. any other service or the SkySweeper block must not use the same port numner.

 

Connections

The connections defines how many concurrent connections server allows at the same time. The same data is sent to all clients.

 

Queue Length

If the maximum number of connections is in use, incoming connection requests goes into queue. When some connection is released the first connection request is taken from the queue. The queue length can be adjusted.

 

Echo On

If the check box is selected the SkySweeper echoes received data back to the sender.

 

Connection Log File

The server is able to store information about connections to the log file. You can use the browse button to select the log file name.

 

 

When all parameters are set push ‘Start Server’ button and close the dialog with OK button. The server status text box shows the current server status. More information is available pressing ‘Info’ button.

 

Server can be tested for example with standard telnet terminal program. Start telnet with the following command.

 

telnet 127.0.0.1 port

 

where the IP address 127.0.0.1 means own computer and port number is the same as which was configured into server.