Skip to content

NI DAQMX Channel Attributes

Greg Stoll edited this page Sep 10, 2021 · 4 revisions

Channel Attributes

See how to get and set attributes.

General Properties

DAQmx_ChanType

Data Type: int32
Description: Indicates the type of the virtual channel.
Restrictions: Not Settable

Valid values

DAQmx_Val_AI 10100 Analog input channel.
DAQmx_Val_AO 10102 Analog output channel.
DAQmx_Val_DI 10151 Digital input channel.
DAQmx_Val_DO 10153 Digital output channel.
DAQmx_Val_CI 10131 Counter input channel.
DAQmx_Val_CO 10132 Counter output channel.

You can get this attribute using:   DAQmxGetChanAttribute

DAQmx_PhysicalChanName

Data Type: char*
Description: Specifies the name of the physical channel upon which this virtual channel is based.

You can get/set this attribute using:   DAQmxGetChanAttribute   DAQmxSetChanAttribute

DAQmx_ChanDescr

Data Type: char*
Description: Specifies a user-defined description for the channel.

You can get/set/reset this attribute using:   DAQmxGetChanAttribute   DAQmxSetChanAttribute   DAQmxResetChanAttribute

DAQmx_ChanIsGlobal

Data Type: bool32
Description: Indicates whether the channel is a global channel.
Restrictions: Not Settable

You can get this attribute using:   DAQmxGetChanAttribute

DAQmx_Chan_SyncUnlockBehavior

Data Type: int32
Description: Specifies the action to take if the target loses its synchronization to the grand master.

Valid values

DAQmx_Val_StopTaskAndError 15862 Stop task and return an error.
DAQmx_Val_IgnoreLostSyncLock 16129 Ignore the loss of synchronization and do nothing.

You can get/set/reset this attribute using:   DAQmxGetChanAttribute   DAQmxSetChanAttribute   DAQmxResetChanAttribute

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally