NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationNI-DAQmx .NET Framework 4.0 API Reference...AIChannelCollection MethodsCreateAccelerationChargeChannel Method AIChannelCollection.CreateAccelerationChargeChannel Method (String, String, AITerminalConfiguration, Double, Double, AIAccelerationUnits, Double, AIAccelerationChargeSensitivityUnits)Current page
Table of Contents

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

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

AIChannelCollectionCreateAccelerationChargeChannel Method (String, String, AITerminalConfiguration, Double, Double, AIAccelerationUnits, 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,
	AIAccelerationUnits units,
	double sensitivity,
	AIAccelerationChargeSensitivityUnits sensitivityUnits
)
Public Function CreateAccelerationChargeChannel ( 
	physicalChannelName As String,
	nameToAssignChannel As String,
	terminalConfiguration As AITerminalConfiguration,
	minimumValue As Double,
	maximumValue As Double,
	units As AIAccelerationUnits,
	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.
units
Type: NationalInstruments.DAQmxAIAccelerationUnits
The units to use to return acceleration measurements from the channel.
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

Remarks

Refer to accelerometers in the NI-DAQmx Help.

See Also

In This Section
Was this information helpful?