Reading Measurement Results In Binary Format Using :Fetch? Command - Keysight Technologies E4981A Programming Manual

120 hz/1 khz/1 mhz capacitance meter
Hide thumbs Also See for E4981A:
Table of Contents

Advertisement

Reading Measurement Results in Binary Format Using :FETCh? Command

Reading Measurement Results in Binary Format Using
:FETCh? Command
This application program reads measurement data in Binary format using the :FETCh?
command.
The program of
Example 9-9
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 trigger conditions of the E4981A.
Measurement
Reads the measurement data using the :FETCh? command, calls the
function to convert data in Binary format to Ascii format, and displays
the Primary and Secondary Measurement data.
Setup End
Closes the I/O bus.
ErrorProc
Displays an error number when an error occurs.
Binary Read
A subroutine to convert Binary format data to Ascii format.
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.
Chapter 9
Measurement Applications (Sample Programs)
is described in detail below. Each explanation below is
129

Advertisement

Table of Contents
loading

Table of Contents