Generator

SCPI Commands :

SCENario:GENerator:CLEar
SCENario:GENerator:PATH
SCENario:GENerator
class GeneratorCls[source]

Generator commands group definition. 3 total commands, 0 Subgroups, 3 group commands

clear() None[source]
# SCPI: SCENario:GENerator:CLEar
driver.scenario.generator.clear()

Deletes all items from the list or the table.

clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SCENario:GENerator:CLEar
driver.scenario.generator.clear_with_opc()

Deletes all items from the list or the table.

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

param opc_timeout_ms:

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

get_path() float[source]
# SCPI: SCENario:GENerator:PATH
value: float = driver.scenario.generator.get_path()

Selects the signal path that will play the generated signal.

return:

path: float Range: 1 to 32

get_value() str[source]
# SCPI: SCENario:GENerator
value: str = driver.scenario.generator.get_value()

Sets the signal generator.

return:

generator: string Use the command GENerator:CATalog? to query a list of configured generator.

set_path(path: float) None[source]
# SCPI: SCENario:GENerator:PATH
driver.scenario.generator.set_path(path = 1.0)

Selects the signal path that will play the generated signal.

param path:

float Range: 1 to 32

set_value(generator: str) None[source]
# SCPI: SCENario:GENerator
driver.scenario.generator.set_value(generator = 'abc')

Sets the signal generator.

param generator:

string Use the command GENerator:CATalog? to query a list of configured generator.