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)
void setSubDevice(const unsigned int &subdevice)
Set comedi analog input subdevice.
void setDevice(const std::string &device)
Set comedi device name. Default value is /dev/comedi0.
unsigned int getNChannel() const
Get number of channels.
std::vector< comedi_range * > getRangeInfo() const
Get data range information per channel. The returned vector is of dimension the number of channels...
void setAnalogReference(const unsigned int &aref)
comedi_t * getHandler() const
Get native Comedi handler.
std::vector< lsampl_t > getMaxData() const
Get max data 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
unsigned int getSubDevice() const
Get comedi subdevice.
void setRange(const unsigned int &range)
std::vector< comedi_range * > m_range_info