Creates an empty configuration list for RFSA list mode. Call the CreateStep method to add steps to the active configuration list.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public void CreateConfigurationList(string listName, RfsaConfigurationListProperties[] properties, bool setAsActiveList)

Parameters

NameTypeDescription
listNamestring

Specifies the name of the configuration list. This string must not contain spaces, special characters, or punctuation marks.

propertiesRfsaConfigurationListProperties[]

Specifies the properties that you intend to change between configuration list steps. Calling the CreateConfigurationList method allocates space for each of the configuration list properties. When you use set one of the configuration list properties, that property is set as one of the configuration list steps. Specify which configuration list step is being configured using the CreateStep property.

setAsActiveListbool

Sets this list as the active configuration list when this parameter is set to true.

Exceptions

TypeDescription
System.ObjectDisposedException

The CreateConfigurationList method was accessed after the associated NIRfsa object was disposed.