AIChannelCollection.CreateAccelerationChargeChannel Method (String, String, AITerminalConfiguration, Double, Double, AIAccelerationUnits, Double, AIAccelerationChargeSensitivityUnits)
- Updated2023-02-21
- 2 minute(s) read
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: AIChannelRemarks
Refer to accelerometers in the NI-DAQmx Help.