Keysight E4981A Programming Manual page 97

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

Advertisement

Measurement Applications (Sample Programs)
Executing OPEN/SHORT/LOAD Correction
vbLf, 0)
finished. *OPC? retruns 1 when processing of executed commands is finished.
vbLf, 0)
MsgBox "Cpref= " & Cpref & vbNewLine & "Dref= " & Dref & vbNewLine & "|Zref|
= " & Zref
MsgBox "Cp= " & Param1 & vbNewLine & "D= " & Param2 & vbNewLine & "|Z| = " &
Zm
If Abs((Zm - Zref) / Zref) >= Limit Then Err_Flag = 1
Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter
ErrorCheck viVPrintf(Agte4981a, (":SOUR:FREQ " & Freq) +
ErrorCheck viVPrintf(Agte4981a, "*CLS" + vbLf, 0)
While Finish_pros <> "1" ' Loop till processing is
ErrorCheck viVPrintf(Agte4981a, "*OPC?" + vbLf, 0)
ErrorCheck viVScanf(Agte4981a, "%t", Finish_pros)
Wend
ErrorCheck viVPrintf(Agte4981a, ":CORR:CKIT:STAN3?" +
ErrorCheck viVScanf(Agte4981a, "%t", Result)
Res = Split(Result, ",")
Cpref = Val(Res(0))
Dref = Val(Res(1))
Bref = 2 * Pi * Val(Freq) * Cpref
Gref = Bref * Dref
Zref = 1 / (Sqr(Gref * Gref + Bref * Bref))
Bm = 2 * Pi * Val(Freq) * Param1
Gm = Bm * Param2
Zm = 1 / (Sqr(Gm * Gm + Bm * Bm))
End Select
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

E4981a/001E4981a/002

Table of Contents