41 #include <visp3/core/vpConfig.h> 43 #ifdef VISP_HAVE_COMEDI 47 #include <comedilib.h> 49 #include <visp3/core/vpColVector.h> 122 std::vector<lsampl_t>
getMaxData()
const {
return m_maxdata; }
127 std::string getPhyDataUnits()
const;
131 std::vector<comedi_range *>
getRangeInfo()
const {
return m_range_info; }
151 void setDevice(
const std::string &device) { m_device = device; }
158 void setRange(
const unsigned int &range) { m_range = range; }
160 void setSubDevice(
const unsigned int &subdevice) { m_subdevice = subdevice; }
164 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
void setAnalogReference(const unsigned int &aref)
comedi_t * getHandler() const
Get native Comedi handler.
std::vector< lsampl_t > getMaxData() const
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