EasyManuals Logo
Home>Agilent Technologies>Multimeter>3458A

Agilent Technologies 3458A User Manual

Agilent Technologies 3458A
372 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 #188 background imageLoading...
Page #188 background image
ISCALE?
188 Chapter 6 Command Reference
Syntax ISCALE?
Remarks • The scale factor is always 1 for the ASCII, SREAL, and DREAL output formats.
• Readings output in the SINT or DINT formats (see the OFORMAT command)
are first compressed by the multimeter so they may be expressed as integers.
Multiplying the readings by the value returned by ISCALE? will restore them
to their actual values. The scale factor is determined by the configuration of the
multimeter when ISCALE? is executed. This includes the measurement
function, range, and integration time. Therefore, the multimeter's configuration
must be the same when the scale factor is retrieved as it was when the readings
were taken. You can retrieve the scale factor after the multimeter is configured
but before readings are triggered or immediately after the readings made.
• You should not use the SINT or DINT output or memory format for frequency
or period measurements when a real-time or post-process math function is
enabled (except STAT or PFAIL) or when autorange is enabled.
• Related Commands: OFORMAT, SSAC, SSDC
Examples SINT Example
The following program outputs 10 readings in SINT format, retrieves the scale
factor, and multiplies the scale factor times each reading.
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 INTEGER Int_rdgs (1:1O) BUFFER !CREATE INTEGER BUFFER ARRAY
30 REAL Rdgs(1:1O) !CREATE REAL ARRAY
40 Num_readings=10 !NUMBER OF READINGS = 10
50 ASSIGN @Dvm TO 722 !ASSIGN MULTIMETER ADDRESS
60 ASSIGN @Int_rdgs TO BUFFER Int_rdgs(*) !ASSIGN BUFFER I/O PATH NAME
70 OUTPUT @Dvm;"PRESET NORM;OFORMAT SINT;NPLC 0;NRDGS ";Num_readings
75 !TARM AUTO, TRIG SYN, SINT OUTPUT FORMAT, MIN. INTEGRATION TIME
80 TRANSFER @Dvm TO @Int_rdgs;WAIT!SYN EVENT, TRANSFER READINGS INTO
81 !INTEGER ARRAY; SINCE THE COMPUTER'S INTEGER FORMAT IS THE SAME AS
85 !SINT,NO DATA CONVERSION IS NECESSARY HERE (INTEGER ARRAY REQUIRED)
90 OUTPUT @Dvm;"ISCALE?" !QUERY SCALE FACTOR FOR SINT FORMAT
100 ENTER @Dvm;S !ENTER SCALE FACTOR
110 FOR I=1 TO Num_readings
120 Rdgs(I)=Int_rdgs(I) !CONVERT EACH INTEGER READING TO REAL
125 !FORMAT (NECESSARY TO PREVENT POSSIBLE INTEGER OVERFLOW ON NEXT LINE)
130 R=ABS(Rdgs(I)) !USE ABSOLUTE VALUE TO CHECK FOR OVLD
140 IF R>=32767 THEN PRINT "OVLD"!IF OVLD, PRINT OVERLOAD MESSAGE
150 Rdgs(I)=Rdgs(I)*S !MULTIPLY READING TIMES SCALE FACTOR
160 Rdgs(I)=DROUND(Rdgs(I),4) !ROUND TO 4 DIGITS
170 NEXT I
180 END
DINT Example
The following program is similar to the preceding program except that it takes 50
readings and transfers them to the computer using the DINT format.
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 INTEGER Num_readings,I,J,K !DECLARE VARIABLES

Table of Contents

Other manuals for Agilent Technologies 3458A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 3458A Specifications

General IconGeneral
BrandAgilent Technologies
Model3458A
CategoryMultimeter
LanguageEnglish

Related product manuals