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)
std::vector< lsampl_t > getMaxData() const
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
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