Pattern
SCPI Command :
[SOURce<HW>]:BB:GSM:[FRAMe<DI>]:SLOT<ST0>:[SUBChannel<US>]:[USER<CH>]:[SOURce]:DATA:PATTern
- Commands in total: 1Subgroups: 0Direct child commands: 1
- class PatternStruct[source]
Response structure. Fields:
1 Pattern: str: numeric
2 Bitcount: int: integer Range: 1 to 64
- get(frameIx=FrameIx.Default, slotNull=SlotNull.Default, subChannel=SubChannel.Default, userIx=UserIx.Default) PatternStruct[source]
# [SOURce<HW>]:BB:GSM:[FRAMe<DI>]:SLOT<ST0>:[SUBChannel<US>]:[USER<CH>]:[SOURce]:DATA:PATTern value: PatternStruct = driver.source.bb.gsm.frame.slot.subChannel.user.source.data.pattern.get(frameIx = repcap.FrameIx.Default, slotNull = repcap.SlotNull.Default, subChannel = repcap.SubChannel.Default, userIx = repcap.UserIx.Default)
Sets the data pattern for the internal data when PATTern is selected as the data source. The length depends on the length of the data fields in the selected burst type.
- Parameters:
frameIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Frame’)
slotNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Slot’)
subChannel – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘SubChannel’)
userIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘User’)
- Returns:
structure: for return value, see the help for PatternStruct structure arguments.
- set(pattern: str, bitcount: int, frameIx=FrameIx.Default, slotNull=SlotNull.Default, subChannel=SubChannel.Default, userIx=UserIx.Default) None[source]
# [SOURce<HW>]:BB:GSM:[FRAMe<DI>]:SLOT<ST0>:[SUBChannel<US>]:[USER<CH>]:[SOURce]:DATA:PATTern driver.source.bb.gsm.frame.slot.subChannel.user.source.data.pattern.set(pattern = rawAbc, bitcount = 1, frameIx = repcap.FrameIx.Default, slotNull = repcap.SlotNull.Default, subChannel = repcap.SubChannel.Default, userIx = repcap.UserIx.Default)
Sets the data pattern for the internal data when PATTern is selected as the data source. The length depends on the length of the data fields in the selected burst type.
- Parameters:
pattern – numeric
bitcount – integer Range: 1 to 64
frameIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Frame’)
slotNull – optional repeated capability selector. Default value: Nr0 (settable in the interface ‘Slot’)
subChannel – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘SubChannel’)
userIx – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘User’)