Read Measurement Data In Binary Format (Data Buffer Memory) - 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 format (Data buffer memory)

This application program reads measurement data in BINARY format with the
comparator function on by using the data buffer memory.
The program of
Configuration
Open Instrument Assigns a USB address or GPIB address to the I/O bus. Also
Setup Start
Mem Buf Read Reads the measurement data stored in the memory buffer
Setup End
ErrorProc
Example 9-7
Reads measurement results (BINARY format, data buffer memory)
Sub Example_3_5()
Manager
Keysight E4980A/AL Precision LCR Meter
Example 9-7
Assigns variables and enables error handling by the
subroutine named ErrorHandler
sets the time for timeout.
Sets the trigger, comparator function, memory buffer, and
data format.
and displays the returned BINARY format array data
individually. Then the memory buffer is cleared.
Closes the I/O bus.
Displays an error number when an error occurs.
'===================================
' 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
Dim outEventType As Long, outEventContext As Long
Const TimeOutTime = 30000
On Error GoTo ErrorHandler
'===================================
' Open Instrument
'===================================
is described below.
'Session to Default Resource
'Session to instrument
299

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4980aalE4980al

Table of Contents