EasyManuals Logo

Keysight E4981A Programming Manual

Keysight E4981A
389 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
Page #90 background imageLoading...
Page #90 background image
90 Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter
Measurement Applications (Sample Programs)
Setting Up Measurement Conditions and LCD Display
9-
'===================================
' ErrorCheck
'===================================
Sub ErrorCheck(ErrorStatus As Long)
Dim strVisaErr As String * 500
' Check if VISA Error
If ErrorStatus <> VI_SUCCESS Then
Call viStatusDesc(defrm, ErrorStatus, strVisaErr)
MsgBox "*** Error : " + strVisaErr
End If
End Sub
'===================================
' Select Connection Mode (GPIB/USB)
'===================================
Sub SelectMode(defrm As Long, Agte4981a As Long)
Dim SelectMode As String
SelectMode = Worksheets("ControlPanel").Range("B3").Value
If SelectMode = "GPIB" Then
ErrorCheck viOpen(defrm, "GPIB0::17::INSTR", 0, 0, Agte4981a)
End If
If SelectMode = "USB" Then
ErrorCheck viOpen(defrm, "USB0::2391::2313::MY12345678::0::INSTR", 0, 0,
Agte4981a)
End If
End Sub

Table of Contents

Other manuals for Keysight E4981A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight E4981A and is the answer not in the manual?

Keysight E4981A Specifications

General IconGeneral
BrandKeysight
ModelE4981A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals