*STB?

PM6680B/81/85

Status Byte Query

Reads out the value of the Status Byte. Bit 6 reports the Master Summary Status bit (MSS), not the Request Service (RQS). The MSS is set if the instrument has one or more reasons for requesting service.

Returned Format:

<Integer> = the sum (between 0 and 255) of all bits that are true. See table below:

Status Byte Register (1 = true)

 

Bit

Weight

Name

Condition

 

 

 

 

7

128

OPR

Enabled operation status has occurred.

6

64

MSS

Reason for requesting service

5

32

ESB

Enabled status event condition has occurred

4

16

MAV

An output message is ready

3

8

QUE

The quality of the output signal is questionable

2

4

EAV

Error available

1

2

 

Not used

0

1

DREG0

Enabled status device event conditions have

 

 

 

occurred

 

 

 

 

See also: If you want to read the status byte with the RQS bit, use serial poll.

Complies to standards:

IEEE 488.2 1987.

 

 

 

 

 

 

 

 

PM6680B/81/85

Trigger

*TRG

The trigger command *TRG starts the measurement and places the result in the output queue.

It is the same as:

:ARM:STARt:LAYer2:IMM; *WAI;:FETCh?

The Trigger command is the device-specific equivalent of the IEEE 488.1 defined Group Execute Trigger, GET. It has exactly the same effect as a GET after it has been received, and parsed by the counter.

However, GET is much faster than *TRG, since GET is a hardware signal that does not have to be parsed by the counter.

Example:

SEND￿ :ARM:START:LAY2:SOURCE ￿ BUS

SEND￿ :INIT:CONT ￿ ON

SEND￿ *TRG

READ￿ +3.2770536E+004

Type of Command:

Aborts all previous measurement commands if not *WAI is used.

Complies to standards:

IEEE 488.2 1987.

Command Reference 9-131

Page 261
Image 261
Fluke PM6681R, PM6685R Status Byte Query, ARMSTARtLAYer2IMM *WAIFETCh?, Send ARMSTARTLAY2SOURCE BUS Send Initcont on