Source:List#
SCPI Commands
- [SOURce<HW>]:LIST:CATalog
- [SOURce<HW>]:LIST:DELete
- [SOURce<HW>]:LIST:DELete:ALL
- [SOURce<HW>]:LIST:FREE
- [SOURce<HW>]:LIST:MODE
- [SOURce<HW>]:LIST:RESet
- [SOURce<HW>]:LIST:RMODe
- [SOURce<HW>]:LIST:RUNNing
- [SOURce<HW>]:LIST:SELect
Cloning the Group
// Create a clone of the original group, that exists independently
var list2 = driver.Source.List.Clone();
Direct SCPI Members
- List<string>Catalog#
// SCPI: [SOURce<HW>]:LIST:CATalog List<string> value = driver.Source.List.Catalog;Queries the available list files in the specified directory.
catalog: List of list filenames, separated by commas
- void Delete ( string filename )#
// SCPI: [SOURce<HW>]:LIST:DELete driver.Source.List.Delete("abc");Deletes the specified list. Refer to “Handling files in the default or in a specified directory” for general information on file handling in the default and in a specific directory.
filenameFilename or complete file path; file extension is optional.
- void DeleteAll ( )#
- void DeleteAllAndWait ( )#
- void DeleteAllAndWait ( int opcTimeoutMs )
// SCPI: [SOURce<HW>]:LIST:DELete:ALL driver.Source.List.DeleteAll(); driver.Source.List.DeleteAllAndWait(); driver.Source.List.DeleteAllAndWait(1000);Deletes all lists in the set directory. This command can only be executed, if:
No list file is selected.
List mode is disabled.
DeleteAllAndWait is the same as DeleteAll, but waits for the operation to complete. The optional entered opcTimeoutMs is only valid for this call. If you omit the opcTimeoutMs, the method uses the settable value
RsSmw.Utilities.OpcTimeout.
- int Free#
// SCPI: [SOURce<HW>]:LIST:FREE int value = driver.Source.List.Free;Queries the amount of free memory (in bytes) for list mode lists.
free: integer
- AutoStepIndexEnum Mode#
// SCPI: [SOURce<HW>]:LIST:MODE AutoStepIndexEnum value = driver.Source.List.Mode; driver.Source.List.Mode = AutoStepIndexEnum.AUTO;Sets the list mode. The instrument processes the list according to the selected mode and trigger source. See LIST:TRIG:SOUR AUTO, SING or EXT for the description of the trigger source settings.
mode: AUTO | STEP
AUTO: Each trigger event triggers a complete list cycle.
STEP: Each trigger event triggers only one step in the list processing cycle. The list is processed in ascending order.
INDex: The trigger event triggers the entry of the selected index in the list.
- void Reset ( )#
- void ResetAndWait ( )#
- void ResetAndWait ( int opcTimeoutMs )
// SCPI: [SOURce<HW>]:LIST:RESet driver.Source.List.Reset(); driver.Source.List.ResetAndWait(); driver.Source.List.ResetAndWait(1000);Jumps to the beginning of the list.
ResetAndWait is the same as Reset, but waits for the operation to complete. The optional entered opcTimeoutMs is only valid for this call. If you omit the opcTimeoutMs, the method uses the settable value
RsSmw.Utilities.OpcTimeout.
- LmodRunModeEnum Rmode#
// SCPI: [SOURce<HW>]:LIST:RMODe LmodRunModeEnum value = driver.Source.List.Rmode; driver.Source.List.Rmode = LmodRunModeEnum.LEARned;Selects the run mode for processing the list.
rmode: LEARned | LIVE
LEARned: Generates the signal by replaying the previously learned and saved data from the temporary memory.
LIVE: Generates the signal by processing the list directly.
- bool Running#
// SCPI: [SOURce<HW>]:LIST:RUNNing bool value = driver.Source.List.Running;Queries the current state of the list mode.
state: 1 | ON | 0| OFF
1: Signal generation based on the list mode is active.
- string Select#
// SCPI: [SOURce<HW>]:LIST:SELect string value = driver.Source.List.Select; driver.Source.List.Select = "abc";Selects or creates a data list in list mode. If the list with the selected name does not exist, a new list is created.
filename: Filename or complete file path; file extension can be omitted.
Subgroups