Relative – Measurement Computing Analyzer488 User Manual

Page 156

Advertising
background image

Section 4

Serial Controller

4.62

RELATIVE

The RELATIVE command enables or disables the Relative Addressing Format

for use in referencing data in the record memory. RELATIVE ON puts the
Analyzer488 in the Relative Addressing Format. RELATIVE OFF puts the
Analyzer488 in the Absolute Addressing Format.

The query option, RELATIVE?, returns RELATIVE ON if Relative Addressing

Format is enabled or RELATIVE OFF if Absolute Addressing Format is enabled.

TYPE

Record command

SYNTAX

RELATIVE{[?]|[ON|OFF]}

RESPONSE

None

REMARKS

Relative addressing is used to allow easier referencing of bus data
in the record memory. For example, assume bus events have been
recorded and the trigger point is at location 24356. To see the bus
event that occurred 24 locations before the trigger point, you would
need to subtract 24 from 24356 and use this new address (24332)
for the desired location. An simpler approach would be to use
relative addressing and set the relative address to the address of the
trigger point. To do this, set the relative address to 24356 by
issuing the SET RELATIVE 24356 command. Enable relative
addressing by using the RELATIVE ON command. To specify the
same location as before, use -24 as the address rather than 24332.
When addresses are printed using the PRINT or VIEW commands,
the relative addresses (not the physical addresses) are printed. For
this example, the printed address of the trigger point would be
00000 if Relative Addressing Format is enabled.

MODE

Any

BUS STATES

None

QUERY

Returns RELATIVE ON if Relative Addressing is enabled or

RESPONSE

RELATIVE OFF

if Absolute Addressing is enabled.

Advertising