EasyManua.ls Logo

Agilent Technologies E5071C - Page 1058

Agilent Technologies E5071C
2685 pages
Print Icon
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...
Programming
1285
ErrHandler:
MsgBox "*** Error : " & Error$
Call siclcleanup
End
End Function
Disconnection
The iclose function of SICL is used to disconnect communication. The
iclose function takes the session information output from the iopen
function as its parameter.
Syntax
Status = iclose(addr)
For information on the variable (Status) and the variable (addr), refer to
Variable
Sample control
The E5071C can be controlled by executing the above procedures in order,
following the control flow in Flow of control using SICL. This is
demonstrated by the Preset procedure (a procedure that is executed when
the Preset button is clicked) as described in Preset.
Preset
Sub Preset()
''' Open Session
E507x = OpenSession
'''Presetting the analyzer
Call OutputSiclLan(E507x, ":SYST:PRES")
'''Close Session
Call iclose(E507x)
End Sub

Table of Contents