EasyManua.ls Logo

Keysight E4980A - Page 294

Keysight E4980A
519 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
Loading...
294 Keysight E4980A/AL Precision LCR Meter
Sample Program
Read Measurement Results
9-
ErrorCheck viVPrintf(AgtE4980A/AL, ":TRIG:IMM" + vbLf, 0)
'===================================
' List Read
'===================================
ErrorCheck viVPrintf(AgtE4980A/AL, ":FETC?" + vbLf, 0)
ErrorCheck viVScanf(AgtE4980A/AL, "%t", Result)
Res = Split(Result, ",")
For i = 0 To Nop - 1
j = i Mod 4
k = i \ 4
Cells(k + 39, j + 2).Value = Val(Res(i))
Next i
'===================================
' Setup End
'===================================
Call viClose(defrm)
End
'===================================
' ErrorProc
'===================================
ErrorHandler:
' Display the error message
MsgBox "*** Error : " + Error$, MB_ICON_EXCLAMATION
End
End Sub

Table of Contents

Other manuals for Keysight E4980A

Related product manuals