Query the port ranges of groups 1 and 2. The response is 1,2;3,4.
SOUR:GRO:CLE ALL; SOUR:GRO:COUN?; SOUR:GRO1?
Dissolve all port groups and query for existing port groups.
The response is 1;1,4. Port group 1 is again the only one and unrestricted.
SOUR:GRO 1,3; SOUR:GRO 4,4
Restrict port group 1 to logical ports 1 to 3 and assign logical port 4 to port group
2.
SOUR:GRO2:CLE; SOUR:GRO:COUN?;
Dissolve port group 2 and query for existing port groups.
The response is 1.
SOUR:GRO:PORT?;
Query the ports of group 1. The response is 1,2,3.
Querying for a port group number >1 would raise an error!
SOUR:GRO:PORT 1,2,4
Dissolve all existing port groups and restrict port group 1 to ports 1, 2 and 4.
Sets the "Measured" flag for ports 1,2,4 and removes it from all other ports.
SOUR:GRO:PORT?
Query the ports of group 1. The response is 1,2,4.
Querying for a port group number >1 would raise an error!
SOUR:GRO1 1; SOUR:GRO2 2,4
Dissolve the port group created with SOUR:GRO:PORT.
Then restrict port group 1 to logical port 1 and arrange logical ports 2 to 4 in port
group 2.
SOUR:GRO1:CLE; SOUR:GRO:COUN?;
Dissolve port group 1 and query for existing port groups.
The response is 1.
SOUR:GRO1:PORT?;
Query the ports of group 1. The response is 2,3,4.
Group 2 was renumbered to 1. Querying for a port group number 2 would raise
an error.
SOUR:GRO 1; SOUR:GRO:COUN?; SOUR:GRO2:PORT?
Create a second port group by assigning port 1.
The queries for existing port groups return 2;1.