Keysight E4981A Programming Manual page 118

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

Advertisement

Measurement Applications (Sample Programs)
Reading Measurement Results in Binary Format Using *TRG Command
'===================================
' Measurement
'===================================
ErrorCheck viVPrintf(Agte4981a, "*TRG" + vbLf, 0)
Call Scpi_read_binary_double_array(Agte4981a, Res, Nop)
Worksheets("Example7").Range("B5").Value = Val(Res(1))
Worksheets("Example7").Range("B6").Value = Val(Res(2))
'===================================
' Setup End
'===================================
Call viClose(defrm)
End
'===================================
' ErrorProc
'===================================
ErrorHandler:
' Display the error message
MsgBox "*** Error : " + Error$, MB_ICON_EXCLAMATION
End
End Sub
118
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