TSPD-ADQ EPICS device support  1.2.0
ADQInfo Class Reference

This class monitors informative parameters of the connected digitizer. More...

#include <ADQInfo.h>

Inheritance diagram for ADQInfo:
ADQAIChannelGroup

Public Member Functions

 ADQInfo (const std::string &name, nds::Node &parentNode, ADQInterface *&adqInterface, void *adqCtrlUnit)
 ADQInfo class constructor. More...
 
void getProductName (timespec *pTimestamp, std::string *pValue)
 Gets the digitizer's product name.
 
void getSerialNumber (timespec *pTimestamp, std::string *pValue)
 Gets the digitizer's serial number.
 
void getProductID (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's product ID.
 
void getADQType (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's type.
 
void getCardOption (timespec *pTimestamp, std::string *pValue)
 Gets the digitizer's card option.
 
void getTempLocal (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's PCB temperature.
 
void getTempADCone (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's ADC1 temperature.
 
void getTempADCtwo (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's ADC2 temperature.
 
void getTempFPGA (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's FPGA temperature.
 
void getTempDd (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's DCDC2A temperature.
 
void getSampRate (timespec *pTimestamp, double *pValue)
 Gets the digitizer's base sample rate.
 
void getSampRateDec (timespec *pTimestamp, double *pValue)
 Gets the digitizer's decimated sample rate.
 
void getBytesPerSample (timespec *pTimestamp, int32_t *pValue)
 Gets the number of bytes needed to store each sample.
 
void getBusAddr (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's bus address.
 
void getBusType (timespec *pTimestamp, int32_t *pValue)
 Gets the digitizer's type of connection.
 
void getPCIeLinkRate (timespec *pTimestamp, int32_t *pValue)
 Gets the PCIe/PXIe generation if the digitizer is connected over this interface.
 
void getPCIeLinkWid (timespec *pTimestamp, int32_t *pValue)
 Gets the PCIe/PXIe width if the digitizer is connected over this interface.
 

Public Attributes

nds::Port m_node
 ADQInfo class node that connects to the device.
 

Protected Attributes

std::mutex m_adqDevMutex
 Lock guard. More...
 
nds::PVDelegateIn< double > m_sampRateDecPV
 PV fpr sample rate with decimation. More...
 

Detailed Description

This class monitors informative parameters of the connected digitizer.

Constructor & Destructor Documentation

◆ ADQInfo()

ADQInfo::ADQInfo ( const std::string &  name,
nds::Node &  parentNode,
ADQInterface *&  adqInterface,
void *  adqCtrlUnit 
)

ADQInfo class constructor.

Parameters
namea name with which this class will register its child node.
parentNodea name of a parent node to which this class' node is a child.
adqInterfacea pointer to the ADQ API interface created in the ADQInit class.
adqCtrlUnita pointer to the ADQ control unit that sets up and controls the ADQ devices.

Member Data Documentation

◆ m_adqDevMutex

ADQInfo::m_adqDevMutex
protected

Lock guard.

It is used to protect ADQAPI library from simultaneous calling from different threads. For example, updating the temperatures (ADQInfo class) and data acquisition (ADQAIChannelGroup).

◆ m_sampRateDecPV

ADQInfo::m_sampRateDecPV
protected

PV fpr sample rate with decimation.

Its value is updated when sample skip (ADQAIChannelGroup) is changed.


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