Afile
SCPI Commands :
[SOURce<HW>]:LIST:DEXChange:AFILe:CATalog
[SOURce<HW>]:LIST:DEXChange:AFILe:EXTension
[SOURce<HW>]:LIST:DEXChange:AFILe:SELect
- class AfileCls[source]
Afile commands group definition. 5 total commands, 1 Subgroups, 3 group commands
- get_catalog() List[str] [source]
# SCPI: [SOURce<HW>]:LIST:DEXChange:AFILe:CATalog value: List[str] = driver.source.listPy.dexchange.afile.get_catalog()
Queries the available ASCII files for export or import of list mode data in the current or specified directory.
- get_extension() RsSmbv.enums.DexchExtension [source]
# SCPI: [SOURce<HW>]:LIST:DEXChange:AFILe:EXTension value: enums.DexchExtension = driver.source.listPy.dexchange.afile.get_extension()
Determines the extension of the ASCII file for import or export, or to query existing files.
- return
extension: TXT| CSV
- get_select() str [source]
# SCPI: [SOURce<HW>]:LIST:DEXChange:AFILe:SELect value: str = driver.source.listPy.dexchange.afile.get_select()
Selects the ASCII file to be imported or exported.
- return
filename: string Filename or complete file path; file extension can be omitted.
- set_extension(extension: RsSmbv.enums.DexchExtension) None [source]
# SCPI: [SOURce<HW>]:LIST:DEXChange:AFILe:EXTension driver.source.listPy.dexchange.afile.set_extension(extension = enums.DexchExtension.CSV)
Determines the extension of the ASCII file for import or export, or to query existing files.
- param extension
TXT| CSV
- set_select(filename: str) None [source]
# SCPI: [SOURce<HW>]:LIST:DEXChange:AFILe:SELect driver.source.listPy.dexchange.afile.set_select(filename = 'abc')
Selects the ASCII file to be imported or exported.
- param filename
string Filename or complete file path; file extension can be omitted.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.listPy.dexchange.afile.clone()
Subgroups