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

Sample acquired by the DAQ system. More...

#include <CDAQController.h>

Public Member Functions

 CDAQSample ()
const std::vector< BYTE > & getData () const
 acquisition data in flat memory layout.
WORD getIndex () const
 index of the DAQ item
uint64_t getTime () const
 Returns time of acquisition in microseconds.
std::string toString () const
 Returns contents of this object in human readable form.

Detailed Description

Sample acquired by the DAQ system.

Python example: data_recorder_with_daq.py

Constructor & Destructor Documentation

◆ CDAQSample()

isys::CDAQSample::CDAQSample ( )
Since
9.12.288

Member Function Documentation

◆ getData()

const std::vector< BYTE > & isys::CDAQSample::getData ( ) const
inline

acquisition data in flat memory layout.

Use CDAQController.getDataValue to extract a well formed type

Since
9.12.288

◆ getIndex()

WORD isys::CDAQSample::getIndex ( ) const
inline

index of the DAQ item

Since
9.12.288

◆ getTime()

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

Returns time of acquisition in microseconds.

Since
9.12.288

◆ toString()

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

Returns contents of this object in human readable form.

Since
9.12.288