Read Measurement Results; Read Measurement Data In Ascii Format (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 Results
This section describes how to read measurement results in ASCII format and
BINARY format using sample programs. The following samples show three
methods for each data format: comparator, data buffer memory, and list
sweep.

Read measurement data in ASCII format (Comparator)

This application program reads measurement data in ASCII format with the
comparator function 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
Example 9-3
Read measurement results (ASCII format, comparator)
Sub Example_3_1()
Manager
286
Example 9-3
Assigns variables and enables error handling by the
subroutine named ErrorHandle.
sets the time for timeout.
Sets the trigger, comparator function, and data format.
Reads the measurement data using the :FETCh? command,
separates the returned ASCII format character string data
with commas, and displays them individually.
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 Nop As Integer, i As Integer
Const TimeOutTime = 30000
On Error GoTo ErrorHandler
is described below.
'Session to Default Resource
'Session to instrument
Keysight E4980A/AL Precision LCR Meter

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4980aalE4980al

Table of Contents