Print) – Measurement Computing Analyzer488 User Manual

Page 150

Advertising
background image

Section 4

Serial Controller

4.56

? (PRINT)

The ? (PRINT) command returns formatted bus data or record memory data.

PRINT

returns bus messages for data lines and a three-letter abbreviation for each

bus management line if it is asserted.

Blocks of record memory data can be printed by specifying a starting and an

ending memory location, or a starting location and a length. Sending the ? command
without an option will return bus data if BUS was the most recent option used, or
record memory data from the location following the last location printed if
location

was the last option used.

The state of all bus lines is shown using the BUS option. When requesting the

state of the bus using the ? BUS command, the state of the handshake lines is
returned as follows: ND if Not Data Accepted (NDAC) is asserted, NR if Not Ready for
Data (NRFD) is asserted, and DA if Data Available (DAV) is asserted.

If relative addressing is used (see RELATIVE), a sign, + or -, will always be

printed in front of the record memory location. If relative addressing is not used, a
space will be printed instead of a sign. If the memory location printed contains the
trigger point, a T will be printed in the first position. If the memory location contains a
bus error, the word ERROR will be printed at the end of the line.

This command does not have a query option.

TYPE

Record command

SYNTAX

?
or
? [location] TO [location]
or
? [location] LENGTH [count]
or
? BUS

location is an address of the record memory. location is from 0
to 32767 if absolute addressing is used, and from -32767 to 32767
if relative addressing is used.

Advertising