Keysight E4981A Programming Manual page 96

Capacitance meter
Hide thumbs Also See for E4981A:
Table of Contents

Advertisement

Measurement Applications (Sample Programs)
Executing OPEN/SHORT/LOAD Correction
j= MsgBox("Set " & Standard & " connection and Press OK.", vbOKCancel)
& "|Y| = " & Ym
& "|Z| = " & Zm
96
If j = vbCancel Then
MsgBox "Operation cancelled. Ending the program."
Err_Flag = True
Else
ErrorCheck viVPrintf(Agte4981a, ":CORR:COLL " & Std + vbLf, 0)
' Data Check
ErrorCheck viVPrintf(Agte4981a, ":CORR:DATA? " & Std + vbLf, 0)
ErrorCheck viVScanf(Agte4981a, "%t", Result)
Res = Split(Result, ",")
Param1 = Val(Res(0))
Param2 = Val(Res(1))
Select Case Standard
Case "OPEN"
Ym = Sqr(Param1 * Param1 + Param2 * Param2)
MsgBox "G= " & Param1 & vbNewLine & "B= " & Param2 & vbNewLine
If Ym >= Limit Then Err_Flag = True
Case "SHORT"
Zm = Sqr(Param1 * Param1 + Param2 * Param2)
MsgBox "R= " & Param1 & vbNewLine & "X= " & Param2 & vbNewLine
If Zm >= Limit Then Err_Flag = True
Case "LOAD"
Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4981a/001E4981a/002

Table of Contents