File

SCPI Commands :

SOURce:GPRF:GENerator<Instance>:ARB:FILE
SOURce:GPRF:GENerator<Instance>:ARB:FILE:DATE
SOURce:GPRF:GENerator<Instance>:ARB:FILE:VERSion
SOURce:GPRF:GENerator<Instance>:ARB:FILE:OPTion
class FileCls[source]

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

get(arb_file: ArbFile = None) str[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:FILE
value: str = driver.source.gprf.generator.arb.file.get(arb_file = enums.ArbFile.ABSPath)

Selects a waveform file for the ARB baseband mode. This command supports path aliases (e.g. @WAVEFORM) . Use MMEMory:ALIases? to query the available path aliases. If the selected file does not exist or no file has been selected, a query returns ‘No File Selected’.

INTRO_CMD_HELP: If the selected file does exist, a query returns:

  • Without <PathType>: The string used to select the file. If an alias has been used, the alias is not substituted.

  • With <PathType>: The absolute path of the file. If an alias has been used, the alias is substituted.

param arb_file:

(enum or string) Name of the waveform file to be used (.wv) .

return:

arb_file_retrun: No help available

get_date() str[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:FILE:DATE
value: str = driver.source.gprf.generator.arb.file.get_date()

Queries the date of the loaded waveform file.

return:

date: No help available

get_option() str[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:FILE:OPTion
value: str = driver.source.gprf.generator.arb.file.get_option()

Returns the options that are required to play the loaded ARB file.

return:

options: A comma-separated list of options.

get_version() str[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:FILE:VERSion
value: str = driver.source.gprf.generator.arb.file.get_version()

Queries the version of the loaded waveform file.

return:

version: The version or an empty string, if no file version is defined.

set(arb_file: ArbFile = None) None[source]
# SCPI: SOURce:GPRF:GENerator<Instance>:ARB:FILE
driver.source.gprf.generator.arb.file.set(arb_file = enums.ArbFile.ABSPath)

Selects a waveform file for the ARB baseband mode. This command supports path aliases (e.g. @WAVEFORM) . Use MMEMory:ALIases? to query the available path aliases. If the selected file does not exist or no file has been selected, a query returns ‘No File Selected’.

INTRO_CMD_HELP: If the selected file does exist, a query returns:

  • Without <PathType>: The string used to select the file. If an alias has been used, the alias is not substituted.

  • With <PathType>: The absolute path of the file. If an alias has been used, the alias is substituted.

param arb_file:

(enum or string) Name of the waveform file to be used (.wv) .