![Rohde & Schwarz 1065.6000.20 Operating Manual Download Page 387](http://html1.mh-extra.com/html/rohde-and-schwarz/1065-6000-20/1065-6000-20_operating-manual_1477758387.webp)
Programming Examples
FSE
1065.6016.12
7.8
E-16
•
In this example, a Save/Recall of the instrument setups is performed.
Dim ibsta As Integer ’ Status variable
Dim iberr As Integer ’ Error variable
Dim ibcntl As Long ’ Count variable
Dim ud As Integer ’ Handle for measuring instrument
Dim Cmd As String ’ Command string
’ Set up connection to measuring instrument
ud = RSDLLibfind("89.10.38.97", ibsta, iberr, ibcntl)
If (ud < 0) Then
’ Error treatment
End If
’ Request instrument settings
Cmd = "SYST:SET?"
Call RSDLLibwrt(ud, Cmd, ibsta, iberr, ibcntl)
’ Store instrument response in file
Call RSDLLibrdf(ud, "C:\db.sav", ibsta, iberr, ibcntl)
’ Reset instrument
Call RSDLLibwrt(ud, "*RST", ibsta, iberr, ibcntl)
’ and restore the previous settings
’ to this end disable the END message
Call RSDLLibeot(ud, 0, ibsta, iberr, ibcntl)
’ first send off command
Call RSDLLibwrt(ud, "SYST:SET ", ibsta, iberr, ibcntl)
’ enable the END message again
Call RSDLLibeot(ud, 1, ibsta, iberr, ibcntl)
’ and send the data
Call RSDLLibwrtf(ud, "C:\db.sav", ibsta, iberr, ibcntl)
Summary of Contents for 1065.6000.20
Page 3: ......
Page 5: ......
Page 17: ......
Page 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Page 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Page 391: ......
Page 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Page 419: ......
Page 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Page 429: ......