Anritsu Site Master S331L Scpi Programming Manual page 78

Handheld cable and antenna analyzer
Hide thumbs Also See for Site Master S331L:
Table of Contents

Advertisement

A-4 Visual Basic
stat = viWrite(sesn, sInputString, Len(sInputString), retCount)
'read back the strat frequency
sInputString = ":SENSe:FREQuency:STARt?" & vbLf
stat = viWrite(sesn, sInputString, Len(sInputString), retCount)
Buffer = ""
stat = viRead(sesn, Buffer, MAX_CNT, retCount)
'Set stop frequency
sInputString = "SENSe:FREQuency:STOP 4 GHz" & vbLf
stat = viWrite(sesn, sInputString, Len(sInputString), retCount)
'read back the stop frequency
sInputString = ":SENSe:FREQuency:STOP?" & vbLf
stat = viWrite(sesn, sInputString, Len(sInputString), retCount)
Buffer = ""
stat = viRead(sesn, Buffer, MAX_CNT, retCount)
Rem Close down the system
stat = viClose(sesn)
stat = viClose(dfltRM)
End Sub
A-12
PN: 10580-00322 Rev. F
Appendix A — Examples
S331L PM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Site Master S331L and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents