Fluke 5020A user manual Example STATMEASCOND? Response, STATusMEASureENABle?, STATusOPERation?

Models: 5020A

1 142
Download 142 pages 21.97 Kb
Page 120
Image 120
Example: STAT:MEAS:COND?

5020A

Users Manual

measure bit.

Bit 3 Channel 2 humidity measure bit.

Bit 4 Not used Bit 5 Not used Bit 6 Not used. Bit 7 Not used.

Example: STAT:MEAS:COND?

Response: 15

STATus:MEASure:ENABle?

This command returns the Measurement Status Enable Register (see

STATus:MEASure:ENABle <num> command below).

Example: STAT:MEAS:ENAB?

Response: 15

STATus:MEASure:ENABle <num>MINMAXDEF

This command sets the Measure Status Enable Register. This register determines which event bits of the Measure Status Event Register affect the Measure Status Bit of the Status Byte Register. If any bit in the Measure Status Event Register is set (1) while its corresponding mask bit in the Measure Status Enable Register is set, the Measure Status Bit in the Status Byte Register will be set. The value of the <num> parameter is a number from 0 to 15 that is the sum of the binary-weighted values of each mask bit. The Measure Status Event Register is described in Section 8.4.11.13, STATus:MEASure?. The following example causes the Measure Status Bit in the Status Byte Register to be set when measurements on both channels have been completed.

Example: STAT:MEAS:ENAB 15

Response: 15

STATus:OPERation?

This command reads and clears the Operation Status Event Register. The value returned indicates the condition of each of the eight bits of the register by adding the binary- weighted values of each bit. The meaning of each bit, when set (1), is as follows where 0 is the least significant and 7 is the most significant:

0:no measurement

Bit 0 Not used. Bit 1 Not used. Bit 2 Not used. Bit 3 Not used.

Bit 4 Measurement Complete bit. Bit 5 Not used.

Bit 6 Not used. Bit 7 Not used.

Example: STAT:OPER?

Response: 16

STATus:OPERation:CONDition?

This command reads the Operation Status Condition Register. Reading this register does not affect it. The value returned indicates the condition of each of the eight bits of the

6-50

Page 120
Image 120
Fluke 5020A Example STATMEASCOND? Response, STATusMEASureENABle?, STATusMEASureENABle numMINMAXDEF, STATusOPERation?