15 using std::runtime_error::runtime_error;
24 using IrioError::IrioError;
27 IrioError(
"Terminal not implemented in the profile") {
37 using IrioError::IrioError;
40 IrioError(
"Profile not implemented yet") {
49 using IrioError::IrioError;
64 const std::string &resourceName) :
66 +
" is not a valid " + resourceName +
" resource") { }
88 const std::string &expectedVersion) :
90 "FPGAVIVserion mismatch (" + foundVersion +
" != "
91 + expectedVersion +
")") {
103 :
IrioError(
"Platform specified is not supported") {}
112 "is not a supported platform value") {}
124 IrioError(
"DevProfile specified is not supported") {
136 const std::uint8_t platform) :
138 "DevProfile " + std::to_string(devProfile)
139 +
" is not valid for the platform "
140 + std::to_string(platform)) {
152 IrioError(
"InitDone not ready in time") {
187 using IrioError::IrioError;
196 using IrioError::IrioError;
217 IrioError(
"No RIO device with serial number " + serialNumber) {
227 using IrioError::IrioError;
236 using NiFpgaError::NiFpgaError;
245 using NiFpgaError::NiFpgaError;
263 IrioError(
"Timeout reading " + nameTermDMA + std::to_string(n)) {
280 :
IrioError(
"Error parsing " + bitfile) {}
290 const std::string &errDescription)
291 :
IrioError(
"Error parsing " + bitfile +
". Error: " + errDescription) {
304 IrioError(
"Unsupported AI coupling mode for module") {
Exception when an error occurs while parsing the bitfile.
BFPParseBitfileError(const std::string &bitfile, const std::string &errDescription)
Exception class for errors that occur during bitfile parsing.
BFPParseBitfileError(const std::string &bitfile)
Exception class for errors that occur during bitfile parsing.
Exception when the baud rate read is not a valid value.
Exception when a timeout occurs in a CL UART operation.
Exception when a timeout expires while trying to read a DMA.
DMAReadTimeout(const std::string &nameTermDMA, const std::uint32_t &n)
Exception when a timeout expires while trying to read a DMA.
Exception when FPGAVIVersion is not the one expected.
FPGAVIVersionMismatchError(const std::string &foundVersion, const std::string &expectedVersion)
Exception indicating that there is a version mismatch and which version have been found that do not m...
Exception when InitDone is not ready within a specified timeout.
Exception when the modules installed in the platform are not the ones expected or the FPGA inform tha...
Specific error when an error occurs while downloading the bitfile into the FPGA.
Exception when an error returns from a NiFpga_* function.
Specific error when NiFpga_Run return that the FPGA VI is already running.
Exception when a profiel is a valid one, but has not been implemented yet.
Exception when the specified RIO Device is not found.
RIODeviceNotFoundError(const std::string &serialNumber)
RIO Device nor found.
Exception when an error occurs while searching for the RIO Device.
Exception when a resource (Register/DMA) is not found.
ResourceNotFoundError(const std::uint32_t resourceNumber, const std::string &resourceName)
Exception when a resource (Register/DMA) is not found.
Exception when terminal has not been implemented in the profile.
Exception when the DevProfile read from the FPGA does not matches any of the supported ones or if the...
UnsupportedDevProfileError(const std::uint8_t devProfile, const std::uint8_t platform)
Invalid DevProfile.