AuboCaps
0.6.0
|
This interface provides support for analog I/Os. More...
#include <analog_io.h>
Public Member Functions | |
AnalogIo (AnalogIo &f) | |
AnalogIo (AnalogIo &&f) | |
~AnalogIo () | |
double | getMinRangeValue () |
double | getMaxRangeValue () |
bool | isCurrent () |
bool | isVoltage () |
bool | setValue (double value) |
Set analog I/O output signal. More... | |
double | getValue () |
Public Member Functions inherited from arcs::aubo_scope::Io | |
Io (Io &f) | |
Io (Io &&f) | |
virtual | ~Io () |
std::string | getDisplayName () const |
std::string | getDefaultName () const |
std::string | getValueStr () const |
IoType | getType () const |
InterfaceType | getInterfaceType () const |
bool | isInput () const |
bool | isResolvable () const |
Some I/Os, such as MODBUS I/Os and analog Tool inputs, are in some situations not present in AuboScope or available for use. More... | |
size_t | hashCode () |
Private Member Functions | |
AnalogIo () | |
Private Attributes | |
void * | d_ { nullptr } |
Friends | |
class | DataSwitch |
Additional Inherited Members | |
Public Types inherited from arcs::aubo_scope::Io | |
enum | IoType : int { DIGITAL, ANALOG, INTEGER, BOOLEAN, DOUBLE } |
enum | InterfaceType : int { STANDARD, TOOL, CONFIGURABLE, LINKIO, MODBUS, GENERAL_PURPOSE } |
Protected Member Functions inherited from arcs::aubo_scope::Io | |
Io () | |
This interface provides support for analog I/Os.
Definition at line 14 of file analog_io.h.
arcs::aubo_scope::AnalogIo::AnalogIo | ( | AnalogIo & | f | ) |
arcs::aubo_scope::AnalogIo::AnalogIo | ( | AnalogIo && | f | ) |
arcs::aubo_scope::AnalogIo::~AnalogIo | ( | ) |
|
private |
double arcs::aubo_scope::AnalogIo::getMaxRangeValue | ( | ) |
double arcs::aubo_scope::AnalogIo::getMinRangeValue | ( | ) |
double arcs::aubo_scope::AnalogIo::getValue | ( | ) |
bool arcs::aubo_scope::AnalogIo::isCurrent | ( | ) |
bool arcs::aubo_scope::AnalogIo::isVoltage | ( | ) |
bool arcs::aubo_scope::AnalogIo::setValue | ( | double | value | ) |
Set analog I/O output signal.
Notice the I/O must be an output I/O
value | The analog value to be set. |
true
if the analog signal was set, false
if the signal was not set, e.g. because the controller was not running.
|
friend |
Definition at line 44 of file analog_io.h.
|
private |
Definition at line 46 of file analog_io.h.