40 #include <visp3/core/vpConfig.h>
42 #ifdef VISP_HAVE_COMEDI
46 #include <comedilib.h>
48 #include <visp3/core/vpColVector.h>
130 std::string getPhyDataUnits()
const;
157 m_nchannel = nchannel;
174 m_subdevice = subdevice;
179 std::vector<lsampl_t> getRawData()
const;
void setChannelNumbers(const unsigned int &nchannel)
std::vector< lsampl_t > getMaxData() const
Get max data per channel. The returned vector is of dimension the number of channels.
void setSubDevice(const unsigned int &subdevice)
Set comedi analog input subdevice.
unsigned int getSubDevice() const
Get comedi subdevice.
unsigned int getNChannel() const
Get number of channels.
void setDevice(const std::string &device)
Set comedi device name. Default value is /dev/comedi0.
void setAnalogReference(const unsigned int &aref)
std::vector< comedi_range * > getRangeInfo() const
Get data range information per channel. The returned vector is of dimension the number of channels...
std::vector< unsigned int > m_chanlist
Implementation of column vector and the associated operations.
std::vector< lsampl_t > m_maxdata
comedi_t * getHandler() const
Get native Comedi handler.
void setRange(const unsigned int &range)
std::vector< comedi_range * > m_range_info