User`s manual
80 Chapter 3
O:\Manuals\E6380A_Progguid\Book\Guidelin.fm
HP-IB Command Guidelines
Guidelines for Operation
Reading-back Attribute Units
Use the AUNits? command to read back the Attribute Units setting for
the selected measurement. For example, the following BASIC language
program statements show how the AUNits? command can be used to
read-back a Distortion REFerence SET level:
Example 3-30 Example
!Query the REFerence SET value for the Distortion measurement
OUTPUT 714;"MEAS:AFR:DIST:REF:VAL?"
!Read the REFerence SET value into variable Ref_set_val
ENTER 714;Ref_set_val
!Query the Attribute Units setting for the Distortion measurement
OUTPUT 714;"MEAS:AFR:DIST:AUN?"
!Read the Attribute Units setting into string variable Atribute_set$
ENTER 714;Atribute_set$
!Print out the variables in the form <VALUE><UNITS>
PRINT Ref_set_val;Atribute_set$
If a reference of 25% is set, 25 PCT would be printed.