Pattern

SCPI Command :

[SOURce<HW>]:BB:NFC:CBLock<CH>:DATA:PATTern
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class PatternStruct[source]

Response structure. Fields:

  • 1 Pattern: str: numeric

  • 2 Bitcount: int: integer Range: 1 to 64

get(commandBlock=CommandBlock.Default) PatternStruct[source]
# [SOURce<HW>]:BB:NFC:CBLock<CH>:DATA:PATTern
value: PatternStruct = driver.source.bb.nfc.cblock.data.pattern.get(commandBlock = repcap.CommandBlock.Default)

Defines a bit pattern.

Parameters:

commandBlock – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Cblock’)

Returns:

structure: for return value, see the help for PatternStruct structure arguments.

set(pattern: str, bitcount: int, commandBlock=CommandBlock.Default) None[source]
# [SOURce<HW>]:BB:NFC:CBLock<CH>:DATA:PATTern
driver.source.bb.nfc.cblock.data.pattern.set(pattern = rawAbc, bitcount = 1, commandBlock = repcap.CommandBlock.Default)

Defines a bit pattern.

Parameters:
  • pattern – numeric

  • bitcount – integer Range: 1 to 64

  • commandBlock – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Cblock’)