Introduction To SCPI

46

Conventions

46

Types of SCPI Commands

46

Traversing the Command Tree

47

Active Header Path

47

The Effect of Optional Headers

47

Moving Among Subsystems

48

Including Common Commands

48

SCPI Queries

48

Value Coupling

48

Types of SCPI Messages

49

Structure of a SCPI Message

49

SCPI Data Formats

51

Numerical Data

51

Boolean Data

51

Character Data

51

SCPI Command Completion

52

Programming Examples

52

Programming Voltage and Current

53

Programming Protection Circuits

53

Changing Outputs by Trigger

53

Saving and Recalling States

53

Writing to the Display

54

Programming Status

54

Detecting Events via SRO

54

Reading Specific Registers

54

Programming the Digital I/O Port

55

System Considerations

55

Setting the GPIB Address

55

Changing the Power supply GPIB Address

55

Assigning the GPIB Address In Programs

56

DOS Drivers

57

Types of Drivers

57

Error Handling

57

Agilent BASIC Controllers

57

Sample Program Code

57

SCPI Confirmed Commands

62

NON-SCPI Commands

62

7 - LANGUAGE DICTIONARY

63

Introduction

63

Parameters

63

Related Commands

63

Order of Presentation

63

Common Commands

63

Subsystem Commands

63

Description Of Common Commands

64

*CLS

64

*ESE

65

*ESR?

65

*IDN?

66

*OPC

66

*OPC?

67

*OPT?

67

*RCL

68

*RST

69

8

Page 8
Image 8
Agilent Technologies E4356A manual Introduction To Scpi, Types of Scpi Commands, Types of Scpi Messages, Scpi Data Formats