Terminators; Command Format - Ametek 7280 Instruction Manual

Wide bandwidth dsp lock-in amplifier
Table of Contents

Advertisement

Chapter 6, COMPUTER OPERATION

6.3.09 Terminators

6.3.10 Command Format

6-6
In order for communications to be successfully established between the lock-in
amplifier and the computer, it is essential that each transmission, i.e. command or
command response, is terminated in a way which is recognizable by the computer
and the lock-in amplifier as signifying the end of that transmission.
In the model 7280 there are three input termination options for GPIB
communications, selected from the front panel under the GPIB Settings menu or by
means of the GP command. The lock-in amplifier may be set to expect the <CR>
byte (ASCII 13) or the <CR,LF> sequence (ASCII 13 followed by ASCII 10) to be
appended by the controller as a terminator to the end of each command. Alternatively
instead of a terminator it may expect the EOI signal line (pin 5 on the GPIB
connector) to be asserted during the transmission of the last character of the
command. The third option is normally to be preferred with modern interface cards
which can easily be set to a wide variety of configurations.
The selected GPIB termination option applies also to the output termination of any
responses sent back by the lock-in amplifier to the controller, i.e. the lock-in
amplifier will send <CR> or <CR,LF> or no byte as appropriate. In all cases the
lock-in amplifier asserts the EOI signal line during the transmission of the last byte of
a response.
In RS232 communications, the lock-in amplifier automatically accepts either <CR>
or <CR,LF> as an input command terminator, and sends out <CR,LF> as an output
response terminator except when the noprompt bit (bit 4 in the RS232 parameter
byte) is set, in which case the terminator is <CR>. The default (power-up) state of
this bit is zero.
The simple commands listed in section 6.4 have one of five forms:
CMDNAME terminator
CMDNAME n terminator
CMDNAME [n] terminator
CMDNAME [n
[n
1
CMDNAME n
[n
1
2
where CMDNAME is an alphanumeric string that defines the command, and n, n
are parameters separated by spaces. When n is not enclosed in square brackets it must
be supplied. [n] means that n is optional. [n
present may optionally be followed by n
equivalent. Terminator bytes are defined in section 6.3.09.
Where the command syntax includes optional parameters and the command is
sent without the optional parameters, the response consists of a transmission of
the present values of the parameter(s).
Any response transmission consists of one or more numbers followed by a response
terminator. Where the response consists of two or more numbers in succession, they
are separated by a delimiter (section 6.3.11).
]] terminator
2
] terminator
[n
1
. Upper-case and lower-case characters are
2
]] means that n
is optional and if
2
1
, n
1
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents