Nfc#

SCPI Commands :

[SOURce<HW>]:BB:NFC:CCBLock
[SOURce<HW>]:BB:NFC:DCBLock
[SOURce<HW>]:BB:NFC:DIVisor
[SOURce<HW>]:BB:NFC:DVOLtage
[SOURce<HW>]:BB:NFC:ICBLock
[SOURce<HW>]:BB:NFC:PCBLock
[SOURce<HW>]:BB:NFC:PRESet
[SOURce<HW>]:BB:NFC:STATe
[SOURce<HW>]:BB:NFC:TECHnology
[SOURce<HW>]:BB:NFC:TMODe
[SOURce<HW>]:BB:NFC:UPVoltage
[SOURce<HW>]:BB:NFC:VERSion
Commands in total: 193
Subgroups: 10
Direct child commands: 12
set_cc_block ( cc_block: int ) → None
# [SOURce<HW>]:BB:NFC:CCBLock
driver.source.bb.nfc.set_cc_block(cc_block = 1)

Copies a command block for later use.

Parameters:

cc_block – integer

set_dc_block ( dc_block: int ) → None
# [SOURce<HW>]:BB:NFC:DCBLock
driver.source.bb.nfc.set_dc_block(dc_block = 1)

Removes a command block from the command sequence.

Parameters:

dc_block – integer

get_divisor ( ) → NfcDivForMod
set_divisor ( div_for_mod: NfcDivForMod ) → None
# [SOURce<HW>]:BB:NFC:DIVisor
# get:
value: enums.NfcDivForMod = driver.source.bb.nfc.get_divisor()
# set:
driver.source.bb.nfc.set_divisor(div_for_mod = enums.NfcDivForMod.DIV2)

Selects the divisor and thus the datarate for technology NFC-F.

Parameters:

div_for_mod – DIV2 | DIV4

get_dvoltage ( ) → float
set_dvoltage ( dvoltage: float ) → None
# [SOURce<HW>]:BB:NFC:DVOLtage
# get:
value: float = driver.source.bb.nfc.get_dvoltage()
# set:
driver.source.bb.nfc.set_dvoltage(dvoltage = 1.0)

Sets the desired voltage in unmodulated signal parts.

Parameters:

dvoltage – float

set_ic_block ( ic_block: int ) → None
# [SOURce<HW>]:BB:NFC:ICBLock
driver.source.bb.nfc.set_ic_block(ic_block = 1)

Inserts a default command block before the selected command block. The command block with this position must be existing, otherwise an error is returned.

Parameters:

ic_block – integer

set_pc_block ( pc_block: int ) → None
# [SOURce<HW>]:BB:NFC:PCBLock
driver.source.bb.nfc.set_pc_block(pc_block = 1)

Pastes a command block (which was copied before) at the given position into the command sequence.

Parameters:

pc_block – integer

preset ( ) → None
preset_with_opc ( opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:BB:NFC:PRESet
driver.source.bb.nfc.preset()
driver.source.bb.nfc.preset_with_opc(opc_timeout_ms = 3000)

Sets the parameters of the digital standard to their default values (*RST values specified for the commands) . Not affected is the state set with the command SOURce<hw>:BB:NFC:STATe.

preset_with_opc() does the same as preset(), but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

get_state ( ) → bool
set_state ( state: bool ) → None
# [SOURce<HW>]:BB:NFC:STATe
# get:
value: bool = driver.source.bb.nfc.get_state()
# set:
driver.source.bb.nfc.set_state(state = False)

Activates the standard and deactivates all the other digital standards and digital modulation modes in the same path.

Parameters:

state – 1 | ON | 0| OFF

get_technology ( ) → NfcProtocolMode
set_technology ( protocol: NfcProtocolMode ) → None
# [SOURce<HW>]:BB:NFC:TECHnology
# get:
value: enums.NfcProtocolMode = driver.source.bb.nfc.get_technology()
# set:
driver.source.bb.nfc.set_technology(protocol = enums.NfcProtocolMode.EMVA)

Selects the NFC/EMV technology.

Parameters:

protocol – NFCA | NFCB | NFCF | EMVA | EMVB

get_tmode ( ) → NfcTransMode
set_tmode ( transmission: NfcTransMode ) → None
# [SOURce<HW>]:BB:NFC:TMODe
# get:
value: enums.NfcTransMode = driver.source.bb.nfc.get_tmode()
# set:
driver.source.bb.nfc.set_tmode(transmission = enums.NfcTransMode.LISTen)

Selects the transmission mode.

Parameters:

transmission – POLL | LISTen

get_up_voltage ( ) → int
# [SOURce<HW>]:BB:NFC:UPVoltage
value: int = driver.source.bb.nfc.get_up_voltage()

Displays the ratio of the voltage in the unmodulated parts of the signal to its peak value.

Returns:

up_voltage: integer

get_version ( ) → str
# [SOURce<HW>]:BB:NFC:VERSion
value: str = driver.source.bb.nfc.get_version()

Queries the version of the NFC-Forum and EMVCo specifications used for the signal generation.

Returns:

version: string

Cloning the Group

# Create a copy of the original group, that exists independently
nfc_copy = driver.source.bb.nfc.clone()

Subgroups