Gets a DCPowerInstrument with the specified name.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public DCPowerInstrument this[string name] { get; }

Remarks

Returns the DCPowerInstrument corresponding to the specified name.

In Visual C#, this property is the indexer. If the instrument name corresponds to an instrument present in the session, the corresponding DCPowerInstrument is returned from the collection. Otherwise, a new DCPowerInstrument is created with the specified name and returned. The DCPowerInstrument created is not added to the collection.

Parameters

NameTypeDescription
namestring

The name of the instrument. Use empty string to specify all instruments in the session.