API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::hal::ComediDac Class Reference

#include <ComediDac.hpp>

Inheritance diagram for eeros::hal::ComediDac:
Collaboration diagram for eeros::hal::ComediDac:

Public Member Functions

 ComediDac (std::string id, ComediDevice *device, uint32_t subDeviceNumber, uint32_t channel, double scale=1, double offset=0)
virtual double get ()
virtual void set (double value)
void setVoltageRange (double minVoltage, double maxVoltage)
void setDacResolution (uint8_t bits)
- Public Member Functions inherited from eeros::hal::ScalablePeripheralOutput< double >
 ScalablePeripheralOutput (std::string id, doublescale, doubleoffset)
virtual ~ScalablePeripheralOutput ()
virtual double getScale ()
virtual double getOffset ()
virtual void setScale (doubles)
virtual void setOffset (doubleo)
- Public Member Functions inherited from eeros::hal::PeripheralOutput< double >
 PeripheralOutput (std::string id)
virtual ~PeripheralOutput ()
virtual std::string getId () const
- Public Member Functions inherited from eeros::hal::PeripheralOutputInterface
virtual ~PeripheralOutputInterface ()

Additional Inherited Members

- Protected Attributes inherited from eeros::hal::ScalablePeripheralOutput< double >
double scale
double offset

Constructor & Destructor Documentation

ComediDac::ComediDac ( std::string  id,
ComediDevice device,
uint32_t  subDeviceNumber,
uint32_t  channel,
double  scale = 1,
double  offset = 0 

Here is the call graph for this function:

Member Function Documentation

double ComediDac::get ( )
void ComediDac::set ( double  value)
void ComediDac::setDacResolution ( uint8_t  bits)
void ComediDac::setVoltageRange ( double  minVoltage,
double  maxVoltage 

The documentation for this class was generated from the following files: