00001 #include <rtt/RTT.hpp> 00002 00003 #if defined (OROPKG_OS_LXRT) 00004 00005 00006 #include "IP_FastDAC_AOutInterface.hpp" 00007 00008 00009 00010 IP_FastDAC_AOutInterface::IP_FastDAC_AOutInterface(const std::string& name) : RTT::AnalogOutInterface(name) 00011 { 00012 IP_FastDAC_set_gain_of_group (1, RANGE_10_V); 00013 IP_FastDAC_set_gain_of_group (2, RANGE_10_V); 00014 IP_FastDAC_set_gain_of_group (3, RANGE_10_V); 00015 IP_FastDAC_set_gain_of_group (4, RANGE_10_V); 00016 00017 IP_FastDAC_enable_dac ( ); 00018 }; 00019 00020 IP_FastDAC_AOutInterface::IP_FastDAC_AOutInterface() : RTT::AnalogOutInterface() 00021 { 00022 IP_FastDAC_set_gain_of_group (1, RANGE_10_V); 00023 IP_FastDAC_set_gain_of_group (2, RANGE_10_V); 00024 IP_FastDAC_set_gain_of_group (3, RANGE_10_V); 00025 IP_FastDAC_set_gain_of_group (4, RANGE_10_V); 00026 00027 IP_FastDAC_enable_dac ( ); 00028 }; 00029 00030 #endif