24 • Computer Control
NEW FOCUS, Inc.
computer. Configuration is required to talk to an instrument at a given
address, and to issue commands to it from the programming language.
The
IEEE
connector on the back of the laser controller allows for
remote operation through a standard IEEE-488 (GPIB) cable. The
connector is a standard, female, 24-pin IEEE-488 connector for use
with a standard shielded IEEE-488 cable.
Before you can operate the laser through the IEEE interface, you must
assign a device address to the laser controller that is unique from all the
other IEEE-488 components attached to your computer.
See “Programming for the Vidia-Discrete” on page 26 for more
information on using the IEEE interface.
Setting the Device Address
1. On the front panel, press and hold the
Local
button and hold up the
GPIB/RS232
switch.
2. Turn the
Wavelength Adjust
knob until the desired address
number appears in the Wavelength display. The address can be
from 1 to 31.
3. Release the
Local
button and the
GPIB/RS232
switch.
Using the RS-232 Interface
The
RS-232
9-pin connector on the back of the controller allows
remote operation through an RS-232 serial connection. To use the RS-
232 interface, attach a 3-wire, straight-through RS-232 cable with a
male D-sub 9 connector to the
RS-232
port on the back of the laser. The
cable should be less than 50-feet long. For extremely noisy
environments, you may need to use a shielded cable.
The laser controller receives data on pin 3 and transmits data on pin 2 (see
page 63). If you have trouble communicating with the laser over the RS-232 port,
you may need to use a null-modem adapter or cable.
The controller can support baud rates up to 19,200 bps. Set your
computer to 8-data bit, no parity checking, 1 stop bit, no hardware
handshake. Use the following steps to set the controller’s baud rate.
Note:
Note:
64X7 rev E.fm Page 24 Tuesday, April 3, 2001 4:16 PM
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com