SW-2000M-CL-65
17
6
Command line interface
The command line interface provides an easy, interactive way to control the camera. All
commands can be given either through the Ethernet interface using the Telnet protocol, or
through the Camera Link serial port using plain ASCII communication. The command line usage
instructions are common to both Telnet and serial bus command line interfaces.
6.1
Connecting via Telnet
To connect the camera using Telnet:
•
Consult your IT department to check if you can plug the camera to your local area
network with the default IP address 10.10.10.10. You may change the address by using
the NET IP command. Alternatively, you may configure your network card to build a
direct connection to the camera.
•
Connect the camera to a local area network using a twisted-pair cable. A shielded cable
of category 5 or higher is recommended.
•
Open a Telnet client on the computer. Two options are available from JAI. Please refer
to
chapter 9
of this document. Also free or commercial Telnet clients can be
downloaded from various internet sites. The following Telnet clients are examples of
clients tested with the Sweep cameras:
o
Foxterm
o
PuTTY
•
Open a Telnet connection to the IP address of the camera.
6.2
Connecting via Camera Link Serial Bus
To connect the camera using the Camera Link Serial Bus:
•
Open a serial port. This may be a COM port of your PC or a terminal supplied by the
frame grabber board.
•
Select the port settings: 9600 bps, 8 data bits, no parity, 1 stop bit
•
Open a serial connection.
6.3
Entering the commands
The commands are typed in the client console window like in any command line interface. A
carriage return (ENTER) terminates the command line and transmits it to the command
interpreter in the camera for parsing and execution.
If the communication is coded into a software application then each line must have a carriage
return character (ASCII: 0x0D) at the end. Also, a line feed character (0x0A) may be sent after
the carriage return, but it is not needed.