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 281 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 () | |
CNationalInstrumentsDAQ::TaskDescription::TaskDescription | ( | ) |
Definition at line 1000 of file CNationalInstrumentsDAQ.cpp.
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ai_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ai |
Analog inputs.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ao_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ao |
Analog outputs.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
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 299 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_ang_encoder_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_ang_encoder |
Counter: uses an angular encoder to measure angular position.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_count_edges_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_count_edges |
Counter: period of a digital signal.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct 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().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_period_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_period |
Counter: period of a digital signal.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ci_pulse_width_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::ci_pulse_width |
Counter: measure the width of a digital pulse.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_co_pulses_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::co_pulses |
Output counter: digital pulses output.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_di_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::di |
Digital inputs (di)
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_do_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::douts |
Digital outs (do)
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ai |
Definition at line 285 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ao |
Definition at line 285 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_ang_encoder |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_count_edges |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_lin_encoder |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_period |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_ci_pulse_width |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_co_pulses |
Definition at line 286 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_di |
Definition at line 285 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
bool mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::has_do |
Definition at line 285 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
std::string mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::sampleClkSource |
Sample clock source: may be empty (default value) for some channels.
Definition at line 294 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
uint32_t mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::samplesPerChannelToRead |
(Default=1000) The number of samples to grab at once from each channel.
Definition at line 302 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
double mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::samplesPerSecond |
Sample clock config: samples per second.
Continuous (infinite) sampling is assumed.
Definition at line 291 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread(), and mrpt::hwdrivers::CNationalInstrumentsDAQ::initialize().
std::string mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::taskLabel |
(Default="task###")
Definition at line 304 of file CNationalInstrumentsDAQ.h.
Referenced by mrpt::hwdrivers::CNationalInstrumentsDAQ::grabbing_thread().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |