![background image](http://html2.mh-extra.com/html/racal-instruments/1257/1257_manual_3121580096.webp)
1257 User Manual
EADS North America Defense
SCPI Command Basics 5-5
Test and Services, Inc.
©
2001
3. An ASCII carriage return character followed by a linefeed
character.
Because of the variation in termination schemes for serial mode,
the 1257 must be configured through the front-panel user interface
to indicate whether it should expect carriage returns only, linefeeds
only, or carriage returns followed immediately by linefeeds.
To configure termination, select
-----SETTINGS-----
on the
top most line, select
Type: RS-232
on the second line, and
Option: EOL Mode
from the third line, and then choose the
appropriate setting on the fourth line. The default power-up state of
the instrument is linefeed only. To elect a different power-up state,
this setting like all other menu options can be saved to non-volatile
memory. For further details on front-panel usage refer to
Chapter
3: USING THE FRONT PANEL CONTROLS
.
The 1257 has the ability to interface with terminals and terminal
emulation software. Unfortunately, a wide variation of capabilities
exists in terminals/terminal emulators. Most terminals/terminal
emulators generally treat the “ENTER” key as a carriage return,
operate in half-duplex mode, and have the ability to add linefeeds
to incoming carriage returns.
To minimize frustration, set the terminal/terminal emulator to
operate in half-duplex mode and add linefeeds automatically to
incoming carriage returns. In this configuration, the 1257 should be
configured to expect a carriage return only. Using this method, the
terminal display will not have any overwritten lines and be much
easier to read and use.
Another option for terminals/terminal emulators that support
character translation is to have carriage returns translated into
linefeeds. In this scenario, the terminal/terminal emulator still
needs to operate in half-duplex mode. If however, the 1257 is
configured to accept linefeeds only, it will now send a linefeed with
replies. This eliminates the need to add linefeeds to carriage
returns since no carriage returns come into play on either side.
The two methods mentioned here are only suggestions and do not
cover all possibilities. The 1257 is a flexible instrument and will
work in many different configurations.