EasyManuals Logo

Anritsu Site Master S331L Scpi Programming Manual

Anritsu Site Master S331L
96 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
Page #78 background imageLoading...
Page #78 background image
A-4 Visual Basic Appendix A — Examples
A-12 PN: 10580-00322 Rev. F S331L PM
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

Table of Contents

Other manuals for Anritsu Site Master S331L

Questions and Answers:

Question and Answer IconNeed help?

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

Anritsu Site Master S331L Specifications

General IconGeneral
BrandAnritsu
ModelSite Master S331L
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals