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

Capabilities information about the DAQ system. More...

#include <CDAQController.h>

Public Member Functions

DWORD getBufSize () const
 size of sample buffer
WORD getMaxItems () const
 maximum number of DAQ items configurable
BYTE getMaxItemSize () const
WORD getNumItems () const
DWORD getTick_ns () const
std::string toString () const
 Returns contents of this object in human readable form.

Detailed Description

Capabilities information about the DAQ system.

Python example: data_recorder_with_daq.py

Member Function Documentation

◆ getBufSize()

DWORD isys::CDAQInfo::getBufSize ( ) const
inline

size of sample buffer

Since
9.12.288

◆ getMaxItems()

WORD isys::CDAQInfo::getMaxItems ( ) const
inline

maximum number of DAQ items configurable

Since
9.12.288

◆ getMaxItemSize()

BYTE isys::CDAQInfo::getMaxItemSize ( ) const
inline
Returns
maximum size of a DAQ item
Since
9.12.288

Python example: daq_simple.py

◆ getNumItems()

WORD isys::CDAQInfo::getNumItems ( ) const
Deprecated
in 9.21.2, always throws. Call CDAQController::getMaxItems() instead.
Returns
currently configured number of DAQ items
Since
9.21.3

◆ getTick_ns()

DWORD isys::CDAQInfo::getTick_ns ( ) const
inline
Deprecated
in 9.21.2, always returns 1000. Times returned by CDAQSample::getTime() are always in microseconds now, so this method is no longer needed.
Since
9.12.288

Returns duration of DAQ clock tick in ns. All times returned by methods in CDAQ classes are returned as the number of DAQ clock ticks. Use value returned by this method to calculate real time:

 realTimeInSeconds = daqTime * getTick_ns() / 1'000'000'000.0 

◆ toString()

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

Returns contents of this object in human readable form.

Since
9.12.288