Insert#

SCPI Command :

[SOURce<HW>]:BB:NFC:CBLock<CH>:INSert
Commands in total: 1
Subgroups: 0
Direct child commands: 1
set ( commandBlock=CommandBlock.Default ) → None
set_with_opc ( commandBlock=CommandBlock.Default, opc_timeout_ms: int = -1 ) → None
# [SOURce<HW>]:BB:NFC:CBLock<CH>:INSert
# set:
driver.source.bb.nfc.cblock.insert.set(commandBlock = repcap.CommandBlock.Default)
# set_with_opc:
driver.source.bb.nfc.cblock.insert.set_with_opc(commandBlock = repcap.CommandBlock.Default, opc_timeout_ms = 3000)

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

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

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

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