EasyManua.ls Logo

Keysight E4980AL - Page 310

Keysight E4980AL
529 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...
310 Keysight E4980A/AL Precision LCR Meter
Sample Program
Save/Recall
9-
ErrorCheck viSetAttribute(AgtE4980A/AL, VI_ATTR_TMO_VALUE,
TimeOutTime)
'===================================
' SaveRecall
'===================================
If Cells(9, 2).Value = "Save" Then
ErrorCheck viVPrintf(AgtE4980A/AL, ":MMEM:STOR:STAT 1"
+ vbLf, 0)
Else
ErrorCheck viVPrintf(AgtE4980A/AL, ":MMEM:LOAD:STAT 1"
+ vbLf, 0)
End If
ErrorCheck viVQueryf(AgtE4980A/AL, "*OPC?" + vbLf, "%t",
Result)
If Cells(9, 2).Value = "Save" Then
MsgBox ("State Save End")
Else
MsgBox ("State Recall End")
End If
Cells(15, 2).Value = Trim(Result)
'===================================
' Setup End
'===================================
Call viClose(defrm)
End
'===================================
' ErrorProc

Table of Contents

Other manuals for Keysight E4980AL

Related product manuals