Agilent Technologies E5071C Manual page 1069

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
'Shutdown Winsock DLL
x = WSACleanup()
End Sub
Example of control
The E5071C can be controlled by executing the above procedures in order,
following the control flow in Control flow with WinSock API. This is
demonstrated by the procedure autoscale (a procedure that is executed
when the Auto Scale button is clicked) as described in autoscale.
autoscale
Sub autoscale()
'
' auto scaling
'
Call StartIt
Call get_hostname
x = OpenSocket(Hostname$, ScpiPort)
x = SendCommand(":DISP:WIND1:TRAC1:Y:AUTO")
Call CloseConnection
Call EndIt
End Sub
When you execute more than one command by connecting and
disconnecting a socket for every command, the sequence of execution may
change.
1296

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents