beautypg.com

Device clear – Agilent Technologies N5700 User Manual

Page 63

background image

SCPI Commands – an Introduction

Series N5700 User’s Guide

63

Response Data Types

Symbol Response

Formats

Character Response Data. Permits the return of character
strings.

Arbitrary ASCII Response Data. Permits the return of
undelimited 7-bit ASCII. This data type has an implied message
terminator.

String Response Data. Returns string parameters enclosed in
double quotes.

Device Clear

You can send a Device Clear at any time to abort a SCPI command
that may be hanging up the GPIB interface. Device Clear clears the
input and output buffers of the power supply. The status registers,
error queue, and all configuration states are left unchanged by Device
Clear. Device Clear also prepares the power supply to accept a new
command string. The following statement shows how to send a device
clear over the GPIB interface using Agilent BASIC:

CLEAR 705

IEEE-488 Device Clear

The following statement shows how to send a device clear over the
GPIB interface using the GPIB command library for C or
QuickBASIC:

IOCLEAR (705)