irioCoreCpp Library Module  2.1.0
irio::TerminalscRIO Class Reference

Class managing all terminals specific to cRIO devices. More...

#include <terminalsCRIO.h>

Inheritance diagram for irio::TerminalscRIO:

Public Member Functions

 TerminalscRIO (ParserManager *parserManager, const NiFpga_Session &session)
 Manages finding the related terminals specific to cRIO devices. More...
 
bool getcRIOModulesOk () const
 Returns whether the modules connected to the cRIO are ok. More...
 
std::vector< std::uint16_t > getInsertedIOModulesID () const
 Returns a vector with all the modules in the cRIO device. More...
 
- Public Member Functions inherited from irio::TerminalsBase
 TerminalsBase (std::shared_ptr< TerminalsBaseImpl > impl)
 Base class used for terminals. More...
 

Additional Inherited Members

- Protected Attributes inherited from irio::TerminalsBase
std::shared_ptr< TerminalsBaseImpl > m_impl
 Smart pointer with the terminal implementation.
 

Detailed Description

Class managing all terminals specific to cRIO devices.

Definition at line 15 of file terminalsCRIO.h.

Constructor & Destructor Documentation

◆ TerminalscRIO()

irio::TerminalscRIO::TerminalscRIO ( ParserManager parserManager,
const NiFpga_Session &  session 
)

Manages finding the related terminals specific to cRIO devices.

Parameters
parserManagerPointer to class managing parsing the bitfile and finding its resources
sessionNiFpga_Session to be used in NiFpga related functions

Member Function Documentation

◆ getcRIOModulesOk()

bool irio::TerminalscRIO::getcRIOModulesOk ( ) const

Returns whether the modules connected to the cRIO are ok.

Exceptions
irio::errors::NiFpgaErrorError occurred in an FPGA operation
Returns
true if no problem found, false otherwise

◆ getInsertedIOModulesID()

std::vector<std::uint16_t> irio::TerminalscRIO::getInsertedIOModulesID ( ) const

Returns a vector with all the modules in the cRIO device.

Exceptions
irio::errors::NiFpgaErrorError occurred in an FPGA operation
Returns
Vector with the ID of the modules in the cRIO device

The documentation for this class was generated from the following file: