EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>E4445A

Agilent Technologies E4445A User Manual

Agilent Technologies E4445A
434 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 #298 background imageLoading...
Page #298 background image
298 Chapter 5
Programming Fundamentals
Improving Measurement Speed
Programming Fundamentals
your numerical data queries. You may need to swap the byte order if
you are using a PC rather than UNIX. NORMal is the default byte order.
Use :FORMat:BORDer SWAP to change the byte order so that the least
significant byte is sent first. (Real,32 which is smaller and somewhat
faster, should only be used if you dont need full resolution for your
data. Some frequency data may require full 64 bit resolution.)
When using the binary format, data is sent in a block of bytes with an
ASCII header. A data query would return the block of data in the
following format: #DNNN<nnn binary data bytes>
To parse the data:
Read two characters (#D), where D tells you how many N characters
follow the D character.
Read D characters, the resulting integer specifies the number of data
bytes sent.
Read the bytes into a real array.
For example, suppose the header is #512320.
The first character/digit in the header (5) tells you how many
additional digits there are in the header.
The 12320 means 12 thousand, 3 hundred, 20 data bytes follow the
header.
Divide this number of bytes by your current data format (bytes/data
point), 8 for real,64. For this example, there are 1540 data points in
the block of data.
Minimize the number of GPIB transactions.
When you are using the GPIB for control of your instrument, each
transaction requires driver overhead and bus handshaking, so
minimizing these transactions reduces the time used.
You can reduce bus transactions by sending multiple commands per
transaction. See the information on Putting Multiple Commands on
the Same Line in the SCPI Language Basics section.
If you are using the
MEASURE key measurements and are making the
same measurement multiple times with small changes in the
measurement setup, use the single READ command. It is faster then
using INITiate and FETCh.
Avoid unnecessary use of *RST.
Remember that while *RST does not change the current Mode, it
presets all the measurements and settings to their factory defaults.
This forces you to reset your analyzers measurement settings even if
they use similar mode setup or measurement settings. See Minimize
DUT/instrument setup changes. below. (Also note that *RST may put
the instrument in single measurement/sweep for some modes.)

Table of Contents

Other manuals for Agilent Technologies E4445A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E4445A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4445A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals