![Ronde & Schwarz 1304.0004K03 Скачать руководство пользователя страница 1019](http://html1.mh-extra.com/html/ronde-and-schwarz/1304-0004k03/1304-0004k03_user-manual_14849871019.webp)
Remote Commands
R&S
®
FPL1000
1019
User Manual 1178.3370.02 ─ 11
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
10.13
Deprecated Commands
The following commands are provided for compatibility to other signal analyzers only.
For new remote control programs use the specified alternative commands.
CALCulate<n>:LIMit<li>:TRACe<t>
................................................................................1019
....................................................................................... 1020
........................................................................................ 1020
CALCulate<n>:LIMit<li>:TRACe<t>
<TraceNumber>
This command links a limit line to one or more traces.
Note that this command is maintained for compatibility reasons only. Limit lines no lon-
ger need to be assigned to a trace explicitly. The trace to be checked can be defined
directly (as a suffix) in the new command to activate the limit check (see
CALCulate<n>:LIMit<li>:TRACe<t>:CHECk
Suffix:
<n>
.
<li>
<t>
irrelevant
Deprecated Commands