Chapter 9
111
Measurement Applications (Sample Programs)
Recovering the Correction State
9.
M
easu
rem
ent
Applica
tio
ns
(S
amp
le
Prog
ra
ms)
ErrorCheck viVPrintf(Agte4981a, "SOUR:FREQ " & Freq + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:DATA STAN3," & CStr(Load1) &
"," & CStr(Load2) + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CAL:CABL " & C vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "SYST:FSH " & S vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:CKIT:STAN1:FORMAT " &
S vbLf, 0) ' Write Primary and Secondary Load Type
ErrorCheck viVPrintf(Agte4981a, "CORR:CKIT:STAN2:FORMAT " &
St vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:CKIT:STAN3:FORMAT " &
S vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:DATA STAN1," & CStr(Open1) &
"," & CStr(Open2) + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:DATA STAN2," & CStr(Short1) &
"," & CStr(Short2) + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:OPEN ON" + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:SHORT ON" + vbLf, 0)
ErrorCheck viVPrintf(Agte4981a, "CORR:LOAD ON" + vbLf, 0)
MsgBox "Correction Data sucessfully applied to E4981A from " &
File_Path
'===================================
' ErrorProc
'===================================
End
ErrorHandler:
' Display the error message
MsgBox "*** Error : " + Error$, MB_ICON_EXCLAMATION
End
End Sub
Содержание E4981A
Страница 2: ......
Страница 20: ...18 Chapter1 Making Effective Use of This Manual How To Use This Manual ...
Страница 60: ...58 Chapter4 Preparation for Accurate Measurement Executing Correction Using the Cable Correction Function ...
Страница 88: ...86 Chapter7 Sorting Based on Measured Result Comparator Function Sample Program ...
Страница 162: ...160 Chapter9 Measurement Applications Sample Programs Detecting Error Occurrence using SRQ HT Basic ...
Страница 376: ...374 AppendixE Error Messages Warning Messages WARNING ...
Страница 382: ......
Страница 383: ...This information is subject to change without notice Keysight Technologies 2008 2014 Edition 2 August 2014 E4981 90001 ...