Home
chm2web Web Online Help Prev Page Prev Page
NI-DAQmx C Reference Help
Additional Information
Troubleshooting
Related Documentation
Using Help
Conventions
Navigating Help
Searching Help
Printing Help File Topics
NI-DAQmx Concepts
NI-DAQmx C Functions
Task Configuration/Control
DAQmxAddGlobalChansToTask
DAQmxClearTask
DAQmxConfigureLogging
DAQmxCreateTask
DAQmxIsTaskDone
DAQmxLoadTask
DAQmxStartTask
DAQmxStartNewFile
DAQmxStopTask
DAQmxWaitUntilTaskDone
Events
DAQmxRegisterDoneEvent
DAQmxRegisterEveryNSamplesEvent
DAQmxRegisterSignalEvent
Advanced
DAQmxGetNthTaskChannel
DAQmxGetNthTaskDevice
DAQmxTaskControl
Channel Configuration/Creation
Create Analog Input Channels
DAQmxCreateAIAccelChan
DAQmxCreateAIBridgeChan
DAQmxCreateAICurrentChan
DAQmxCreateAICurrentRMSChan
DAQmxCreateAIForceBridgePolynomialChan
DAQmxCreateAIForceBridgeTableChan
DAQmxCreateAIForceBridgeTwoPointLinChan
DAQmxCreateAIForceIEPEChan
DAQmxCreateAIFreqVoltageChan
DAQmxCreateAIMicrophoneChan
DAQmxCreateAIPressureBridgePolynomialChan
DAQmxCreateAIPressureBridgeTableChan
DAQmxCreateAIPressureBridgeTwoPointLinChan
DAQmxCreateAIResistanceChan
DAQmxCreateAIRosetteStrainGageChan
DAQmxCreateAIRTDChan
DAQmxCreateAIStrainGageChan
DAQmxCreateAITempBuiltInSensorChan
DAQmxCreateAIThrmcplChan
DAQmxCreateAIThrmstrChanIex
DAQmxCreateAIThrmstrChanVex
DAQmxCreateAITorqueBridgePolynomialChan
DAQmxCreateAITorqueBridgeTableChan
DAQmxCreateAITorqueBridgeTwoPointLinChan
DAQmxCreateAIVelocityIEPEChan
DAQmxCreateAIVoltageChan
DAQmxCreateAIVoltageRMSChan
DAQmxCreateAIVoltageChanWithExcit
Position
DAQmxCreateAIPosEddyCurrProxProbeChan
DAQmxCreateAIPosLVDTChan
DAQmxCreateAIPosRVDTChan
Obsolete
DAQmxCreateAIDeviceTempChan
Create TEDS Analog Input Channels
DAQmxCreateTEDSAIAccelChan
DAQmxCreateTEDSAICurrentChan
DAQmxCreateTEDSAIBridgeChan
DAQmxCreateTEDSAIForceBridgeChan
DAQmxCreateTEDSAIForceIEPEChan
DAQmxCreateTEDSAIMicrophoneChan
DAQmxCreateTEDSAIPressureBridgeChan
DAQmxCreateTEDSAIResistanceChan
DAQmxCreateTEDSAIRTDChan
DAQmxCreateTEDSAIStrainGageChan
DAQmxCreateTEDSAIThrmcplChan
DAQmxCreateTEDSAIThrmstrChanIex
DAQmxCreateTEDSAIThrmstrChanVex
DAQmxCreateTEDSAITorqueBridgeChan
DAQmxCreateTEDSAIVoltageChan
DAQmxCreateTEDSAIVoltageChanWithExcit
Position
DAQmxCreateTEDSAIPosLVDTChan
DAQmxCreateTEDSAIPosRVDTChan
Create Analog Output Channel
DAQmxCreateAOCurrentChan
DAQmxCreateAOFuncGenChan
DAQmxCreateAOVoltageChan
Create Digital Input Channels
DAQmxCreateDIChan
Create Digital Output Channels
DAQmxCreateDOChan
Create Counter Input Channels
DAQmxCreateCICountEdgesChan
DAQmxCreateCIFreqChan
DAQmxCreateCIPeriodChan
DAQmxCreateCIPulseChanFreq
DAQmxCreateCIPulseChanTicks
DAQmxCreateCIPulseChanTime
DAQmxCreateCIPulseWidthChan
DAQmxCreateCISemiPeriodChan
DAQmxCreateCITwoEdgeSepChan
Position
DAQmxCreateCILinEncoderChan
DAQmxCreateCIAngEncoderChan
Timestamp
DAQmxCreateCIGPSTimestampChan
Create Counter Output Channels
DAQmxCreateCOPulseChanFreq
DAQmxCreateCOPulseChanTicks
DAQmxCreateCOPulseChanTime
Timing
DAQmxCfgBurstHandshakingTimingExportClock
DAQmxCfgBurstHandshakingTimingImportClock
DAQmxCfgChangeDetectionTiming
DAQmxCfgHandshakingTiming
DAQmxCfgImplicitTiming
DAQmxCfgPipelinedSampClkTiming
DAQmxCfgSampClkTiming
Triggering
Start Trigger
DAQmxCfgAnlgEdgeStartTrig
DAQmxCfgAnlgWindowStartTrig
DAQmxCfgDigEdgeStartTrig
DAQmxCfgDigPatternStartTrig
DAQmxDisableStartTrig
Reference Trigger
DAQmxCfgAnlgEdgeRefTrig
DAQmxCfgAnlgWindowRefTrig
DAQmxCfgDigEdgeRefTrig
DAQmxCfgDigPatternRefTrig
DAQmxDisableRefTrig
Advanced Trigger
DAQmxCfgDigEdgeAdvTrig
DAQmxDisableAdvTrig
DAQmxSendSoftwareTrigger
Read Functions
DAQmxReadAnalogF64
DAQmxReadAnalogScalarF64
DAQmxReadBinaryI16
DAQmxReadBinaryI32
DAQmxReadBinaryU16
DAQmxReadBinaryU32
DAQmxReadCounterF64
DAQmxReadCounterScalarF64
DAQmxReadCounterScalarU32
DAQmxReadCounterU32
DAQmxReadCtrFreq
DAQmxReadCtrFreqScalar
DAQmxReadCtrTicks
DAQmxReadCtrTicksScalar
DAQmxReadCtrTime
DAQmxReadCtrTimeScalar
DAQmxReadDigitalLines
DAQmxReadDigitalScalarU32
DAQmxReadDigitalU8
DAQmxReadDigitalU16
DAQmxReadDigitalU32
Advanced
DAQmxGetNthTaskReadChannel
DAQmxReadRaw
Write Functions
DAQmxWriteAnalogF64
DAQmxWriteAnalogScalarF64
DAQmxWriteBinaryI16
DAQmxWriteBinaryU16
DAQmxWriteCtrFreq
DAQmxWriteCtrFreqScalar
DAQmxWriteCtrTicks
DAQmxWriteCtrTicksScalar
DAQmxWriteCtrTime
DAQmxWriteCtrTimeScalar
DAQmxWriteDigitalLines
DAQmxWriteDigitalScalarU32
DAQmxWriteDigitalU8
DAQmxWriteDigitalU16
DAQmxWriteDigitalU32
Advanced
DAQmxWriteRaw
Export HW Signals
DAQmxExportSignal
Scale Configuration
DAQmxCalculateReversePolyCoeff
DAQmxCreateLinScale
DAQmxCreateMapScale
DAQmxCreatePolynomialScale
DAQmxCreateTableScale
Internal Buffer Configuration
DAQmxCfgInputBuffer
DAQmxCfgOutputBuffer
Advanced Functions
Real-Time
DAQmxWaitForNextSampleClock
Obsolete
DAQmxIsReadOrWriteLate
Switch Functions
DAQmxSwitchCloseRelays
DAQmxSwitchConnect
DAQmxSwitchConnectMulti
DAQmxSwitchCreateScanList
DAQmxSwitchDisconnect
DAQmxSwitchDisconnectAll
DAQmxSwitchDisconnectMulti
DAQmxSwitchFindPath
DAQmxSwitchGetMultiRelayCount
DAQmxSwitchGetMultiRelayPos
DAQmxSwitchGetSingleRelayCount
DAQmxSwitchGetSingleRelayPos
DAQmxSwitchOpenRelays
DAQmxSwitchSetTopologyAndReset
DAQmxSwitchWaitForSettling
Signal Routing
DAQmxConnectTerms
DAQmxDisconnectTerms
DAQmxTristateOutputTerm
Device Control
DAQmxResetDevice
DAQmxSelfTestDevice
Watchdog
DAQmxControlWatchdogTask
DAQmxCreateWatchdogTimerTask
Calibration
DAQmxAOSeriesCalAdjust
DAQmxESeriesCalAdjust
DAQmxGetAIChanCalCalDate
DAQmxGetAIChanCalExpDate
DAQmxGetExtCalLastDateAndTime
DAQmxGetSelfCalLastDateAndTime
DAQmxMSeriesCalAdjust
DAQmxPerformBridgeOffsetNullingCal
DAQmxPerformBridgeOffsetNullingCalEx
DAQmxPerformBridgeShuntCal
DAQmxPerformStrainShuntCal
DAQmxPerformThrmcplLeadOffsetNullingCal
DAQmxRestoreLastExtCalConst
DAQmxSCBaseboardCalAdjust
DAQmxSelfCal
DAQmxSetAIChanCalCalDate
DAQmxSetAIChanCalExpDate
DAQmxSSeriesCalAdjust
DAQmxXSeriesCalAdjust
External Calibration
DAQmxChangeExtCalPassword
DAQmxCloseExtCal
DAQmxInitExtCal
DSA Calibration
DAQmxAdjustDSAAICal
DAQmxAdjustDSAAICalEx
DAQmxAdjustDSAAICalWithGainAndCoupling
DAQmxAdjustDSAAOCal
DAQmxAdjustDSATimebaseCal
PXI-42xx Calibration
DAQmxAdjust4204Cal
DAQmxAdjust4220Cal
DAQmxAdjust4224Cal
SCXI Calibration
DAQmxAdjust1102Cal
DAQmxAdjust1104Cal
DAQmxAdjust1112Cal
DAQmxAdjust1122Cal
DAQmxAdjust1124Cal
DAQmxAdjust1125Cal
DAQmxAdjust1126Cal
DAQmxAdjust1141Cal
DAQmxAdjust1142Cal
DAQmxAdjust1143Cal
DAQmxAdjust1502Cal
DAQmxAdjust1503Cal
DAQmxAdjust1503CurrentCal
DAQmxAdjust1520Cal
DAQmxAdjust1521Cal
DAQmxAdjust153xCal
DAQmxAdjust1540Cal
DAQmxSetup1102Cal
DAQmxSetup1104Cal
DAQmxSetup1112Cal
DAQmxSetup1122Cal
DAQmxSetup1124Cal
DAQmxSetup1125Cal
DAQmxSetup1126Cal
DAQmxSetup1141Cal
DAQmxSetup1142Cal
DAQmxSetup1143Cal
DAQmxSetup1502Cal
DAQmxSetup1503Cal
DAQmxSetup1520Cal
DAQmxSetup1521Cal
DAQmxSetup153xCal
DAQmxSetup1540Cal
SC Express Calibration
DAQmxAdjust4300Cal
DAQmxAdjust433xCal
DAQmxAdjust4353Cal
DAQmxSetup433xCal
DAQmxAdjust4357Cal
DAQmxConnectSCExpressCalAccChans
DAQmxDisconnectSCExpressCalAccChans
DAQmxGetPossibleSCExpressCalAccConnections
DAQmxSetSCExpressCalAccBridgeOutput
C Series Calibration
Adjust C Series Calibration
DAQmxAdjust9201Cal
DAQmxAdjust9203GainCal
DAQmxAdjust9203OffsetCal
DAQmxAdjust9205Cal
DAQmxAdjust9206Cal
DAQmxAdjust9207GainCal
DAQmxAdjust9207OffsetCal
DAQmxAdjust9208GainCal
DAQmxAdjust9208OffsetCal
DAQmxAdjust9211Cal
DAQmxAdjust9213Cal
DAQmxAdjust9214Cal
DAQmxAdjust9215Cal
DAQmxAdjust9217Cal
DAQmxAdjust9219Cal
DAQmxAdjust9220Cal
DAQmxAdjust9221Cal
DAQmxAdjust9222Cal
DAQmxAdjust9223Cal
DAQmxAdjust9225Cal
DAQmxAdjust9227Cal
DAQmxAdjust9232Cal
DAQmxAdjust9234GainCal
DAQmxAdjust9234OffsetCal
DAQmxAdjust9263Cal
DAQmxAdjust9264Cal
DAQmxAdjust9265Cal
DAQmxAdjust9269Cal
Get C Series Calibration Adjustment Points
DAQmxGet9201CalAdjustPoints
DAQmxGet9203CalAdjustPoints
DAQmxGet9207CalAdjustPoints
DAQmxGet9208CalAdjustPoints
DAQmxGet9213CalAdjustPoints
DAQmxGet9214CalAdjustPoints
DAQmxGet9215CalAdjustPoints
DAQmxGet9217CalAdjustPoints
DAQmxGet9219CalAdjustPoints
DAQmxGet9220CalAdjustPoints
DAQmxGet9221CalAdjustPoints
DAQmxGet9222CalAdjustPoints
DAQmxGet9223CalAdjustPoints
DAQmxGet9225CalAdjustPoints
DAQmxGet9227CalAdjustPoints
DAQmxGet9232CalAdjustPoints
DAQmxGet9234CalAdjustPoints
DAQmxGet9263CalAdjustPoints
DAQmxGet9264CalAdjustPoints
DAQmxGet9265CalAdjustPoints
DAQmxGet9269CalAdjustPoints
Setup C Series Calibration
DAQmxSetup9219Cal
DAQmxSetup9263Cal
DAQmxSetup9264Cal
DAQmxSetup9265Cal
DAQmxSetup9269Cal
DAQmxCSeriesSetCalTemp
Storage
DAQmxDeleteSavedGlobalChan
DAQmxDeleteSavedScale
DAQmxDeleteSavedTask
DAQmxSaveGlobalChan
DAQmxSaveScale
DAQmxSaveTask
TEDS
DAQmxClearTEDS
DAQmxConfigureTEDS
DAQmxWriteToTEDSFromArray
DAQmxWriteToTEDSFromFile
Network DAQ Functions
DAQmxAddNetworkDevice
DAQmxDeleteNetworkDevice
DAQmxReserveNetworkDevice
DAQmxUnreserveNetworkDevice
cDAQ Sync Functions
DAQmxAddCDAQSyncConnection
DAQmxAreConfiguredCDAQSyncPortsDisconnected
DAQmxAutoConfigureCDAQSyncConnections
DAQmxGetAutoConfiguredCDAQSyncConnections
DAQmxGetDisconnectedCDAQSyncPorts
DAQmxRemoveCDAQSyncConnection
System Configuration
DAQmxGetAnalogPowerUpStates
DAQmxGetDigitalLogicFamilyPowerUpState
DAQmxGetDigitalPowerUpStates
DAQmxGetDigitalPullUpPullDownStates
DAQmxSetAnalogPowerUpStates
DAQmxSetDigitalLogicFamilyPowerUpState
DAQmxSetDigitalPowerUpStates
DAQmxSetDigitalPullUpPullDownStates
Error Handling
DAQmxGetErrorString
DAQmxGetExtendedErrorInfo
NI-DAQmx C Properties
List of Buffer Properties
List of Calibration Info Properties
List of Channel Properties
List of Device Properties
List of Export Signal Properties
List of Persisted Channel Properties
List of Persisted Scale Properties
List of Persisted Task Properties
List of Physical Channel Properties
List of Read Properties
List of Real-Time Properties
List of Scale Properties
List of Switch Channel Properties
List of Switch Device Properties
List of Switch Scan Properties
List of System Properties
List of Task Properties
List of Timing Properties
List of Trigger Properties
List of Watchdog Properties
List of Write Properties
Glossary
Important Information
Warranty
Copyright
Trademarks
Patents
Warning Regarding the Use of NI Products
Technical Support and Professional Services

DAQmxGetNthTaskChannel

int32 DAQmxGetNthTaskChannel (TaskHandle taskHandle, uInt32 index, char buffer[], int32 bufferSize);

Purpose

Returns the Nth channel. This function takes the taskHandle, index, and bufferSize you specify and returns the Nth channel.

Parameters

Input
Name Type Description
taskHandle TaskHandle The task used in this function.
index uInt32 The Nth channel to return. The index starts at 1.
bufferSize int32 The size, in bytes, of buffer. If you pass 0, this function returns the number of bytes needed to allocate.
Output
buffer char [] The Nth channel in the index. If you pass NULL, this function returns the number of bytes needed to allocate.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A negative value indicates an error.

For this function, if you pass NULL for the buffer or 0 for the buffer size, this function returns the number of bytes needed to allocate.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)