NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

AIChannelCollection.CreateAccelerationChargeChannel Method (String, String, AITerminalConfiguration, Double, Double, String, Double, AIAccelerationChargeSensitivityUnits)

  • Updated2023-02-21
  • 2 minute(s) read
AIChannelCollection.CreateAccelerationChargeChannel Method (String, String, AITerminalConfiguration, Double, Double, String, Double, AIAccelerationChargeSensitivityUnits)
Creates channel(s) that use an accelerometer to measure acceleration and adds the channel(s) to the task you specify with taskHandle.

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

Syntax

public AIChannel CreateAccelerationChargeChannel(
	string physicalChannelName,
	string nameToAssignChannel,
	AITerminalConfiguration terminalConfiguration,
	double minimumValue,
	double maximumValue,
	string customScaleName,
	double sensitivity,
	AIAccelerationChargeSensitivityUnits sensitivityUnits
)
Public Function CreateAccelerationChargeChannel ( 
	physicalChannelName As String,
	nameToAssignChannel As String,
	terminalConfiguration As AITerminalConfiguration,
	minimumValue As Double,
	maximumValue As Double,
	customScaleName As String,
	sensitivity As Double,
	sensitivityUnits As AIAccelerationChargeSensitivityUnits
) As AIChannel

Parameters

physicalChannelName
Type: SystemString
The names of the physical channels to use to create virtual channels. You can specify a list or range of physical channels.
nameToAssignChannel
Type: SystemString
The name(s) to assign to the created virtual channel(s). If you do not specify a name, NI-DAQmx uses the physical channel name as the virtual channel name. If you specify your own names for nameToAssignToChannel, you must use the names when you refer to these channels in other NI-DAQmx methods.
terminalConfiguration
Type: NationalInstruments.DAQmxAITerminalConfiguration
The input TerminalConfigurationTypes for the channel.
minimumValue
Type: SystemDouble
The minimum value, in units, that you expect to measure.
maximumValue
Type: SystemDouble
The maximum value, in units, that you expect to measure.
customScaleName
Type: SystemString
The name of a custom scale to apply to the channel. To use this parameter, you must set units to FromCustomScale. If you do not set units to FromCustomScale, you must set customScaleName to .
sensitivity
Type: SystemDouble
The sensitivity of the sensor. This value is in the units you specify with the sensitivityUnits input. Refer to the sensor documentation to determine this value.
sensitivityUnits
Type: NationalInstruments.DAQmxAIAccelerationChargeSensitivityUnits
The units of sensitivity.

Return Value

Type: AIChannel

See Also

Log in to get a better experience