EasyManua.ls Logo

Keysight E4980AL - Read Measurement Data in BINARY Format (Data Buffer Memory)

Keysight E4980AL
529 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Keysight E4980A/AL Precision LCR Meter 303
Sample Program
Read Measurement Results
9-
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 Example 9-7 is described below.
Configuration Assigns variables and enables error handling by the
subroutine named ErrorHandler
Open Instrument Assigns a USB address or GPIB address to the I/O bus. Also
sets the time for timeout.
Setup Start Sets the trigger, comparator function, memory buffer, and
data format.
Mem Buf Read Reads the measurement data stored in the memory buffer
and displays the returned BINARY format array data
individually. Then the memory buffer is cleared.
Setup End Closes the I/O bus.
ErrorProc Displays an error number when an error occurs.
Example 9-7 Reads measurement results (BINARY format, data buffer memory)
Sub Example_3_5()
'===================================
' Configuration
'===================================
Dim defrm As Long 'Session to Default Resource
Manager
Dim AgtE4980A/AL As Long 'Session to instrument
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
'===================================

Table of Contents

Other manuals for Keysight E4980AL

Related product manuals