38 #ifndef ANALOGOUTPUT_HPP 39 #define ANALOGOUTPUT_HPP 64 :board(ana_out), channel(channel_nr)
79 return board->write(channel, v);
88 return board->rawWrite(channel, i);
97 board->read(channel, r);
107 board->rawRead(channel, r);
116 return board->highest(channel);
124 return board->lowest(channel);
133 #endif // ANALOGOUTPUT_HPP double lowest()
Return the lowest output.
double highest()
Return the highest output.
A class representing an analog output channel.
AnalogOutput(AnalogOutInterface *ana_out, unsigned int channel_nr)
Create an analog output object to read the state of a channel.
An interface for writing analog output, like for addressing a whole subdevice in comedi.
int rawValue(int i)
Write the raw value of this channel.
~AnalogOutput()
Destruct the AnalogOutput.
int value(double v)
Write the value of this channel.
int rawValue()
Read the raw value of this channel.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
double value()
Read the value of this channel.