LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
UlDaqDeviceInfo Class Reference

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

#include <lasp_uldaq_common.h>

Inheritance diagram for UlDaqDeviceInfo:
Collaboration diagram for UlDaqDeviceInfo:

Public Member Functions

virtual std::unique_ptr< DeviceInfoclone () const override
 Clone a device info.
 
- Public Member Functions inherited from DeviceInfo
virtual ~DeviceInfo ()
 Virtual desctructor. Can be derived class.
 
DeviceInfooperator= (const DeviceInfo &)=delete
 
double prefSampleRate () const
 
 operator string () const
 String representation of DeviceInfo.
 

Public Attributes

DaqDeviceDescriptor _uldaqDescriptor
 
- Public Attributes inherited from DeviceInfo
DaqApi api
 Backend API corresponding to device.
 
string device_name = ""
 The name of the device.
 
std::vector< DataTypeDescriptor::DataTypeavailableDataTypes
 The available data types the device can output.
 
int prefDataTypeIndex = 0
 The device's prefferd data type.
 
dvec availableSampleRates
 Available sample rates the device can run on.
 
int prefSampleRateIndex = -1
 Preferred setting for the sample rate.
 
usvec availableFramesPerBlock
 Available latency-setting (number of frames passed in each callback).
 
us prefFramesPerBlockIndex = 0
 Preffered number of frames per callback.
 
dvec availableInputRanges
 Available ranges for the input, i.e. +/- 1V and/or +/- 10 V etc.
 
int prefInputRangeIndex = 0
 Its preffered range.
 
unsigned ninchannels = 0
 The number of input channels available for the device.
 
unsigned noutchannels = 0
 The number of output channels available for the device.
 
bool hasInputIEPE = false
 Whether the device is capable to provide IEPE constant current power supply.
 
bool hasInputACCouplingSwitch = false
 Whether the device is capable of enabling a hardware AC-coupling.
 
bool hasInputTrigger = false
 Whether the device is able to trigger on input.
 
bool hasInternalOutputMonitor = false
 Whether the device has an internal monitor of the output signal. If true, the device is able to monitor output signals internally and able to present output signals as virtual input signals. This only works together Daq's that are able to run in full duplex mode.
 
bool duplexModeForced = false
 This flag is used to be able to indicate that the device cannot run input and output streams independently, without opening the device in duplex mode. This is for example true for the UlDaq: only one handle to the device can be given at the same time.
 
DaqChannel::Qty physicalOutputQty = DaqChannel::Qty::Number
 The physical quantity of the output signal. For 'normal' audio devices, this is typically a 'number' between +/- full scale. For some devices however, the output quantity corresponds to a physical signal, such a Volts.
 

Additional Inherited Members

- Static Public Member Functions inherited from DeviceInfo
static DeviceInfoList getDeviceInfo ()
 Create a list of DeviceInfo's that are at call time avalable.
 

Detailed Description

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

Definition at line 47 of file lasp_uldaq_common.h.

Member Function Documentation

◆ clone()

virtual std::unique_ptr< DeviceInfo > UlDaqDeviceInfo::clone ( ) const
inlineoverridevirtual

Clone a device info.

Returns
Cloned device info

Reimplemented from DeviceInfo.

Definition at line 51 of file lasp_uldaq_common.h.

Member Data Documentation

◆ _uldaqDescriptor

DaqDeviceDescriptor UlDaqDeviceInfo::_uldaqDescriptor

Definition at line 50 of file lasp_uldaq_common.h.


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