Read Measurement Data In Binary (Comparator) - Keysight E4980A User Manual

Precision lcr meter
Hide thumbs Also See for E4980A:
Table of Contents

Advertisement

Sample Program
Read Measurement Results

Read measurement data in BINARY (comparator)

This application program reads the measurement data in BINARY format when
the comparator function is on.
The program of
Configuration
Open Instrument Assigns a USB address or GPIB address to the I/O bus. Also
Setup Start
Meas Read
Setup End
ErrorProc
BinaryAry Read Sets the address of the array in which measured data is
Example 9-6
Read measurement results (BINARY format, comparator)
Sub Example_3_4()
Manager
Keysight E4980A/AL Precision LCR Meter
Example 9-6
Assigns variables and enables error handling by the
subroutine named ErrorHandler
sets the time for timeout.
Sets the trigger, comparator function, and data format.
Reads the measurement data using the :FETCh? command
and displays the returned BINARY format array data
individually.
Close the I/O bus.
Displays an error number when an error occurs.
stored. A subroutine to set the returned BINARY format data
in the array.
'===================================
' Configuration
'===================================
Dim defrm As Long
Dim AgtE4980A/AL As Long
Dim Res() As Double
Dim Nop As Long, i As Integer, j As Integer, k As Integer
Const TimeOutTime = 30000
On Error GoTo ErrorHandler
'===================================
' Open Instrument
is described below.
'Session to Default Resource
'Session to instrument
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4980aalE4980al

Table of Contents