NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerOutputCollection.Item Property

  • Updated2024-01-04
  • 1 minute(s) read
DCPowerOutputCollection.Item Property

DCPowerOutputCollectionItem Property

Gets a DCPowerOutput channel with the specified name.

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public DCPowerOutput this[
	string name
] { get; }
Public ReadOnly Default Property Item ( 
	name As String
) As DCPowerOutput
	Get

Parameters

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

Property Value

Type: DCPowerOutput
Returns the DCPowerOutput corresponding to the name of the channel.

Remarks

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.

See Also

Log in to get a better experience