EasyManuals Logo

ITech IT8200 Series Programming Guide

ITech IT8200 Series
137 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #15 background imageLoading...
Page #15 background image
SCPI Introduction
Copyright © ITECH Electronic Co., Ltd. 3
something in between.
For Example, :SYSTe:Erro? is illegal and will generate an error. The
command will not be executed.
Query
Observe the following precautions with queries:
Set up the proper number of variables for the returned data. For Example, if
you are reading back a measurement array, you must dimension the array
according to the number of measurements that you have placed in the
measurement buffer.
Read back all the results of a query before sending another command to the
instrument. Otherwise a Query Interrupted error will occur and the unreturned
data will be lost.
1.3 Message Type of SCPI
There are two types of SCPI messages, program and response.
Program message: A program message consists of one or more properly
formatted SCPI commands sent from the controller to the instrument. The
message, which may be sent at any time, requests the instrument to perform
some action.
Response message: A response message consists of data in a specific SCPI
format sent from the instrument to the controller. The instrument sends the
message only when commanded by a program message called a "query."
The next figure illustrates SCPI message structure:
The message unit
The simplest SCPI command is a single message unit consisting of a command
header (or keyword) followed by a message terminator. The message unit may
include a parameter after the header. The parameter can be numeric or a string.
ABORt<NL>
VOLTage 20<NL>
Headers
Headers, also referred to as keywords, are instructions recognized by the
instrument. Headers may be either in the long form or the short form. In the long
form, the header is completely spelled out, such as VOLTAGE, STATUS and

Table of Contents

Other manuals for ITech IT8200 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ITech IT8200 Series and is the answer not in the manual?

ITech IT8200 Series Specifications

General IconGeneral
BrandITech
ModelIT8200 Series
CategoryMeasuring Instruments
LanguageEnglish