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

◆ getMaxItemSize()

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

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

◆ 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.

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