winIDEA SDK
Loading...
Searching...
No Matches
isys::CDAQStatus Class Reference

Status information about the DAQ system. More...

#include <CDAQController.h>

Public Member Functions

 CDAQStatus (uint64_t qwTime, DWORD dwLastLoopTime, DWORD dwNumSamplesAvailable, DWORD dwNumLoops, bool bOverflow, bool bGlobalEnable)
bool getCoreEnable () const
bool getGlobalEnable () const
 Returns true if global DAQ sampling is enabled.
DWORD getLastLoopTime () const
 DAQ loop time in milliseconds since last status check.
DWORD getNumLoops () const
 Number of loops executed since configuration reset.
DWORD getNumSamplesAvailable () const
 Number of samples ready for readout.
bool getOverflow () const
 Indicates whether an overflow in the DAQ sample buffer has occurred since last status check.
uint64_t getTime () const
 Current time in DAQ ticks.
std::string toString () const
 Returns contents of this object in human readable form.

Detailed Description

Status information about the DAQ system.

Python example: data_recorder_with_daq.py

Constructor & Destructor Documentation

◆ CDAQStatus()

isys::CDAQStatus::CDAQStatus ( uint64_t qwTime,
DWORD dwLastLoopTime,
DWORD dwNumSamplesAvailable,
DWORD dwNumLoops,
bool bOverflow,
bool bGlobalEnable )
Since
9.12.288

Member Function Documentation

◆ getCoreEnable()

bool isys::CDAQStatus::getCoreEnable ( ) const
inline
Deprecated
in 9.21.2. Always returns the same value as getGlobalEnable().
Since
9.12.288

Returns true if DAQ sampling on this core is enabled.

◆ getGlobalEnable()

bool isys::CDAQStatus::getGlobalEnable ( ) const
inline

Returns true if global DAQ sampling is enabled.

Since
9.12.288

◆ getLastLoopTime()

DWORD isys::CDAQStatus::getLastLoopTime ( ) const
inline

DAQ loop time in milliseconds since last status check.

Since
9.12.288

◆ getNumLoops()

DWORD isys::CDAQStatus::getNumLoops ( ) const
inline

Number of loops executed since configuration reset.

Since
9.12.288

◆ getNumSamplesAvailable()

DWORD isys::CDAQStatus::getNumSamplesAvailable ( ) const
inline

Number of samples ready for readout.

Since
9.12.288

◆ getOverflow()

bool isys::CDAQStatus::getOverflow ( ) const
inline

Indicates whether an overflow in the DAQ sample buffer has occurred since last status check.

Since
9.12.288

◆ getTime()

uint64_t isys::CDAQStatus::getTime ( ) const
inline

Current time in DAQ ticks.

Python example: daq_simple.py

Since
9.12.288

◆ toString()

std::string isys::CDAQStatus::toString ( ) const
inline

Returns contents of this object in human readable form.

Since
9.12.288