NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

Device.AccessoryProductNumbers Property

  • Updated2023-02-21
  • 1 minute(s) read
Device.AccessoryProductNumbers Property
Indicates the unique hardware identification number for accessories connected to the device. Each array element corresponds to a connector. For example, index 0 corresponds to connector 0. The array contains 0 for each connector with no accessory connected.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public long[] AccessoryProductNumbers { get; }
Public ReadOnly Property AccessoryProductNumbers As Long()
	Get

Property Value

Type: Int64
Indicates the unique hardware identification number for accessories connected to the device. Each array element corresponds to a connector. For example, index 0 corresponds to connector 0. The array contains 0 for each connector with no accessory connected.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

This property returns a copy of the actual array. Avoid calling this property within a for loop because it creates a copy for each iteration of the loop. Avoid using an indexer to set a member of the array because the indexer returns a copy of the object and has no effect on the actual object.

See Also

Log in to get a better experience