NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

AIChannel Class

AIChannel Class

AIChannel Class

Encapsulates one or more analog input virtual channels and the properties for an analog input virtual channel.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxChannel
      NationalInstruments.DAQmxAIChannel

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

Syntax

public class AIChannel : Channel, IFilteredTypeDescriptor
Public Class AIChannel
	Inherits Channel
	Implements IFilteredTypeDescriptor

The AIChannel type exposes the following members.

Properties

  NameDescription
Public propertyAccelerationChargeSensitivity
Specifies the sensitivity of the charge acceleration sensor connected to the channel. This value is the units you specify with AI.Accel.Charge.SensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyAccelerationChargeSensitivityUnits
Specifies the units of AI.Accel.Charge.Sensitivity.
Public propertyAccelerationDecibelReference
Specifies the decibel reference level in the units of the channel. When you read samples as a waveform, the decibel reference level is included in the waveform attributes.
Public propertyAccelerationFourWireDCVoltageSensitivity
Specifies the sensitivity of the 4 wire DC voltage acceleration sensor connected to the channel. This value is the units you specify with AI.Accel.4WireDCVoltage.SensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyAccelerationFourWireDCVoltageSensitivityUnits
Specifies the units of AI.Accel.4WireDCVoltage.Sensitivity.
Public propertyAccelerationUnits
Specifies the units to use to return acceleration measurements from the channel.
Public propertyAccelerometerSensitivity
Specifies the sensitivity of the accelerometer. This value is in the units you specify with AccelerometerSensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyAccelerometerSensitivityUnits
Specifies the units of AccelerometerSensitivity.
Public propertyACExcitationFrequency
Specifies the AC excitation frequency in Hertz.
Public propertyACExcitationSyncEnable
Specifies whether to synchronize the AC excitation source of the channel to that of another channel. Synchronize the excitation sources of multiple channels to use multichannel sensors. Set this property to for the master channel and to for the slave channels.
Public propertyACExcitationWireMode
Specifies the number of leads on the LVDT or RVDT. Some sensors require you to tie leads together to create a four- or five- wire sensor. Refer to the sensor documentation for more information.
Public propertyAdcCustomTimingMode
Public propertyAdcTimingMode
Specifies the ADC timing mode, controlling the tradeoff between speed and effective resolution. Some ADC timing modes provide increased powerline noise rejection. On devices that have an AI Convert clock, this setting affects both the maximum and default values for AIConvertRate. You must use the same ADC timing mode for all channels on a device, but you can use different ADC timing modes for different devices in the same task.
Public propertyAttenuation
Specifies the amount of attenuation to use.
Public propertyAutoZeroMode
Specifies how often to measure ground. NI-DAQmx subtracts the measured ground voltage from every sample.
Public propertyAveragingWindowSize
Specifies the number of samples to average while acquiring data. Increasing the number of samples to average reduces noise in your measurement.
Public propertyBridgeBalanceCoarsePot
Specifies by how much to compensate for offset in the signal. This value can be between 0 and 127.
Public propertyBridgeBalanceFinePot
Specifies by how much to compensate for offset in the signal. This value can be between 0 and 4095.
Public propertyBridgeConfiguration
Specifies the type of Wheatstone bridge connected to the channel.
Public propertyBridgeElectricalUnits
Specifies from which electrical unit to scale data. Select the same unit that the sensor data sheet or calibration certificate uses for electrical values.
Public propertyBridgeInitialRatio
Specifies in volts per volt the ratio of output voltage from the bridge to excitation voltage supplied to the bridge while not under load. NI-DAQmx subtracts this value from any measurements before applying scaling equations. If you set BridgeInitialVoltage, NI-DAQmx coerces this property to BridgeInitialVoltage divided by ExcitationActualValue. If you set this property, NI-DAQmx coerces BridgeInitialVoltage to the value of this property times ExcitationActualValue. If you set both this property and BridgeInitialVoltage, and their values conflict, NI-DAQmx returns an error. To avoid this error, reset one property to its default value before setting the other.
Public propertyBridgeInitialVoltage
Specifies in volts the output voltage of the bridge while not under load. NI-DAQmx subtracts this value from any measurements before applying scaling equations. If you set BridgeInitialRatio, NI-DAQmx coerces this property to BridgeInitialRatio times ExcitationActualValue. This property is set by DAQmx Perform Bridge Offset Nulling Calibration. If you set this property, NI-DAQmx coerces BridgeInitialRatio to the value of this property divided by ExcitationActualValue. If you set both this property and BridgeInitialRatio, and their values conflict, NI-DAQmx returns an error. To avoid this error, reset one property to its default value before setting the other.
Public propertyBridgeNominalResistance
Specifies in ohms the resistance of the bridge while not under load.
Public propertyBridgePhysicalUnits
Specifies to which physical unit to scale electrical data. Select the same unit that the sensor data sheet or calibration certificate uses for physical values.
Public propertyBridgePolynomialForwardCoefficients
Specifies an array of coefficients for the polynomial that converts electrical values to physical values. Each element of the array corresponds to a term of the equation. For example, if index three of the array is 9, the fourth term of the equation is 9x^3.
Public propertyBridgePolynomialReverseCoefficients
Specifies an array of coefficients for the polynomial that converts physical values to electrical values. Each element of the array corresponds to a term of the equation. For example, if index three of the array is 9, the fourth term of the equation is 9x^3.
Public propertyBridgeScaleType
Specifies the scaling type to use when scaling electrical values from the sensor to physical units.
Public propertyBridgeShuntCalibrationAActualResistance
Specifies in ohms the actual value of the internal shunt calibration A resistor.
Public propertyBridgeShuntCalibrationAResistance
Specifies in ohms the desired value of the internal shunt calibration A resistor.
Public propertyBridgeShuntCalibrationASource
Specifies whether to use internal or external shunt when Shunt Cal A is selected.
Public propertyBridgeShuntCalibrationBActualResistance
Specifies in ohms the actual value of the internal shunt calibration B resistor.
Public propertyBridgeShuntCalibrationBResistance
Specifies in ohms the desired value of the internal shunt calibration B resistor.
Public propertyBridgeShuntCalibrationEnable
Specifies whether to enable a shunt calibration switch. Use BridgeShuntCalibrationSelect to select the switch(es) to enable.
Public propertyBridgeShuntCalibrationGainAdjust
Specifies the result of a shunt calibration. This property is set by DAQmx Perform Shunt Calibration. NI-DAQmx multiplies data read from the channel by the value of this property. This value should be close to 1.0.
Public propertyBridgeShuntCalibrationSelect
Specifies which shunt calibration switch(es) to enable. Use BridgeShuntCalibrationEnable to enable the switch(es) you specify with this property.
Public propertyBridgeTableElectricalValues
Specifies the array of electrical values that map to the values in BridgeTablePhysicalValues. Specify this value in the unit indicated by BridgeElectricalUnits.
Public propertyBridgeTablePhysicalValues
Specifies the array of physical values that map to the values in BridgeTableElectricalValues. Specify this value in the unit indicated by BridgePhysicalUnits.
Public propertyBridgeTwoPointLinearFirstElectricalValue
Specifies the first electrical value, corresponding to BridgeTwoPointLinearFirstPhysicalValue. Specify this value in the unit indicated by BridgeElectricalUnits.
Public propertyBridgeTwoPointLinearFirstPhysicalValue
Specifies the first physical value, corresponding to BridgeTwoPointLinearFirstElectricalValue. Specify this value in the unit indicated by BridgePhysicalUnits.
Public propertyBridgeTwoPointLinearSecondElectricalValue
Specifies the second electrical value, corresponding to BridgeTwoPointLinearSecondPhysicalValue. Specify this value in the unit indicated by BridgeElectricalUnits.
Public propertyBridgeTwoPointLinearSecondPhysicalValue
Specifies the second physical value, corresponding to BridgeTwoPointLinearSecondElectricalValue. Specify this value in the unit indicated by BridgePhysicalUnits.
Public propertyBridgeUnits
Specifies in which unit to return voltage ratios from the channel.
Public propertyCalibrationApplyIfExpired
Specifies whether to apply the channel calibration to the channel after the expiration date has passed.
Public propertyCalibrationDate
Gets or sets the last date and time that the channel underwent a channel calibration.
Public propertyCalibrationDescription
Specifies the description entered for the calibration of the channel.
Public propertyCalibrationEnable
Specifies whether to enable the channel calibration associated with the channel.
Public propertyCalibrationExpirationDate
Gets or sets the date and time that the channel calibration expires.
Public propertyCalibrationHasValidInfo
Indicates if the channel has calibration information.
Public propertyCalibrationOperatorName
Specifies the name of the operator who performed the channel calibration.
Public propertyCalibrationPolynomialForwardCoefficients
Specifies the forward polynomial values used for calibrating the channel.
Public propertyCalibrationPolynomialReverseCoefficients
Specifies the reverse polynomial values used for calibrating the channel.
Public propertyCalibrationScaleType
Specifies the method or equation form that the calibration scale uses.
Public propertyCalibrationTablePreScaledValues
Specifies the reference values collected when calibrating the channel.
Public propertyCalibrationTableScaledValues
Specifies the acquired values collected when calibrating the channel.
Public propertyCalibrationVerificationAcquiredValues
Specifies the acquired values collected when verifying the calibration. NI-DAQmx stores these values as a record of calibration accuracy and does not use them in the scaling process.
Public propertyCalibrationVerificationReferenceValues
Specifies the reference values collected when verifying the calibration. NI-DAQmx stores these values as a record of calibration accuracy and does not use them in the scaling process.
Public propertyChargeUnits
Specifies the units to use to return charge measurements from the channel.
Public propertyChopEnable
Specifies whether the device will chop its inputs. Chopping removes offset voltages and other low frequency errors.
Public propertyCoupling
Specifies the coupling for the channel.
Public propertyCurrentAcrmsUnits
Specifies the units to use to return current RMS measurements from the channel.
Public propertyCurrentShuntLocation
Specifies the shunt resistor location for current measurements.
Public propertyCurrentShuntResistance
Specifies in ohms the external shunt resistance for current measurements.
Public propertyCurrentUnits
Specifies the units to use to return current measurements from the channel.
Public propertyCustomScaleName
Specifies the name of a custom scale for the channel.
Public propertyDataTransferCustomThreshold
Specifies the number of samples that must be in the FIFO to transfer data from the device if DataTransferRequestCondition is OnBoardMemoryCustomThreshold.
Public propertyDataTransferMaximumRate
Specifies the rate in B/s to transfer data from the device. If this value is not set, then the device will transfer data at a rate based on the bus detected. Modify this value to affect performance under different combinations of operating system, configuration, and device.
Public propertyDataTransferMechanism
Specifies the data transfer mode for the device.
Public propertyDataTransferRequestCondition
Specifies under what condition to transfer data from the onboard memory of the device to the buffer.
Public propertyDCOffset
Specifies the DC value to add to the input range of the device. Use RangeHigh and RangeLow to specify the input range. This offset is in the native units of the device .
Public propertyDescription
Specifies a user-defined description for the channel.
(Inherited from Channel.)
Public propertyDeviceScalingCoefficients
Indicates the coefficients of a polynomial equation that NI-DAQmx uses to scale values from the native format of the device to volts. Each element of the array corresponds to a term of the equation. For example, if index two of the array is 4, the third term of the equation is 4x^2. Scaling coefficients do not account for any custom scales or sensors contained by the channel.
Public propertyDigitalFilterBandpassCenterFrequency
Specifies the center frequency of the passband for the digital filter.
Public propertyDigitalFilterBandpassWidth
Specifies the width of the passband centered around the center frequency for the digital filter.
Public propertyDigitalFilterCoefficients
Specifies the digital filter coefficients.
Public propertyDigitalFilterEnabled
Specifies whether the digital filter is enabled or disabled.
Public propertyDigitalFilterHighpassCutoffFrequency
Specifies the highpass cutoff frequency of the digital filter.
Public propertyDigitalFilterLowpassCutoffFrequency
Specifies the lowpass cutoff frequency of the digital filter.
Public propertyDigitalFilterNotchCenterFrequency
Specifies the center frequency of the stopband for the digital filter.
Public propertyDigitalFilterNotchWidth
Specifies the width of the stopband centered around the center frequency for the digital filter.
Public propertyDigitalFilterOrder
Specifies the order of the digital filter.
Public propertyDigitalFilterResponse
Specifies the digital filter response.
Public propertyDigitalFilterType
Specifies the digital filter type.
Public propertyDitherEnable
Specifies whether to enable dithering. Dithering adds Gaussian noise to the input signal. You can use dithering to achieve higher resolution measurements by over sampling the input signal and averaging the results.
Public propertyEddyCurrentProximityProbeSensitivity
Specifies the sensitivity of the eddy current proximity probe . This value is in the units you specify with EddyCurrentProximityProbeSensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyEddyCurrentProximityProbeSensitivityUnits
Specifies the units of EddyCurrentProximityProbeSensitivity.
Public propertyEddyCurrentProximityProbeUnits
Specifies the units to use to return proximity measurements from the channel.
Public propertyEnhancedAliasRejectionEnable
Specifies whether to enable enhanced alias rejection. Leave this property set to the default value for most applications.
Public propertyExcitationActualValue
Specifies the actual amount of excitation supplied by an internal excitation source. If you read an internal excitation source more precisely with an external device, set this property to the value you read. NI-DAQmx ignores this value for external excitation. When performing shunt calibration, some devices set this property automatically.
Public propertyExcitationDCOrAC
Specifies if the excitation supply is DC or AC.
Public propertyExcitationIdleOutputBehavior
Specifies whether this channel will disable excitation after the task is uncommitted. Setting this to Zero Volts or Amps disables excitation after task uncommit. Setting this attribute to Maintain Existing Value leaves the excitation on after task uncommit.
Public propertyExcitationSense
Specifies whether to use local or remote sense to sense excitation.
Public propertyExcitationSource
Specifies the source of excitation.
Public propertyExcitationValue
Specifies the amount of excitation that the sensor requires. If ExcitationVoltageOrCurrent is Voltage, this value is in volts. If ExcitationVoltageOrCurrent is Current, this value is in amperes.
Public propertyExcitationVoltageOrCurrent
Specifies if the channel uses current or voltage excitation.
Public propertyFilterDelay
Indicates the amount of time between when the ADC samples data and when the sample is read by the host device. This value is in the units you specify with FilterDelayUnits. You can adjust this amount of time using FilterDelayAdjustment.
Public propertyFilterDelayAdjustment
Specifies the amount of filter delay that gets removed if RemoveFilterDelay is enabled. This delay adjustment is in addition to the value indicated by FilterDelay. This delay adjustment is in the units you specify with FilterDelayUnits.
Public propertyFilterDelayUnits
Specifies the units of FilterDelay and FilterDelayAdjustment.
Public propertyFilterEnabled
Specifies the corresponding filter enable/disable state.
Public propertyFilterFrequency
Specifies the corresponding filter frequency (cutoff or center) of the filter response.
Public propertyFilterOrder
Specifies the corresponding filter order and defines the slope of the filter response.
Public propertyFilterResponse
Specifies the corresponding filter response and defines the shape of the filter response.
Public propertyForceIepeSensorSensitivity
Specifies the sensitivity of the IEPE force sensor connected to the channel. Specify this value in the unit indicated by ForceIepeSensorSensitivityUnits.
Public propertyForceIepeSensorSensitivityUnits
Specifies the units for ForceIepeSensorSensitivity.
Public propertyForceReadFromChannel
Specifies whether to read from the channel if it is a cold-junction compensation channel. By default, reading from the task does not return data from cold-junction compensation channels. Setting this property to forces read operations to return the cold-junction compensation channel data with the other channels in the task.
Public propertyForceReadFromStrainChannel
Specifies whether the data is returned by reading from the task when set on a raw strain channel that is part of a rosette configuration.
Public propertyForceUnits
Specifies in which unit to return force or load measurements from the channel.
Public propertyFrequencyHysteresis
Specifies in volts a window below FrequencyThresholdVoltage. The input voltage must pass below FrequencyThresholdVoltage minus this value before NI-DAQmx recognizes a waveform repetition at FrequencyThresholdVoltage. Hysteresis can improve the measurement accuracy when the signal contains noise or jitter.
Public propertyFrequencyThresholdVoltage
Specifies the voltage level at which to recognize waveform repetitions. You should select a voltage level that occurs only once within the entire period of a waveform. You also can select a voltage that occurs only once while the voltage rises or falls.
Public propertyFrequencyUnits
Specifies the units to use to return frequency measurements from the channel.
Public propertyGain
Specifies a gain factor to apply to the channel.
Public propertyImpedance
Specifies the input impedance of the channel.
Public propertyInputLimitsFaultDetectEnable
Specifies whether to enable input limits fault detection.
Public propertyInputLimitsFaultDetectLowerLimit
Specifies the level of the lower limit for input limits detection. An input sample outside the upper and lower bounds causes a fault. Note: Fault detection applies to both positive and negative inputs. For instance, if you specify a lower limit of 2 mA and an upper limit of 12 mA, NI-DAQmx detects a fault at 15 mA and -15 mA, but not at -6 mA because it is in the range of -12 mA to -2 mA.
Public propertyInputLimitsFaultDetectUpperLimit
Specifies the level of the upper limit for input limits detection. An input sample outside the upper and lower bounds causes a fault. Note: Fault detection applies to both positive and negative inputs. For instance, if you specify a lower limit of 2 mA and an upper limit of 12 mA, NI-DAQmx detects a fault at 15 mA and -15 mA, but not at -6 mA because it is in the range of -12 mA to -2 mA.
Public propertyInputSource
Specifies the source of the channel. You can use the signal from the I/O connector or one of several calibration signals. Certain devices have a single calibration signal bus. For these devices, you must specify the same calibration signal for all channels you connect to a calibration signal.
Public propertyIsGlobal
Indicates whether the channel is a global channel.
(Inherited from Channel.)
Public propertyIsTeds
Indicates if the virtual channel was initialized using a TEDS bitstream from the corresponding physical channel.
Public propertyLeadWireResistance
Specifies in ohms the resistance of the wires that lead to the sensor.
Public propertyLossyLsbRemovalCompressedSampleSize
Specifies the number of bits to return in a raw sample when RawDataCompressionType is set to LossyLsbRemoval.
Public propertyLowpassCutoffFrequency
Specifies the frequency in Hertz that corresponds to the -3dB cutoff of the filter.
Public propertyLowpassEnable
Specifies whether to enable the lowpass filter of the channel.
Public propertyLowpassSwitchedCapacitorClockSource
Specifies the source of the filter clock. If you need a higher resolution for the filter, you can supply an external clock to increase the resolution. Refer to the SCXI-1141/1142/1143 User Manual for more information.
Public propertyLowpassSwitchedCapacitorExternalClockDivisor
Specifies the divisor for the external clock when you set LowpassSwitchedCapacitorClockSource to External. On the SCXI-1141, SCXI-1142, and SCXI-1143, NI-DAQmx determines the filter cutoff by using the equation f/(100*n), where f is the external frequency, and n is the external clock divisor. Refer to the SCXI-1141/1142/1143 User Manual for more information.
Public propertyLowpassSwitchedCapacitorExternalClockFrequency
Specifies the frequency of the external clock when you set LowpassSwitchedCapacitorClockSource to External. NI-DAQmx uses this frequency to set the pre- and post- filters on the SCXI-1141, SCXI-1142, and SCXI-1143. On those devices, NI-DAQmx determines the filter cutoff by using the equation f/(100*n), where f is the external frequency, and n is the external clock divisor. Refer to the SCXI-1141/1142/1143 User Manual for more information.
Public propertyLowpassSwitchedCapacitorOutputClockDivisor
Specifies the divisor for the output clock. NI-DAQmx uses the cutoff frequency to determine the output clock frequency. Refer to the SCXI-1141/1142/1143 User Manual for more information.
Public propertyLvdtSensitivity
Specifies the sensitivity of the LVDT. This value is in the units you specify with LvdtSensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyLvdtSensitivityUnits
Specifies the units of LvdtSensitivity.
Public propertyLvdtUnits
Specifies the units to use to return linear position measurements from the channel.
Public propertyMaximum
Specifies the maximum value you expect to measure. This value is in the units you specify with a units property. When you query this property, it returns the coerced maximum value that the device can measure with the current settings.
Public propertyMaximumSoundPressureLevel
Specifies the maximum instantaneous sound pressure level you expect to measure. This value is in decibels, referenced to 20 micropascals. NI-DAQmx uses the maximum sound pressure level to calculate values in pascals for Maximum and Minimum for the channel.
Public propertyMeasurementType
Indicates the measurement to take with the analog input channel and in some cases, such as for temperature measurements, the sensor to use.
Public propertyMemoryMappingEnable
Specifies for NI-DAQmx to map hardware registers to the memory space of the application, if possible. Normally, NI-DAQmx maps hardware registers to memory accessible only to the kernel. Mapping the registers to the memory space of the application increases performance. However, if the application accesses the memory space mapped to the registers, it can adversely affect the operation of the device and possibly result in a system crash.
Public propertyMicrophoneSensitivity
Specifies the sensitivity of the microphone. This value is in mV/Pa. Refer to the sensor documentation to determine this value.
Public propertyMinimum
Specifies the minimum value you expect to measure. This value is in the units you specify with a units property. When you query this property, it returns the coerced minimum value that the device can measure with the current settings.
Public propertyOpenChannelDetectEnable
Specifies whether to enable open channel detection.
Public propertyOpenThermocoupleDetectEnable
Specifies whether to apply the open thermocouple detection bias voltage to the channel. Changing the value of this property on a channel may require settling time before the data returned is valid. To compensate for this settling time, discard unsettled data or add a delay between committing and starting the task. Refer to your device specifications for the required settling time. When open thermocouple detection is enabled, use OpenThermocoupleChannelsExist to determine if any channels were open.
Public propertyOvercurrentDetectEnable
Specifies whether to enable overcurrent detection.
Public propertyPhysicalName
Specifies the name of the physical channel upon which this virtual channel is based.
(Inherited from Channel.)
Public propertyPowerSupplyFaultDetectEnable
Specifies whether to enable power supply fault detection.
Public propertyPressureUnits
Specifies in which unit to return pressure measurements from the channel.
Public propertyProbeAttenuation
Specifies the amount of attenuation provided by the probe connected to the channel. Specify this attenuation as a ratio.
Public propertyRangeHigh
Specifies the upper limit of the input range of the device. This value is in the native units of the device. On E Series devices, for example, the native units is volts.
Public propertyRangeLow
Specifies the lower limit of the input range of the device. This value is in the native units of the device. On E Series devices, for example, the native units is volts.
Public propertyRawDataCompressionType
Specifies the type of compression to apply to raw samples returned from the device.
Public propertyRawSampleJustification
Indicates the justification of a raw sample from the device.
Public propertyRawSampleSize
Indicates in bits the size of a raw sample from the device.
Public propertyReadOpenChannels
Indicates a list of names of any open virtual channels. You must read ReadOpenChannelsExist before you read this property. Otherwise you will receive an error.
Public propertyReadOpenChannelsDetails
Indicates a list of details of any open virtual channels. You must read ReadOpenChannelsExist before you read this property. Otherwise you will receive an error.
Public propertyReadOpenChannelsExist
Indicates if the device or devices detected an open channel condition in any virtual channel in the task. Reading this property clears the open channel status for all channels in this task. You must read this property before you read ReadOpenChannels. Otherwise, you will receive an error.
Public propertyRemoveFilterDelay
Specifies if filter delay removal is enabled on the device.
Public propertyResistanceConfiguration
Specifies the resistance configuration for the channel. NI-DAQmx uses this value for any resistance-based measurements, including temperature measurement using a thermistor or RTD.
Public propertyResistanceUnits
Specifies the units to use to return resistance measurements.
Public propertyResolution
Indicates the resolution of the analog-to-digital converter of the channel. This value is in the units you specify with ResolutionUnits.
Public propertyResolutionUnits
Indicates the units of Resolution.
Public propertyRosetteMeasurementType
Specifies the type of rosette measurement.
Public propertyRosetteStrainChannels
Indicates the raw strain channels that comprise the strain rosette.
Public propertyRosetteStrainGageOrientation
Specifies gage orientation in degrees with respect to the X axis.
Public propertyRosetteType
Indicates the type of rosette gage.
Public propertyRtdA
Specifies the 'A' constant of the Callendar-Van Dusen equation. NI-DAQmx requires this value when you use a custom RTD.
Public propertyRtdB
Specifies the 'B' constant of the Callendar-Van Dusen equation. NI-DAQmx requires this value when you use a custom RTD.
Public propertyRtdC
Specifies the 'C' constant of the Callendar-Van Dusen equation. NI-DAQmx requires this value when you use a custom RTD.
Public propertyRtdR0
Specifies in ohms the sensor resistance at 0 deg C. The Callendar-Van Dusen equation requires this value. Refer to the sensor documentation to determine this value.
Public propertyRtdType
Specifies the type of RTD connected to the channel.
Public propertyRvdtSensitivity
Specifies the sensitivity of the RVDT. This value is in the units you specify with RvdtSensitivityUnits. Refer to the sensor documentation to determine this value.
Public propertyRvdtSensitivityUnits
Specifies the units of RvdtSensitivity.
Public propertyRvdtUnits
Specifies the units to use to return angular position measurements from the channel.
Public propertySampleAndHoldEnable
Specifies whether to enable the sample and hold circuitry of the device. When you disable sample and hold circuitry, a small voltage offset might be introduced into the signal. You can eliminate this offset by using AutoZeroMode to perform an auto zero on the channel.
Public propertySensorPowerConfiguration
Specifies whether to turn on the sensor's power supply or to leave the configuration unchanged.
Public propertySensorPowerType
Specifies the type of power supplied to the sensor.
Public propertySensorPowerVoltage
Specifies the voltage level for the sensor's power supply.
Public propertySoundPressureDecibelReference
Specifies the decibel reference level in the units of the channel. When you read samples as a waveform, the decibel reference level is included in the waveform attributes. NI-DAQmx also uses the decibel reference level when converting MaximumSoundPressureLevel to a voltage level.
Public propertySoundPressureUnits
Specifies the units to use to return sound pressure measurements from the channel.
Public propertyStrainGageConfiguration
Specifies the bridge configuration of the strain gages.
Public propertyStrainGageGageFactor
Specifies the sensitivity of the strain gage. Gage factor relates the change in electrical resistance to the change in strain. Refer to the sensor documentation for this value.
Public propertyStrainGagePoissonRatio
Specifies the ratio of lateral strain to axial strain in the material you are measuring.
Public propertyStrainUnits
Specifies the units to use to return strain measurements from the channel.
Public propertySynchronizationUnlockBehavior
Specifies the action to take if the target loses its synchronization to the grand master.
(Inherited from Channel.)
Public propertyTedsUnits
Indicates the units defined by TEDS information associated with the channel.
Public propertyTemperatureUnits
Specifies the units to use to return temperature measurements from the channel.
Public propertyTerminalConfiguration
Specifies the terminal configuration for the channel.
Public propertyThermistorA
Specifies the 'A' constant of the Steinhart-Hart thermistor equation.
Public propertyThermistorB
Specifies the 'B' constant of the Steinhart-Hart thermistor equation.
Public propertyThermistorC
Specifies the 'C' constant of the Steinhart-Hart thermistor equation.
Public propertyThermistorR1
Specifies in ohms the value of the reference resistor for the thermistor if you use voltage excitation. NI-DAQmx ignores this value for current excitation.
Public propertyThermocoupleCjcChannel
Indicates the channel that acquires the temperature of the cold junction if ThermocoupleCjcSource is Channel. If the channel is a temperature channel, NI-DAQmx acquires the temperature in the correct units. Other channel types, such as a resistance channel with a custom sensor, must use a custom scale to scale values to degrees Celsius.
Public propertyThermocoupleCjcSource
Indicates the source of cold-junction compensation.
Public propertyThermocoupleCjcValue
Specifies the temperature of the cold junction if ThermocoupleCjcSource is ConstantValue. Specify this value in the units of the measurement.
Public propertyThermocoupleLeadOffsetVoltage
Specifies the lead offset nulling voltage to subtract from measurements on a device. This property is ignored if open thermocouple detection is disabled.
Public propertyThermocoupleScaleType
Specifies the method or equation form that the thermocouple scale uses.
Public propertyThermocoupleType
Specifies the type of thermocouple connected to the channel. Thermocouple types differ in composition and measurement range.
Public propertyTorqueUnits
Specifies in which unit to return torque measurements from the channel.
Public propertyType
Indicates the type of the virtual channel.
(Inherited from Channel.)
Public propertyUsbTransferRequestCount
Specifies the maximum number of simultaneous USB transfers used to stream data. Modify this value to affect performance under different combinations of operating system and device.
Public propertyUsbTransferRequestSize
Specifies the maximum size of a USB transfer request in bytes. Modify this value to affect performance under different combinations of operating system and device.
Public propertyUseExcitationForScaling
Specifies if NI-DAQmx divides the measurement by the excitation. You should typically set this property to for ratiometric transducers. If you set this property to , set Maximum and Minimum to reflect the scaling.
Public propertyUseMultiplexedExcitation
Specifies if the SCXI-1122 multiplexes the excitation to the upper half of the channels as it advances through the scan list.
Public propertyVelocityIepeSensorDecibelReference
Specifies the decibel reference level in the units of the channel. When you read samples as a waveform, the decibel reference level is included in the waveform attributes.
Public propertyVelocityIepeSensorSensitivity
Specifies the sensitivity of the IEPE velocity sensor connected to the channel. Specify this value in the unit indicated by VelocityIepeSensorSensitivityUnits.
Public propertyVelocityIepeSensorSensitivityUnits
Specifies the units for VelocityIepeSensorSensitivity.
Public propertyVelocityUnits
Specifies in which unit to return velocity measurements from the channel.
Public propertyVirtualName
Gets the name of the virtual channel.
(Inherited from Channel.)
Public propertyVoltageAcrmsUnits
Specifies the units to use to return voltage RMS measurements from the channel.
Public propertyVoltageDecibelReference
Specifies the decibel reference level in the units of the channel. When you read samples as a waveform, the decibel reference level is included in the waveform attributes.
Public propertyVoltageUnits
Specifies the units to use to return voltage measurements from the channel.
Top

Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by Channel.
(Inherited from Channel.)
Protected methodDispose(Boolean)
Releases the managed and unmanaged resources used by Channel or optionally releases only the unmanaged resources.
(Inherited from Channel.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodPerformBridgeOffsetNullingCalibration
Performs a bridge offset nulling calibration on the virtual channels in the task. An error will occur if not all virtual channels in the task support this operation.
Public methodPerformBridgeOffsetNullingCalibration(Boolean)
Performs a bridge offset nulling calibration on the virtual channels in the task.
Public methodPerformBridgeShuntCalibration(Double, ShuntElementLocation, Double)
Performs shunt calibration for the virtual channels in the task using a bridge sensor. An error will occur if not all virtual channels in the task support this operation.
Public methodPerformBridgeShuntCalibration(Double, ShuntElementLocation, Double, Boolean)
Performs shunt calibration for the virtual channels in the task using a bridge sensor.
Public methodPerformBridgeShuntCalibration(Double, ShuntElementLocation, Double, ShuntCalibrationSelect, ShuntResistorSource)
Performs shunt calibration for the specified channels using a bridge sensor.
Public methodPerformBridgeShuntCalibration(Double, ShuntElementLocation, Double, ShuntCalibrationSelect, ShuntResistorSource, Boolean)
Performs shunt calibration for the specified channels using a bridge sensor.
Public methodPerformStrainShuntCalibration(Double, ShuntElementLocation)
Performs shunt calibration for the virtual channels in the task using a strain gage sensor. An error will occur if not all virtual channels in the task support this operation.
Public methodPerformStrainShuntCalibration(Double, ShuntElementLocation, Boolean)
Performs shunt calibration for the virtual channels in the task using a strain gage sensor.
Public methodPerformStrainShuntCalibration(Double, ShuntElementLocation, ShuntCalibrationSelect, ShuntResistorSource)
Performs shunt calibration for the specified channels using a strain gage sensor.
Public methodPerformStrainShuntCalibration(Double, ShuntElementLocation, ShuntCalibrationSelect, ShuntResistorSource, Boolean)
Performs shunt calibration for the specified channels using a strain gage sensor.
Public methodPerformThermocoupleLeadOffsetNullingCalibration
Performs thermocouple lead offset nulling calibration on the channels in the task to compensate for offsets introduced by open thermocouple detection. An error will occur if not all virtual channels in the task support this operation.
Public methodPerformThermocoupleLeadOffsetNullingCalibration(Boolean)
Performs thermocouple lead offset nulling calibration on the channels in the task to compensate for offsets introduced by open thermocouple detection. Use this method to specify whether or not to skip channels that do not support calibration.
Public methodToString
Returns a string representation of the object.
(Inherited from Channel.)
Top

Remarks

Use the AIChannels property to create or access an analog input virtual channel. An AIChannel might contain more than one virtual channel because the AIChannel is defined by providing a valid NI-DAQmx channel string to the AIChannels indexer or to an AIChannelCollection create virtual channel method. If you set a property on an AIChannel object that represents multiple virtual channels, that property is set for all of the virtual channels that the object represents.
Tip Tip
Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Was this information helpful?