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

Capacitance meter
Hide thumbs Also See for E4981A:
Table of Contents

Advertisement

Measurement Applications (Sample Programs)

Reading Measurement Results in Binary Format Using :READ? Command

Reading Measurement Results in Binary Format Using :READ?
Command
This application program reads measurement data in Binary format using the
:READ? command.
The program of
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
Open Instrument Assigns a USB address or GPIB address to the I/O bus.
Setup Start
Measurement
Setup End
ErrorProc
Binary Read
ErrorCheck
SelectMode
Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter
Example 9-11
is described in detail below. Each explanation
Define Variables and initialize the program.
Presets the E4981A. Sets the trigger conditions of the
E4981A.
Reads the measurement data using the :READ? command,
calls the function to convert data in Binary format to Ascii
format, and displays the Primary and Secondary
Measurement data.
Closes the I/O bus.
Displays an error number when an error occurs.
A subroutine to convert Binary format data to Ascii format.
A subroutine to check whether an error occurs when the IO
Library Suite function is executed.
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.
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4981a/001E4981a/002

Table of Contents