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
class NfcCls[source]

Nfc commands group definition. 191 total commands, 10 Subgroups, 12 group commands

get_divisor() RsSmbv.enums.NfcDivForMod[source]
# SCPI: [SOURce<HW>]:BB:NFC:DIVisor
value: enums.NfcDivForMod = driver.source.bb.nfc.get_divisor()

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

return

div_for_mod: DIV2| DIV4

get_dvoltage() float[source]
# SCPI: [SOURce<HW>]:BB:NFC:DVOLtage
value: float = driver.source.bb.nfc.get_dvoltage()

Sets the desired voltage in unmodulated signal parts.

return

dvoltage: float Range: 0.020 to 1.5

get_state() bool[source]
# SCPI: [SOURce<HW>]:BB:NFC:STATe
value: bool = driver.source.bb.nfc.get_state()

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

return

state: 1| ON| 0| OFF

get_technology() RsSmbv.enums.NfcProtocolMode[source]
# SCPI: [SOURce<HW>]:BB:NFC:TECHnology
value: enums.NfcProtocolMode = driver.source.bb.nfc.get_technology()

Selects the NFC/EMV technology.

return

protocol: NFCA| NFCB| NFCF| EMVA| EMVB

get_tmode() RsSmbv.enums.NfcTransMode[source]
# SCPI: [SOURce<HW>]:BB:NFC:TMODe
value: enums.NfcTransMode = driver.source.bb.nfc.get_tmode()

Selects the transmission mode.

return

transmission: POLL| LISTen

get_up_voltage() int[source]
# SCPI: [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.

return

up_voltage: integer Range: 0 to 100

get_version() str[source]
# SCPI: [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.

return

version: string

preset() None[source]
# SCPI: [SOURce<HW>]:BB:NFC:PRESet
driver.source.bb.nfc.preset()

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(opc_timeout_ms: int = - 1) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:PRESet
driver.source.bb.nfc.preset_with_opc()

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.

Same as preset, but waits for the operation to complete before continuing further. Use the RsSmbv.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms

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

set_cc_block(cc_block: int) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:CCBLock
driver.source.bb.nfc.set_cc_block(cc_block = 1)

Copies a command block for later use.

param cc_block

integer Range: 1 to 100

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

Removes a command block from the command sequence.

param dc_block

integer Range: 1 to 100

set_divisor(div_for_mod: RsSmbv.enums.NfcDivForMod) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:DIVisor
driver.source.bb.nfc.set_divisor(div_for_mod = enums.NfcDivForMod.DIV2)

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

param div_for_mod

DIV2| DIV4

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

Sets the desired voltage in unmodulated signal parts.

param dvoltage

float Range: 0.020 to 1.5

set_ic_block(ic_block: int) None[source]
# SCPI: [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.

param ic_block

integer Range: 1 to 99

set_pc_block(pc_block: int) None[source]
# SCPI: [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.

param pc_block

integer Range: 1 to 99

set_state(state: bool) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:STATe
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.

param state

1| ON| 0| OFF

set_technology(protocol: RsSmbv.enums.NfcProtocolMode) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:TECHnology
driver.source.bb.nfc.set_technology(protocol = enums.NfcProtocolMode.EMVA)

Selects the NFC/EMV technology.

param protocol

NFCA| NFCB| NFCF| EMVA| EMVB

set_tmode(transmission: RsSmbv.enums.NfcTransMode) None[source]
# SCPI: [SOURce<HW>]:BB:NFC:TMODe
driver.source.bb.nfc.set_tmode(transmission = enums.NfcTransMode.LISTen)

Selects the transmission mode.

param transmission

POLL| LISTen

Cloning the Group

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

Subgroups