 | RTXI 2.4 The Real-Time eXperiment Interface Documentation |
Go to the documentation of this file. 19 #ifndef ANALOGY_DEVICE_H 20 #define ANALOGY_DEVICE_H 25 #include <sys/types.h> 28 #include <rtdm/analogy.h> 83 struct analog_channel_t
96 bool calibrationActive;
100 struct digital_channel_t
111 analog_channel_t analog;
112 digital_channel_t digital;
124 std::string deviceName;
125 subdevice_t subdevice[3];
int setAnalogCounter(DAQ::type_t, DAQ::index_t)
std::string getAnalogUnitsString(DAQ::type_t, DAQ::index_t, DAQ::index_t) const
size_t getAnalogUnitsCount(DAQ::type_t, DAQ::index_t) const
int setAnalogRange(DAQ::type_t, DAQ::index_t, DAQ::index_t)
int setAnalogOffsetUnits(DAQ::type_t, DAQ::index_t, DAQ::index_t)
int setAnalogUnits(DAQ::type_t, DAQ::index_t, DAQ::index_t)
double getAnalogCalibrationValue(DAQ::type_t, DAQ::index_t) const
int setAnalogDownsample(DAQ::type_t, DAQ::index_t, size_t)
size_t getChannelCount(DAQ::type_t) const
int setAnalogGain(DAQ::type_t, DAQ::index_t, double)
int setAnalogReference(DAQ::type_t, DAQ::index_t, DAQ::index_t)
int setDigitalDirection(DAQ::index_t, DAQ::direction_t)
size_t getAnalogDownsample(DAQ::type_t, DAQ::index_t) const
virtual void doLoad(const Settings::Object::State &)
std::string getAnalogReferenceString(DAQ::type_t, DAQ::index_t, DAQ::index_t) const
int setChannelActive(DAQ::type_t, DAQ::index_t, bool)
bool getAnalogCalibrationState(DAQ::type_t, DAQ::index_t) const
int setAnalogCalibrationValue(DAQ::type_t, DAQ::index_t, double)
int setAnalogCalibrationActive(DAQ::type_t, DAQ::index_t, bool)
AnalogyDevice(a4l_desc_t *, std::string, IO::channel_t *, size_t)
bool getAnalogCalibrationActive(DAQ::type_t, DAQ::index_t) const
size_t getAnalogReferenceCount(DAQ::type_t, DAQ::index_t) const
int setAnalogZeroOffset(DAQ::type_t, DAQ::index_t, double)
bool getChannelActive(DAQ::type_t, DAQ::index_t) const
size_t getAnalogRangeCount(DAQ::type_t, DAQ::index_t) const
double getAnalogZeroOffset(DAQ::type_t, DAQ::index_t) const
DAQ::index_t getAnalogRange(DAQ::type_t, DAQ::index_t) const
double getAnalogGain(DAQ::type_t, DAQ::index_t) const
DAQ::index_t getAnalogReference(DAQ::type_t, DAQ::index_t) const
DAQ::direction_t getDigitalDirection(DAQ::index_t) const
std::string getAnalogRangeString(DAQ::type_t, DAQ::index_t, DAQ::index_t) const
virtual void doSave(Settings::Object::State &) const
void setAnalogConversion(DAQ::type_t, DAQ::index_t)
DAQ::index_t getAnalogUnits(DAQ::type_t, DAQ::index_t) const
DAQ::index_t getAnalogOffsetUnits(DAQ::type_t, DAQ::index_t) const