LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_uldaq_common.h File Reference
#include <uldaq.h>
#include <string>
#include "lasp_deviceinfo.h"
Include dependency graph for lasp_uldaq_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UlDaqDeviceInfo
 UlDaq-specific device information. Adds a copy of the underlying DaqDeDaqDeviceDescriptor. More...
 

Functions

void throwOnPossibleUlException (UlError err)
 Throws an appropriate stream exception based on the UlError number. The mapping is based on the error numbers as given in uldaq.h. There are a log of errors definded here (109 in total). Except for some, we will map most of them to a driver error.
 
string getErrMsg (UlError err)
 Return a string corresponding to the UlDaq API error.
 
void showErr (UlError err)
 Print error message to stderr.
 
void showErr (std::string errstr)
 Get a string representation of the error.
 

Variables

const std::vector< d > ULDAQ_SAMPLERATES
 List of available sampling frequencies for DT9837A.