RANGe
RANGe
command/query
The RANGe command allows you to
define
the boundaries for the
comparison. The range entered must be a subset of the lines stored in the
acquisition memory.
The RANGe query returns the current boundaries for the comparison.
Command Syntax:
MACHine(1
12):COMPare:RANGe
{FULL
)
PARTial,
<start-line
>,
<stop-line>)
where:
c start-line
>
:: = integer from -1023 to + 1023
c stop-line
>
::
=
integer from c start-line
z=
to + 1023
Examples:
OUTPUT XXX;":MACHINEZ:COMPARE:RANGE PARTIAL, -511, 512"
OUTPUT XXX;":MACHINEZ:COMPARE:RANGE FULL"
Query Syntax:
:MACHine{l
I2}:COMPare:RANGe?
Returned Format:
[:MACHine{l
IP}:COMPare:RANGe]
{FULL 1
PARTial,
<start-line>,
c stop-line
>
}
c
NLz-
Example:
10 DIM String$[lOO]
20 OUTPUT XXX;" :MACHINE2:COMPARE:RANGE?"
30 ENTER XXX; String$
40 REM See if substring "FULL" occurs in response string:
50 PRINT "Range is
";
60 IF POS(String$,"FULL")
>
0 THEN PRINT "Full" ELSE PRINT "Partial"
70 END
HP 1650B/HP 1651B
Programming Reference
COMPare Subsystem
16-S