irioCoreCpp Library Module  2.1.0
irio::TerminalsFlexRIO Class Reference

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

#include <terminalsFlexRIO.h>

Inheritance diagram for irio::TerminalsFlexRIO:

Public Member Functions

 TerminalsFlexRIO (ParserManager *parserManager, const NiFpga_Session &session)
 Manages finding the related terminals specific to FlexRIO devices. More...
 
bool getRIOAdapterCorrect () const
 Returns whether the adapter connected in the FPGA is correct. More...
 
std::uint32_t getInsertedIOModuleID () const
 Return the ID of the module connected to the FlexRIO 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 FlexRIO devices.

Definition at line 13 of file terminalsFlexRIO.h.

Constructor & Destructor Documentation

◆ TerminalsFlexRIO()

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

Manages finding the related terminals specific to FlexRIO 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

◆ getInsertedIOModuleID()

std::uint32_t irio::TerminalsFlexRIO::getInsertedIOModuleID ( ) const

Return the ID of the module connected to the FlexRIO device.

Exceptions
irio::errors::NiFpgaErrorError occurred in an FPGA operation
Returns
ID of the module connected to the FlexRIO device

◆ getRIOAdapterCorrect()

bool irio::TerminalsFlexRIO::getRIOAdapterCorrect ( ) const

Returns whether the adapter connected in the FPGA is correct.

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

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