Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Classes | Public Member Functions | Public Attributes
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription Struct Reference

Detailed Description

Each of the tasks to create in CNationalInstrumentsDAQ::initialize().

Refer to the docs on config file formats of mrpt::hwdrivers::CNationalInstrumentsDAQ to learn on the meaning of each field. Also, see National Instruments' DAQmx API docs online.

Definition at line 206 of file CNationalInstrumentsDAQ.h.

#include <mrpt/hwdrivers/CNationalInstrumentsDAQ.h>

Classes

struct  desc_ai_t
 
struct  desc_ao_t
 
struct  desc_ci_ang_encoder_t
 
struct  desc_ci_count_edges_t
 
struct  desc_ci_lin_encoder_t
 
struct  desc_ci_period_t
 
struct  desc_ci_pulse_width_t
 
struct  desc_co_pulses_t
 
struct  desc_di_t
 
struct  desc_do_t
 

Public Member Functions

 TaskDescription ()
 

Public Attributes

bool has_ai
 
bool has_ao
 
bool has_di
 
bool has_do
 
bool has_ci_period
 
bool has_ci_count_edges
 
bool has_ci_pulse_width
 
bool has_ci_lin_encoder
 
bool has_ci_ang_encoder
 
bool has_co_pulses
 
double samplesPerSecond
 Sample clock config: samples per second. Continuous (infinite) sampling is assumed. More...
 
std::string sampleClkSource
 Sample clock source: may be empty (default value) for some channels. More...
 
uint32_t bufferSamplesPerChannel
 (Default=0) From NI's docs: The number of samples the buffer can hold for each channel in the task. Zero indicates no buffer should be allocated. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer. More...
 
uint32_t samplesPerChannelToRead
 (Default=1000) The number of samples to grab at once from each channel. More...
 
std::string taskLabel
 (Default="task###") More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ai_t 
ai
 Analog inputs. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ao_t 
ao
 Analog outputs. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_di_t 
di
 Digital inputs (di) More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_do_t 
douts
 Digital outs (do) More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_period_t 
ci_period
 Counter: period of a digital signal. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_count_edges_t 
ci_count_edges
 Counter: period of a digital signal. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_pulse_width_t 
ci_pulse_width
 Counter: measure the width of a digital pulse. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_lin_encoder_t 
ci_lin_encoder
 Counter: uses a linear encoder to measure linear position. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_ang_encoder_t 
ci_ang_encoder
 Counter: uses an angular encoder to measure angular position. More...
 
struct HWDRIVERS_IMPEXP
mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_co_pulses_t 
co_pulses
 Output counter: digital pulses output. More...
 

Constructor & Destructor Documentation

CNationalInstrumentsDAQ::TaskDescription::TaskDescription ( )

Definition at line 816 of file CNationalInstrumentsDAQ.cpp.

Member Data Documentation

struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ai_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ai
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ao_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ao
uint32_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::bufferSamplesPerChannel

(Default=0) From NI's docs: The number of samples the buffer can hold for each channel in the task. Zero indicates no buffer should be allocated. Use a buffer size of 0 to perform a hardware-timed operation without using a buffer.

Definition at line 216 of file CNationalInstrumentsDAQ.h.

Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::loadConfig_sensorSpecific().

struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_ang_encoder_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_ang_encoder
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_count_edges_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_count_edges
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_lin_encoder_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_lin_encoder

Counter: uses a linear encoder to measure linear position.

Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::loadConfig_sensorSpecific().

struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_period_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_period
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_pulse_width_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_pulse_width
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_co_pulses_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::co_pulses
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_di_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::di
struct HWDRIVERS_IMPEXP mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_do_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::douts
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ai
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ao
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_ang_encoder
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_count_edges
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_lin_encoder
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_period
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_pulse_width
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_co_pulses
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_di
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_do
std::string mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::sampleClkSource

Sample clock source: may be empty (default value) for some channels.

Definition at line 215 of file CNationalInstrumentsDAQ.h.

Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::loadConfig_sensorSpecific().

uint32_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::samplesPerChannelToRead
double mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::samplesPerSecond
std::string mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::taskLabel



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018