3 #include <terminals/terminalsBase.h>
39 std::int32_t
getAI(
const std::uint32_t n)
const;
50 std::int32_t
getAO(
const std::uint32_t n)
const;
86 void setAO(
const std::uint32_t n,
const std::int32_t value)
const;
98 void setAOEnable(
const std::uint32_t n,
const bool value)
const;
Responsible for managing the parsing of resources for a bitfile.
Class managing all terminals related to the analog functionality of the RIO device.
void setAOEnable(const std::uint32_t n, const bool value) const
Enables or disables a specific AO terminal.
ModulesType getModuleConnected() const
Returns the module connected to the device.
double getMinValAO() const
Module's minimum value to be written in an analog output for the coupling selected.
size_t getNumAO() const
Returns number of AO terminals found.
CouplingMode getAICouplingMode() const
Module's configured coupling mode.
double getCVDAC() const
Module's conversion value from Volts for analog inputs for the coupling selected.
std::int32_t getAOEnable(const std::uint32_t n) const
Returns the value of an AOEnable terminal.
void setAICouplingMode(const CouplingMode &mode) const
Sets a new coupling mode, changing the conversion constants accordingly.
double getMaxValAO() const
Module's maximum value to be written in an analog output for the coupling selected.
std::int32_t getAI(const std::uint32_t n) const
Returns the value of an AI terminal.
std::int32_t getAO(const std::uint32_t n) const
Returns the value of an AO terminal.
double getCVADC() const
Module's conversion value to Volts of analog inputs for the coupling selected.
TerminalsAnalog(ParserManager *parserManager, const NiFpga_Session &session, const Platform &platform)
Manages finding the related analog terminals in the parsed bitfile and reading their values from the ...
size_t getNumAI() const
Returns number of AI terminals found.
void setAO(const std::uint32_t n, const std::int32_t value) const
Writes to a specific AO terminal a value.
Base class for all terminals.
ModulesType
Possible types of modules.
CouplingMode
Coupling AI mode.