108
Chapter 9
Measurement Applications (Sample Programs)
Recovering the Correction State
Recovering the Correction State
This application program recovers the OPEN/SHORT/LOAD correction state of E4981A
from a text file and then updates the E4981A to the saved correction state.
The program of
is described in detail below. Each explanation below is
inserted as a comment line in the program. For details on the VISA functions, refer to the
I/O Library Suite manual.
Configuration
Define Variables and initialize the program.
Open Instrument Assigns a USB address or GPIB address to the I/O bus.
Setup Start
Presets the E4981A. Sets the measurement conditions and the LCD
display.
Setup End
Presets the E4981A. Reads the E4981A correction data such as
Frequency, Primary and Secondary parameters correction values for
Open/Short/Load, Standard values for Open/Short/Load, Cable length
and Phase Shift stored in a text file.
ErrorProc
Displays an error number when an error occurs.
ErrorCheck
A subroutine to check whether an error occurs when the IO Library
Suite function is executed.
SelectMode
A subroutine to change assignment of the I/O bus and address setting
according to the connection type i.e. USB or GPIB between the
E4981A and a PC.
FnComp
A function which performs OPEN/SHORT/LOAD correction and
returns 1 on success and 0 on failure.
Содержание E4981A
Страница 2: ......
Страница 20: ...18 Chapter1 Making Effective Use of This Manual How To Use This Manual ...
Страница 60: ...58 Chapter4 Preparation for Accurate Measurement Executing Correction Using the Cable Correction Function ...
Страница 88: ...86 Chapter7 Sorting Based on Measured Result Comparator Function Sample Program ...
Страница 162: ...160 Chapter9 Measurement Applications Sample Programs Detecting Error Occurrence using SRQ HT Basic ...
Страница 376: ...374 AppendixE Error Messages Warning Messages WARNING ...
Страница 382: ......
Страница 383: ...This information is subject to change without notice Keysight Technologies 2008 2014 Edition 2 August 2014 E4981 90001 ...