AFHBA404
AFHBA404 connects ACQ2106 to PCI-Express
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ACQ_HW_MULTI Class Reference

as per ACQ_HW, but with multi dma buffers use for applications like THOMSON where multi back to back bursts occur by using multi buffers, there's no pileup. More...

Inheritance diagram for ACQ_HW_MULTI:
ACQ_HW_BASE ACQ IO ACQ_HW_MEAN ACQ_HW_MEAN_SKIPPER

Public Member Functions

 ACQ_HW_MULTI (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &sys_vi_cursor, VO &sys_vo_cursor, int nbuffers)
 
virtual ~ACQ_HW_MULTI ()
 
virtual bool newSample (int sample)
 checks host buffer for new sample, if so copies to lbuf and reports true More...
 
- Public Member Functions inherited from ACQ
virtual string toString ()
 
- Public Member Functions inherited from IO
 IO (string _name, VI _vi, VO _vo)
 
virtual ~IO ()
 
string getName ()
 

Protected Member Functions

unsigned tlatch0 (int ib)
 
- Protected Member Functions inherited from ACQ_HW_BASE
 ACQ_HW_BASE (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &sys_vi_cursor, VO &sys_vo_cursor)
 
virtual ~ACQ_HW_BASE ()
 
virtual void arm (int nsamples)
 prepare to run a shot nsamples long, arm the UUT. More...
 
virtual unsigned tlatch (void)
 returns latest tlatch from lbuf More...
 
virtual void action (SystemInterface &systemInterface)
 on newSample, copy VO from SI, copy VI to SI More...
 
virtual void action2 (SystemInterface &systemInterface)
 late action(), cleanup More...
 
- Protected Member Functions inherited from ACQ
 ACQ (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &sys_vi_cursor, VO &sys_vo_cursor)
 
virtual ~ACQ ()
 

Protected Attributes

int pw32_double_buffer
 
int nb
 
int ** raw
 
unsigned * tl0_array
 
int verbose
 
- Protected Attributes inherited from ACQ_HW_BASE
Devdev
 
unsigned tl0
 
unsigned * dox
 
int sample
 
const int spix
 
int pw32_double_buffer
 
- Protected Attributes inherited from ACQ
bool nowait
 newSample doesn't block for new Tlatch (eg bolo in set with non bolo uuts). More...
 
unsigned wd_mask
 watchdog mask. More...
 
int pollcount
 
int devnum
 AFHBA404 device numbers 0..N. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ACQ
static ACQfactory (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &sys_vi_cursor, VO &sys_vo_cursor)
 
- Public Attributes inherited from ACQ
const VI vi_offsets
 byte offset for each Input type in Local Vector In More...
 
const VO vo_offsets
 byte offset for each Output type in Local Vector Out More...
 
const VI vi_cursor
 index for each Input type in System Interface More...
 
const VO vo_cursor
 index for each Output type in System Interface More...
 
- Public Attributes inherited from IO
const VI vi
 
const VO vo
 

Detailed Description

as per ACQ_HW, but with multi dma buffers use for applications like THOMSON where multi back to back bursts occur by using multi buffers, there's no pileup.

the system will still output a single sample per buffer, the tempo of the output will be bursty

Definition at line 287 of file AcqHw.cpp.

Constructor & Destructor Documentation

◆ ACQ_HW_MULTI()

ACQ_HW_MULTI::ACQ_HW_MULTI ( int  devnum,
string  _name,
VI  _vi,
VO  _vo,
VI  _vi_offsets,
VO  _vo_offsets,
VI sys_vi_cursor,
VO sys_vo_cursor,
int  nbuffers 
)

Definition at line 308 of file AcqHw.cpp.

◆ ~ACQ_HW_MULTI()

virtual ACQ_HW_MULTI::~ACQ_HW_MULTI ( )
inlinevirtual

Definition at line 302 of file AcqHw.cpp.

Member Function Documentation

◆ newSample()

bool ACQ_HW_MULTI::newSample ( int  sample)
virtual

checks host buffer for new sample, if so copies to lbuf and reports true

Reimplemented from ACQ.

Reimplemented in ACQ_HW_MEAN_SKIPPER, and ACQ_HW_MEAN.

Definition at line 348 of file AcqHw.cpp.

◆ tlatch0()

unsigned ACQ_HW_MULTI::tlatch0 ( int  ib)
inlineprotected

Definition at line 294 of file AcqHw.cpp.

Member Data Documentation

◆ nb

int ACQ_HW_MULTI::nb
protected

Definition at line 291 of file AcqHw.cpp.

◆ pw32_double_buffer

int ACQ_HW_MULTI::pw32_double_buffer
protected

Definition at line 290 of file AcqHw.cpp.

◆ raw

int** ACQ_HW_MULTI::raw
protected

Definition at line 292 of file AcqHw.cpp.

◆ tl0_array

unsigned* ACQ_HW_MULTI::tl0_array
protected

Definition at line 297 of file AcqHw.cpp.

◆ verbose

int ACQ_HW_MULTI::verbose
protected

Definition at line 298 of file AcqHw.cpp.


The documentation for this class was generated from the following file: