Read Measurement Data In Ascii Format (Data Buffer Memory) - Keysight E4980AL User Manual

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

Advertisement

Sample Program
Read Measurement Results

Read measurement data in ASCII format (Data buffer memory)

This application program reads measurement data in ASCII 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-4
Read measurement results (ASCII format, data buffer memory)
Sub Example_3_2()
Manager
Integer
Keysight E4980A/AL Precision LCR Meter
Example 9-4
Assigns variables and enables error handling by the
subroutine named ErrorHandle
sets the time for timeout.
Sets the trigger, comparator function, memory buffer, and
data format.
separates the returned ASCII format character string data
with commas, and displays them 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 Result As String * 500
Dim Res As Variant
Dim NoofMeas As Integer, i As Integer, j As Integer, k As
Dim outEventType As Long, outEventContext As Long
Const TimeOutTime = 30000
On Error GoTo ErrorHandler
'===================================
is described below.
'Session to Default Resource
'Session to instrument
293

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4980aE4980al/052E4980al/032E4980al/102

Table of Contents