R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 982
SOURce<Ch>:GROup<group_no> <log_port1>,<log_port2>
Explicitly defines port group <group_no> as the continuous range of logical ports from <log_port1> to
<log_port2>.
Port groups must be non-empty and disjoint; they are always numbered consecutively, starting at
1.
Group 1 is always present, either unrestricted (i.e. containing all available ports) or restricted (i.e.
containing only a proper subset of the available ports).
After a *RST or SOURce<Ch>:GROup<group_no>:CLEar ALL group 1 is unrestricted and all
other groups are removed.
Restricted port groups cannot be overwritten; use the CLEar-command to dissolve/unrestrict
them.
The port groups defined with this command are intended for simultaneous measurement and cannot
be combined with the "arbitrary" port group defined with SOURce<Ch>:GROup<group_no>:PORTs
<log_port1>{,<log_port2> ...}: the respective port group definitions override each other.
Port group number.
In "Set" direction <group_no> is ignored: the analyzer automatically selects the
next free group number. Number 1 remains free as long as group 1 is
unrestricted (i.e. contains all available ports).
As port groups must be non-empty and disjoint, the maximum number of port
groups for an n-port analyzer is n. [–]
First and last logical port number in the port group.
In "Set" direction, the defined port group consists of ports <log_port1> to
<log_port2>. The command generates an error message if only one parameter is
transferred.
For queries, both parameters must be omitted.
1 to n where n is the number of ports of the analyzer. [–]
<log_port1> must be less or equal than <log_port2> and the port range from
<log_port1> to <log_port2> must not overlap with previously defined port groups.
Device-specific, command or query
RST*; SOUR:GRO:COUN?
Reset and query the number of existing port groups.
The response is 1: there is only port group 1.
SOUR:GRO?
After a reset, port group 1 is unrestricted: on an analyzer with n logical ports the
result is 1,n.
Querying for a port group number >1 would raise an error.
SOUR:GRO 1,2; SOUR:GRO 3,4; SOUR:GRO:COUN?
Restrict port group 1 to logical ports no. 1 and 2, and assign logical ports 3 and 4
to port group 2.
The response to the group count query is 2.
SOUR:GRO1?; SOUR:GRO2?