NI-SCOPE .NET Class Library Help

Table of Contents

NIScope.Channels Property

  • Updated2023-09-06
  • 1 minute(s) read
NIScope.Channels Property

NIScopeChannels Property

Gets the collection of channels configured on the NI-SCOPE session.

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

Syntax

public ScopeChannelCollection Channels { get; }
Public ReadOnly Property Channels As ScopeChannelCollection
	Get

Property Value

Type: ScopeChannelCollection
Returns an object of type ScopeChannelCollection.

Remarks

The Channels collection is initially empty. ScopeChannel instances are added to the collection when they are first indexed by channel name (e.g., "0" or "1"). While indexing channel groups by list (e.g., "0,1,2") or range (e.g., "0-2") produces ScopeChannel instances, the instances are not added to the collection and therefore cannot be enumerated using language features such as foreach.

See Also

Log in to get a better experience