beautypg.com

GW Instek PEL-2000 Series Programming User Manual User Manual

Page 31

background image

COMMAND DETAILS

31

Example

*SRE?
48

Returns settings of the
Service Request Enable
Register. Here ESB and
MAV are returned.

*STB?

Status Command

Description

Reads the Status Query Byte Register. The *STB?
command does not clear the register.
If the Master Summary Status bit (MSS) is set, it
indicates that there is a reason for a service
request.

Query Syntax

*STB

Return Parameter

Bit(s) Set

Bit(s) Set

4

CSUM

32

ESB

8

QUES

64

MSS

16

MAV

Query Example

*STB?
36

Returns status of a byte
query in the Status Byte
Register. Here CSUM
and ESB are returned.

*TST?

Status Command

Description

Performs a system self-test and returns 0 if all tests
passed. 1 is returned if a test failed.

Query Syntax

*TST?

Return Parameter

Test result

Test result

0

Pass

1

Fail

Example

*TST?
>0