Ametek 7280 Instruction Manual page 198

Wide bandwidth dsp lock-in amplifier
Table of Contents

Advertisement

Appendix F, ALPHABETICAL LISTING OF COMMANDS
DCB n
DCT n
F-6
value is available. The loop should continue until bit 1 is set, indicating that the
transfer is completed.
Dump acquired curve(s) to computer in binary format
This command causes a stored curve to be dumped via the computer interface in
binary format, using two bytes per point. All curves other than the lower 16-bits of
the reference frequency curve (curve 15) use 16-bit 2's complement encoding, and all
data points are sent with the MSB first. The number of data bytes sent is therefore
equal to twice the current curve length. Each point is sent in fixed point mode, there
being no floating point version of the command, and hence if floating point values
are required the user may need to additionally store and read the Sensitivity curve
and then perform the correction in his own software. In order to achieve the
maximum transfer rate, no terminators are used within the transmission, although the
response is terminated normally at the end.
One curve at a time is transferred. The value of n is the bit number of the required
curve, which must have been stored by the most recent CBD command. Hence n can
range from 0 to 16 in Single Reference Mode, and 0 to 21 in the dual modes. If for
example CBD 5 had been sent, equivalent to asserting bits 0 and 2, then the X and
Magnitude outputs would be stored. The permitted values of n would therefore be 0
and 2, so that DCB 0 would transfer the X channel output curve and DCB 2 the
Magnitude curve.
Curves 15 and 16 store the reference frequency in millihertz. When using the DCB
command (although not with the other curve transfer commands), both curves need to
be transferred separately. They should then be converted to two arrays of integer
values, allowing for the fact that the data points in curve 15 are unsigned 16-bit
values, while those in curve 16 are signed 2's complement 16-bit values (although in
practice they are never negative). Finally they should be assembled into a single
curve using the following algorithm:
Reference Frequency = (65536 × value in Curve 16) + (value in Curve 15)
The computer program's subroutine which reads the responses to the DCB command
needs to be able to handle the potentially very large data blocks (64 k bytes in the
case of one 32 k curve) that can be generated.
NOTE: When using RS232 communications, the interface must be set to use 8 data
bit transmission.
Dump acquired curves to computer in tabular format
This command is similar to the DC command described above, but allows transfer of
several curves at a time and only operates in fixed point mode. Stored curve(s) are
transferred via the computer interface in decimal format.
In single reference mode, the DCT parameter is an integer between 1 and 131,071,
being the decimal equivalent of a 17-bit binary number. In either of the dual
reference modes, it is an integer between 1 and 4,194,303, being the decimal
equivalent of a 22-bit binary number. When a given bit in the number is asserted, the
corresponding curve is selected for transfer. When a bit is negated, the curve is not
transferred. The bit corresponding to each curve is shown in the table below:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents