Gets a DCPowerOutput channel with the specified name.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public DCPowerOutput this[string name] { get; }

Remarks

Returns the DCPowerOutput corresponding to the name of the channel.

In Visual C#, this property is the indexer. If the channel name corresponds to a simple channel string present in the session ("0", "1"), the corresponding DCPowerOutput channel is returned from the collection. Otherwise, a new DCPowerOutput channel is created with the specified name and returned. The DCPowerOutput channel created is not added to the collection.

Parameters

NameTypeDescription
namestring

The name of the channel. Use empty string to specify all channels in the session.