File

SCPI Commands :

SYSTem:RECord:MACRo:FILE:STARt
SYSTem:RECord:MACRo:FILE:STOP
class FileCls[source]

File commands group definition. 2 total commands, 0 Subgroups, 2 group commands

start(macro_id: str) None[source]
# SCPI: SYSTem:RECord:MACRo:FILE:STARt
driver.system.record.macro.file.start(macro_id = 'abc')

Starts recording of submitted commands into a macro file. If the file exists, it is overwritten. If the file does not exist, it is created.

param macro_id:

string Path and filename of the destination file on the instrument

stop() None[source]
# SCPI: SYSTem:RECord:MACRo:FILE:STOP
driver.system.record.macro.file.stop()

Stops recording of commands into a macro file.

stop_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SYSTem:RECord:MACRo:FILE:STOP
driver.system.record.macro.file.stop_with_opc()

Stops recording of commands into a macro file.

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

param opc_timeout_ms:

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