RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Public Member Functions | Data Fields
physical_channel_t Struct Reference
Collaboration diagram for physical_channel_t:
Collaboration graph

Public Member Functions

 physical_channel_t (std::string chan_name, DAQ::ChannelType::type_t chan_type, size_t chan_id)
 
int32_t addToTask (TaskHandle task_handle) const
 

Data Fields

std::string name
 
DAQ::ChannelType::type_t type = DAQ::ChannelType::UNKNOWN
 
size_t id
 
int32_t reference = DAQmx_Val_RSE
 
double offset = 0.0
 
double gain = 1.0
 
size_t range_index = 0
 
size_t units_index = 0
 
bool active = false
 

Detailed Description

Definition at line 104 of file nidaq_driver.cpp.

Constructor & Destructor Documentation

◆ physical_channel_t()

physical_channel_t::physical_channel_t(std::string chan_name,
DAQ::ChannelType::type_t chan_type,
size_t chan_id 
)
inlineexplicit

Definition at line 106 of file nidaq_driver.cpp.

Member Function Documentation

◆ addToTask()

int32_t physical_channel_t::addToTask(TaskHandle task_handle)const

Definition at line 126 of file nidaq_driver.cpp.

Here is the call graph for this function:

Field Documentation

◆ active

bool physical_channel_t::active = false

Definition at line 123 of file nidaq_driver.cpp.

◆ gain

double physical_channel_t::gain = 1.0

Definition at line 120 of file nidaq_driver.cpp.

◆ id

size_t physical_channel_t::id

Definition at line 117 of file nidaq_driver.cpp.

◆ name

std::string physical_channel_t::name

Definition at line 115 of file nidaq_driver.cpp.

◆ offset

double physical_channel_t::offset = 0.0

Definition at line 119 of file nidaq_driver.cpp.

◆ range_index

size_t physical_channel_t::range_index = 0

Definition at line 121 of file nidaq_driver.cpp.

◆ reference

int32_t physical_channel_t::reference = DAQmx_Val_RSE

Definition at line 118 of file nidaq_driver.cpp.

◆ type

Definition at line 116 of file nidaq_driver.cpp.

◆ units_index

size_t physical_channel_t::units_index = 0

Definition at line 122 of file nidaq_driver.cpp.


The documentation for this struct was generated from the following file: