background image

 

Software Installation 

Sealevel Systems 

8.Ultra

 Page 

6

 

Linux Device Driver Installation 

The source code is in .tar.gz format, type "tar xzvf filename.tar.gz" to extract the files and refer to the INSTALL file 
in the extracted directory. If you have downloaded an RPM file compatible with your system, type "rpm -i 
filename.rpm" to install the software. To implement a virtual serial port in Linux, use the SeaLINK virtual serial 
port module, provided in the software installation. 

1.

 

Configuration 

 

Before you can access a serial port, you must “install” it to the client computer. Launch the 
“SeaLINK Configuration” console utility by typing “/usr/sbin/sealinkcfg”. If your device is on the 
local network, you should see it listed. Type ‘i’ followed by the number of the hub in the list 
(probably “i 1”) to install it. If your device is not listed, type 'n' and follow the prompts to tell the 
software about your device. 

 

When finished configuring ports, type ‘q’ to quit. The SeaLINK driver must be restarted (or 
started for the first time), so type either “/sbin/sealink restart” or “/sbin/sealink start”. If one gives 
you an error, try the other one. 

2.

 

Usage Details 

 

Once a device has been installed, it can be accessed through the character devices “/dev/ttySL[0-
n]”, where ‘n’ is the number of ports on your device minus one. For example, “echo hello > 
/dev/ttySL0” will send the ASCII characters “hello” to the first serial port on your device, while 
“echo hello > /dev/ttySL2” will do the same for the third serial port.  

 

The /dev/ttySL devices are designed to communicate with a virtualized a serial port, so programs 
can access them just like a /dev/ttyS port using the termios functions (see the man page for 
termios). Note that unlike a normal serial port, SeaLINK serial ports can only be opened by one 
program at a time. This is done to ensure that the correct client receives the correct data/signals. 

Raw Data Sockets 

Raw Data Sockets are probably the easiest way for a software developer to control a serial port, but provide the least 
control from a software standpoint. You can simply open a socket to the device on the Raw Data TCP port 
corresponding to the serial port you want and stream data back and forth. The data will not be inspected or modified 
in any way. This method provides the least control because serial port functions such as baud rate and modem 
control signals cannot be monitored or changed programmatically. However, Raw Data is platform-independent and 
requires no software installation. If your purposes do not require dynamic serial port control, Raw Data may be the 
most efficient choice for you. 

1.

 

Configuration 

 

Since Raw Data does not allow for programmatic changing of serial port controls, the serial ports 
must be configured before use via the onboard web server (see the section Web Configuration). 
From the Port Settings page, configure the ports to the desired settings and click Submit at the 
bottom of the page. The serial ports will automatically be set to these defaults when opened 
Selection). 

2.

 

Usage Details 

 

To access a serial port using Raw Data mode, open a TCP socket to the device’s IP address on 
port 4760, which corresponds to the serial port on the device. 

Only one client can open each serial port at a time. All further socket requests to a TCP port will be denied. 

Summary of Contents for SeaLINK+8.Ultra

Page 1: ...SeaLINK 8 Ultra Users Manual Part 4803 Sealevel Systems Inc Telephone 864 843 4343 155 Technology Place Fax 864 843 3067 Liberty SC 29657 USA www sealevel com...

Page 2: ...NFIGURATION 5 LINUX DEVICE DRIVER INSTALLATION 6 RAW DATA SOCKETS 6 TECHNICAL DESCRIPTION 7 CONNECTOR PIN ASSIGNMENTS 7 RS 422 485 DB 9 Male 7 RS 232 DB 9 Male 7 SPECIFICATIONS 8 ENVIRONMENTAL SPECIFI...

Page 3: ...communications for long distance device connections up to 4000ft where noise immunity and high data integrity are essential RS 485 is optimized for Multi Drop or Party line operations selecting data...

Page 4: ...8 ULTRA in an RS 485 application with the standard Sealevel Software supplied drivers Typically each end of the RS 485 bus must have a line terminating resistor RS 422 terminates the receive end only...

Page 5: ...l option is also available to remove all registry INI file entries from the system Linux If you have downloaded the source code in tar gz format type tar xzvf filename tar gz to extract the files and...

Page 6: ...allows you to configure aspects of each serial port and an administration page that lets you change the device s network and password settings Port Defaults The Port Settings page allows you to set de...

Page 7: ...uns the Select Ports Window appears Check one or more new COM ports for SeaLINK to create and click OK Note The list of COM ports will not include those already in use by Windows on this PC 4 Configur...

Page 8: ...irtualized a serial port so programs can access them just like a dev ttyS port using the termios functions see the man page for termios Note that unlike a normal serial port SeaLINK serial ports can o...

Page 9: ...X Receive Data Positive 1 Input RX Receive Data Negative 2 Input CTS Clear To Send Positive 9 Input CTS Clear To Send Negative 8 Input RS 232 DB 9 Male Signal Name Pin Mode GND Ground 5 TD Transmit Da...

Page 10: ...ture Range 0 to 70 C 32 to 158 F 50 to 105 C 58 to 221 F Humidity Range 10 to 90 R H Non Condensing 10 to 90 R H Non Condensing Manufacturing All Sealevel Systems Printed Circuit boards are built to U...

Page 11: ...all cables are connected securely 5 Verify that the Ethernet Hub Switch and any other network devices between the server and the SeaLINK device is powered up and operating 6 Ensure that the Serial Se...

Page 12: ...provides an FAQ section on its web site Please refer to this to answer many common questions This section can be found at http www sealevel com faq asp 4 Sealevel Systems maintains a web page on the...

Page 13: ...fications On a differential interface logic levels are defined by the difference in voltage between a pair of outputs or inputs In contrast a single ended interface for example RS 232 defines the logi...

Page 14: ...ion of a pre defined number of stop bits usually 1 1 5 or 2 An extra bit used for error detection is often appended before the stop bits Remain Idle or next start bit Odd Even or Unused STOP P BIT 5 t...

Page 15: ...Appendix E Back Panel Sealevel Systems SeaLink 8 Ultra Page 13 Appendix E Back Panel...

Page 16: ...expense EMC Directive Statement Products bearing the CE Label fulfill the requirements of the EMC directive 89 336 EEC and of the low voltage directive 73 23 EEC issued by the European Commission To o...

Page 17: ...ed from Sealevel Systems before returned merchandise will be accepted Authorization is obtained by calling Sealevel Systems and requesting a Return Merchandise Authorization RMA number The Customer ag...

Reviews: