*LRN?

Learn Device Setup

PM6680B/81/85

Learn Device Setup Query. Causes a response message that can be sent to the instrument to return it to the state it was in when the *LRN? query was made.

Returned Format:

:SYST:SET_<Block data>￿

Where:

<Block data> is #292<92 data bytes> for PM6680B <Block data> is #3104<104 data bytes> for PM6681 <Block data> is #276<76 data bytes> for PM6685

Example

SEND￿ *LRN?

Complies to standards:

IEEE 488.2 1987.

 

 

*OPC

Operation Complete

PM6680B/81/85

The Operation Complete command causes the device to set the operation com- plete bit in the Standard Event Status Register when all pending selected device operations have been finished. See also Example 4 in Chapter 4.

Example:

Enable OPC-bit

SEND￿ *ESE ￿ 1

Start measurement (INIT). *OPC will set the operation complete bit in the status register when the measurement is done.

SEND￿ :INIT;*OPC

Wait 1s for the measurement to stop. Read serial poll register, will reset service request

SPOLL

Check the Operation complete bit (0) in the serial poll byte. If it is true the measurement is completed and you can fetch the result.

SEND￿ FETCh?

Then read the event status register to reset it:

SEND￿ *ESR?

If bit 0 is false, abort the measurement.

SEND￿ :ABORt

Complies to standards:

IEEE 488.2 1987.

9-124 Command Reference

Page 254
Image 254
Fluke PM6685R, PM6681R manual Learn Device Setup, Operation Complete, Send INIT*OPC