Allocation<Allocation>
SCPI Command :
CONFigure:NRSub:MEASurement<Instance>[:CC<no>]:ALLocation<Allocation>
- Commands in total: 21Subgroups: 2Direct child commands: 1
Repeated Capability Setting:
# Range: Nr1 .. Nr1 driver.configure.nrSubMeas.cc.allocation.repcap_allocation_set(repcap.Allocation.Nr1)
- class AllocationStruct[source]
Response structure. Fields:
1 Bandwidth_Part: enums.BandwidthPart: The current software version uses only one bandwidth part.
2 Slot_Format: int: The current software version supports only slot format 1.
3 Content: enums.ChannelTypeA: Type of channel to be measured.
4 Allocated_Slots: enums.AllocatedSlots: In the current software version, all UL slots must be scheduled and use the same allocation.
- get(carrierComponent=CarrierComponent.Nr1, allocation=Allocation.Default) AllocationStruct[source]
# CONFigure:NRSub:MEASurement<Instance>[:CC<no>]:ALLocation<Allocation> value: AllocationStruct = driver.configure.nrSubMeas.cc.allocation.get(carrierComponent = repcap.CarrierComponent.Nr1, allocation = repcap.Allocation.Default)
Selects the type of channel to be measured, for carrier <no>, allocation <a>. The other parameters in this command are fixed in the current software version.
- Parameters:
carrierComponent – optional repeated capability selector. Default value: Nr1
allocation – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Allocation’)
- Returns:
structure: for return value, see the help for AllocationStruct structure arguments.
- set(bandwidth_part: BandwidthPart, slot_format: int, content: ChannelTypeA, allocated_slots: AllocatedSlots, carrierComponent=CarrierComponent.Nr1, allocation=Allocation.Default) None[source]
# CONFigure:NRSub:MEASurement<Instance>[:CC<no>]:ALLocation<Allocation> driver.configure.nrSubMeas.cc.allocation.set(bandwidth_part = enums.BandwidthPart.BWP0, slot_format = 1, content = enums.ChannelTypeA.PUCCh, allocated_slots = enums.AllocatedSlots.ALL, carrierComponent = repcap.CarrierComponent.Nr1, allocation = repcap.Allocation.Default)
Selects the type of channel to be measured, for carrier <no>, allocation <a>. The other parameters in this command are fixed in the current software version.
- Parameters:
bandwidth_part – The current software version uses only one bandwidth part.
slot_format – The current software version supports only slot format 1.
content – Type of channel to be measured.
allocated_slots – In the current software version, all UL slots must be scheduled and use the same allocation.
carrierComponent – optional repeated capability selector. Default value: Nr1
allocation – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Allocation’)
Cloning the Group
# Create a copy of the original group, that exists independently
allocation_copy = driver.configure.nrSubMeas.cc.allocation.clone()
Subgroups