struct mrpt::hwdrivers::CNationalInstrumentsDAQ::TaskDescription::desc_ai_t

Overview

Analog inputs.

#include <mrpt/hwdrivers/CNationalInstrumentsDAQ.h>

struct desc_ai_t
{
    // fields

    std::string physicalChannel;
    std::string terminalConfig {"DAQmx_Val_NRSE"};
    double minVal {-10};
    double maxVal {10};
    unsigned int physicalChannelCount {0};

    // construction

    desc_ai_t();
};

Fields

unsigned int physicalChannelCount {0}

IMPORTANT This must be the total number of channels listed in “physicalChannel” (e.g.

4 for “Dev1/ai0:3”)