NI-SCOPE .NET Class Library Help

ScopeChannelCollection Properties

  • Updated2023-09-06
  • 1 minute(s) read
ScopeChannelCollection Properties

ScopeChannelCollection Properties

The ScopeChannelCollection type exposes the following members.

Properties

  NameDescription
Public propertyCount
Gets the number of cached ScopeChannel objects in the collection, which is equal to the number of channels configured using a single-channel string (e.g., "0" or "1").
Public propertyItem
Gets a ScopeChannel object from the collection with the specified name. In Visual C#, this property is the indexer.
  • If the channel name is a string specifying a list or range of channels (e.g., "0,1,2" or "0-6"), a new ScopeChannel is created and returned. The ScopeChannel created is not added to the collection.
  • If the channel name corresponds to only one channel (e.g., "0" or "1") and if the channel has previously been accessed and cached in the collection, the corresponding ScopeChannel is returned; otherwise if the specified channel name exists on the instrument, a new ScopeChannel object is created, added to the collection, and returned.
Top

See Also

Log in to get a better experience