DAQDevice.PopulateDevice Method (UInt32, UInt32, UInt32, UInt32, UInt32, DAQCounterType[], UInt32)
- Updated2023-02-21
- 2 minute(s) read
Removes all existing channels from the DAQ device and repopulates the device with the specified channels.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Sub PopulateDevice ( _ NumAIChannels As UInteger, _ NumAOChannels As UInteger, _ NumDIChannels As UInteger, _ NumDOChannels As UInteger, _ PortWidth As UInteger, _ CounterTypes As DAQCounterType(), _ NumInternalChannels As UInteger _ ) |
| C# |
|---|
public void PopulateDevice( uint NumAIChannels, uint NumAOChannels, uint NumDIChannels, uint NumDOChannels, uint PortWidth, DAQCounterType[] CounterTypes, uint NumInternalChannels ) |
| Visual C++ |
|---|
public: void PopulateDevice( unsigned int NumAIChannels, unsigned int NumAOChannels, unsigned int NumDIChannels, unsigned int NumDOChannels, unsigned int PortWidth, array<DAQCounterType>^ CounterTypes, unsigned int NumInternalChannels ) |
Parameters
- NumAIChannels
- Type: System.UInt32
The number of analog input channels.
- NumAOChannels
- Type: System.UInt32
The number of analog output channels.
- NumDIChannels
- Type: System.UInt32
The number of digital input channels.
- NumDOChannels
- Type: System.UInt32
The number of digital output channels.
- PortWidth
- Type: System.UInt32
The total number of lines per port.
- CounterTypes
- Type:
NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounterType
The types of tasks the DAQ counter channels perform.
- NumInternalChannels
- Type: System.UInt32
The number of internal channels.