EasyManuals Logo

Agilent Technologies 4288A User Manual

Agilent Technologies 4288A
289 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 #72 background imageLoading...
Page #72 background image
70 Chapter 6
Reading Out Measured Result
Reading Out Measured Result
Reading out measured result using :READ? command
You can use this readout method when you want to read out the result synchronously with
the completion of measurement without detecting the time of trigger in the trigger wait
state in your program. Therefore, this is useful, for example, when you want to trigger the
instrument from external equipment such as a handler and read out the result using an
external controller immediately after the completion of measurement.
The readout procedure using the :READ? command is described below.
Step 1. Use the :TRIG:SOUR command on page 196 to set the trigger mode to internal trigger
(Internal) or external trigger (External).
Step 2. Execute the :READ? command.
Step 3. Trigger the instrument using the method for the trigger mode setup.
Step 4. Read out the measured result. To repeat the measurement, repeat Steps 2 to 4.
Example 6-5 and Example 6-6 show sample programs using the :READ? command.
Example 6-5 is for the ASCII transfer format and Example 6-6 is for the binary transfer
format. These programs are stored on the sample program disk under the filenames
“read_a.bas” and “read_b.bas.”
These programs, when an external trigger is inputted and the measurement finishes, read
out the measurement status, measured primary parameter result, measured secondary
parameter result, and comparator sorting result (when the comparator function is ON) and
then display this information.
The program of Example 6-5 is detailed below.
Line 60 Sets the GPIB address.
Line 70 Sets the data transfer format to the ASCII format.
Lines 90 to 100 Turns OFF the trigger system continuous startup and sets the trigger
mode to external trigger.
Lines 120 to 130 Reads out the ON/OFF state of the comparator function and assigns it
to the Comp_flag variable.
Lines 170 to 180 Executes the :READ? command, displays the message to prompt the
user to input an external trigger, and waits until the external trigger is
inputted and the measurement finishes.
Line 200 If the Comp_flag value is 1 (the comparator function is ON), reads out
the measurement status, measured primary parameter result, measured
secondary parameter result, and comparator sorting result.
Line 220 If the Comp_flag value is not 1 (the comparator function is OFF),
reads out the measurement status, measured primary parameter result,
and measured secondary parameter result.
Lines 270 to 290 Displays the measurement status, measured primary parameter result,
and measured secondary parameter result.
Line 310 If the Comp_flag value is 1 (the comparator function is ON), displays
the comparator sorting result.
Line 330 If the Comp_flag value is not 1 (the comparator function is OFF),
displays “Comparator : OFF.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4288A and is the answer not in the manual?

Agilent Technologies 4288A Specifications

General IconGeneral
BrandAgilent Technologies
Model4288A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals