beautypg.com

Scpi commands for system-related tasks – Agilent Technologies U2751A User Manual

Page 42

background image

26

U2751A User’s and Service Guide

2

Operation and Features

SCPI Commands for System-Related Tasks

The following examples show the SCPI commands for
performing certain system

-related tasks.

Example 4, Performing system

-related tasks

-> *CLS

; *RST

// Resets the switch to the

default power

-on state.

This command can be
ignored if this operation is
not required.

-> *TST?

// Executes the self

-test.

<- +0

// Returns a +0 if the test

pass else it will return a
+1 if it fails.

-> SYST:ERR?

// Returns the error number

and its corresponding
message string from the
error queue.

<- +0

, "No Error"