AIChannelCollection.CreateVelocityIepeChannel Method (String, String, AITerminalConfiguration, Double, Double, String, Double, AIVelocityIepeSensorSensitivityUnits, AIExcitationSource, Double)
- Updated2023-02-21
- 2 minute(s) read
AIChannelCollectionCreateVelocityIepeChannel Method (String, String, AITerminalConfiguration, Double, Double, String, Double, AIVelocityIepeSensorSensitivityUnits, AIExcitationSource, Double)
Creates an AIChannel that uses an IEPE velocity sensor to
measure velocity. This method adds one or more physical channels to the AIChannelCollection.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public AIChannel CreateVelocityIepeChannel( string physicalChannelName, string nameToAssignChannel, AITerminalConfiguration terminalConfiguration, double minimumValue, double maximumValue, string customScaleName, double sensitivity, AIVelocityIepeSensorSensitivityUnits sensitivityUnits, AIExcitationSource currentExcitationSource, double currentExcitationValue )
Public Function CreateVelocityIepeChannel ( physicalChannelName As String, nameToAssignChannel As String, terminalConfiguration As AITerminalConfiguration, minimumValue As Double, maximumValue As Double, customScaleName As String, sensitivity As Double, sensitivityUnits As AIVelocityIepeSensorSensitivityUnits, currentExcitationSource As AIExcitationSource, currentExcitationValue As Double ) As AIChannel
Parameters
- physicalChannelName
- Type: SystemString
The names of one or more physical channels to use to create one or more local virtual channels. - nameToAssignChannel
- Type: SystemString
One or more names to assign to the created local virtual channels. To use the physical channel name as the local virtual channel name, set this value to Empty. - terminalConfiguration
- Type: NationalInstruments.DAQmxAITerminalConfiguration
The input terminal configuration. To use the default terminal configuration for the physical channel(s) being used, pass a value of -1 casted to an AITerminalConfiguration. - minimumValue
- Type: SystemDouble
The minimum value expected from the measurement, in units. - maximumValue
- Type: SystemDouble
The maximum value expected from the measurement, in units. - customScaleName
- Type: SystemString
The name of the custom scale to apply to the local virtual channel. - sensitivity
- Type: SystemDouble
The sensitivity of the sensor. This value is in the units you specify with sensitivityUnits. Refer to the sensor documentation to determine this value. - sensitivityUnits
- Type: NationalInstruments.DAQmxAIVelocityIepeSensorSensitivityUnits
The units of sensitivity. - currentExcitationSource
- Type: NationalInstruments.DAQmxAIExcitationSource
The source of excitation. - currentExcitationValue
- Type: SystemDouble
The amount of excitation in amperes that the sensor requires.
Return Value
Type: AIChannelThe newly created AIChannel.