EasyManua.ls Logo

Rohde & Schwarz ESW Series - Reference: GPIB Commands of Emulated HP Models

Rohde & Schwarz ESW Series
759 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
Loading...
Remote Commands in the Receiver Application
R&S
®
ESW
687User Manual 1177.6298.02 ─ 08
IF (VAL(Esr$) AND 64) > 0 THEN Debug.Print "User request"
IF (VAL(Esr$) AND 128) > 0 THEN Debug.Print "Power on"END SUB
REM **********************************************************************
REM ------ Subroutine for evaluating the Event Status Register ------------
Public Sub Esrread()
Try
Dim myESR As Short = mbSession.Query("*ESR?") 'Read ESR
If (myESR And 1) > 0 Then Console.WriteLine("Operation complete")
If (myESR And 2) > 0 Then Console.WriteLine("Request Control")
If (myESR And 4) > 0 Then Console.WriteLine("Query Error")
If (myESR And 8) > 0 Then Console.WriteLine("Device dependent error")
If (myESR And 16) > 0 Then
Console.WriteLine("Execution Error; Program aborted") 'Output error message
Stop 'Stop software
End If
If (myESR And 32) > 0 Then
Console.WriteLine("Command Error; Program aborted") 'Output error message
Stop 'Stop software
End If
If (myESR And 64) > 0 Then Console.WriteLine("User request")
If (myESR And 128) > 0 Then Console.WriteLine("Power on")
Catch exp As Exception
Console.WriteLine(exp.Message)
End Try
End Sub
15.12 Reference: GPIB Commands of Emulated HP Models
The R&S ESW analyzer family supports a subset of the GPIB commands of HP mod-
els 8560E, 8561E, 8562E, 8563E, 8564E, 8565E, 8566A, 8566B, 8568A, 8568B and
8594E.
Despite the differences in system architecture and device features, the supported com-
mands have been implemented in a way to ensure a sufficiently high degree of corre-
spondence with the original.
This includes the support of syntax rules for not only newer device families (B and E
models) but for the previous A family as well.
In many cases the selection of commands supported by the R&S ESW is sufficient to
run an existing GPIB program without adaptation.
After the introduction, this section includes the following topics:
Command Set of Models 8560E, 8561E, 8562E, 8563E, 8564E, 8565E, 8566A/B,
8568A/B, 8591E, 8594E, 71100C, 71200C, and 71209A..................................... 688
Special Features of the Syntax Parsing Algorithms for 8566A and 8568A Models
.............................................................................................................................. 711
Special Behavior of Commands............................................................................712
Model-Dependent Default Settings....................................................................... 713
Reference: GPIB Commands of Emulated HP Models

Table of Contents

Related product manuals