Train
SCPI Commands :
[SOURce<HW>]:PULM:TRAin:CATalog
[SOURce<HW>]:PULM:TRAin:DELete
[SOURce<HW>]:PULM:TRAin:SELect
- class TrainCls[source]
Train commands group definition. 30 total commands, 5 Subgroups, 3 group commands
- delete(filename: str) None [source]
# SCPI: [SOURce<HW>]:PULM:TRAin:DELete driver.source.pulm.train.delete(filename = 'abc')
Deletes the specified pulse train file. Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and in a specific directory.
- param filename
string Filename or complete file path; file extension is optional.
- get_catalog() List[str] [source]
# SCPI: [SOURce<HW>]:PULM:TRAin:CATalog value: List[str] = driver.source.pulm.train.get_catalog()
Queries the available pulse train files in the specified directory.
- return
catalog: string List of list filenames, separated by commas
- get_select() str [source]
# SCPI: [SOURce<HW>]:PULM:TRAin:SELect value: str = driver.source.pulm.train.get_select()
Selects or creates a data list in pulse train mode. If the list with the selected name does not exist, a new list is created.
- return
filename: string Filename or complete file path; file extension can be omitted.
- set_select(filename: str) None [source]
# SCPI: [SOURce<HW>]:PULM:TRAin:SELect driver.source.pulm.train.set_select(filename = 'abc')
Selects or creates a data list in pulse train mode. If the list with the selected name does not exist, a new list is created.
- 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.pulm.train.clone()
Subgroups