irioCoreCpp Library Module
2.1.0
|
Conversion parameters for FlexRIO Module NI5761. More...
#include <modules.h>
Public Member Functions | |
ModuleNI5761 () | |
Conversion parameters for FlexRIO Module NI5761. | |
Public Member Functions inherited from irio::Module | |
Module (const ModulesType &id=ModulesType::NoModule) | |
Constructor. More... | |
void | setCouplingMode (const CouplingMode &mode) |
Sets a new coupling mode, changing the conversion constants accordingly. More... | |
CouplingMode | getCouplingMode () const |
Returns the actual configured coupling mode. More... | |
double | getCVADC () const |
Conversion to Volts of analog inputs. More... | |
double | getCVDAC () const |
Conversion from Volts for analog outputs. More... | |
double | getMaxValAO () const |
Maximum value to be written in an analog output. More... | |
double | getMinValAO () const |
Minimum value to be written in an analog output. More... | |
Private Attributes | |
const ConfigParams | m_configAC { 1.035 / 8191, 8191 / 1.035, 1.0, -1.0 } |
ConfigParams for AC coupling mode for NI5761. | |
const ConfigParams | m_configDC { 0.635 / 8191, 8191 / 0.635, 0.635, -0.635 } |
ConfigParams for DC coupling mode for NI5761. | |
Additional Inherited Members | |
Public Attributes inherited from irio::Module | |
const ModulesType | moduleID |
Module identifier. | |
Protected Member Functions inherited from irio::Module | |
void | addConfig (const CouplingMode &mode, const ConfigParams &config) |
Adds a configuration for a specific coupling mode. More... | |