winIDEA SDK
isys::CDAQInfo Class Reference

Description

Capabilities information about the DAQ system.

Python example: data_recorder_with_daq.py

#include <CDAQController.h>

Public Member Functions

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

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::getNumItems() 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