38 #include <visp3/core/vpConfig.h>
40 #ifdef VISP_HAVE_COMEDI
44 #include <comedilib.h>
46 #include <visp3/core/vpColVector.h>
124 std::vector<lsampl_t>
getMaxData()
const {
return m_maxdata; }
129 std::string getPhyDataUnits()
const;
133 std::vector<comedi_range *>
getRangeInfo()
const {
return m_range_info; }
153 void setDevice(
const std::string &device) { m_device = device; }
160 void setRange(
const unsigned int &range) { m_range = range; }
162 void setSubDevice(
const unsigned int &subdevice) { m_subdevice = subdevice; }
166 std::vector<lsampl_t> getRawData()
const;
Implementation of column vector and the associated operations.
void setChannelNumbers(const unsigned int &nchannel)
std::vector< lsampl_t > m_maxdata
void setDevice(const std::string &device)
Set comedi device name. Default value is /dev/comedi0.
void setSubDevice(const unsigned int &subdevice)
Set comedi analog input subdevice.
std::vector< lsampl_t > getMaxData() const
unsigned int getNChannel() const
Get number of channels.
std::vector< comedi_range * > getRangeInfo() const
std::vector< comedi_range * > m_range_info
unsigned int getSubDevice() const
Get comedi subdevice.
void setAnalogReference(const unsigned int &aref)
void setRange(const unsigned int &range)
comedi_t * getHandler() const
Get native Comedi handler.
std::vector< unsigned int > m_chanlist