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

takes mean of N samples, newSample returns true after skip samples More...

Inheritance diagram for ACQ_HW_MEAN_SKIPPER:
ACQ_HW_MEAN ACQ_HW_MULTI ACQ_HW_BASE ACQ IO

Public Member Functions

 ACQ_HW_MEAN_SKIPPER (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &_sys_vi_cursor, VO &_sys_vo_cursor, int _nmean, int _nskip)
 
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_HW_MEAN
 ACQ_HW_MEAN (int devnum, string _name, VI _vi, VO _vo, VI _vi_offsets, VO _vo_offsets, VI &sys_vi_cursor, VO &sys_vo_cursor, int nmean)
 
virtual ~ACQ_HW_MEAN ()
 
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...
 
- Public Member Functions inherited from 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)
 
virtual ~ACQ_HW_MULTI ()
 
- 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 ()
 

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
 
- Protected Member Functions inherited from ACQ_HW_MEAN
bool _newSample (int sample)
 
- Protected Member Functions inherited from ACQ_HW_MULTI
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...
 
- 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 inherited from ACQ_HW_MEAN
const int & nmean
 
unsigned * dox
 
int ** raw
 
unsigned * tl0_array
 
int verbose
 
- Protected Attributes inherited from ACQ_HW_MULTI
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...
 

Detailed Description

takes mean of N samples, newSample returns true after skip samples

Definition at line 453 of file AcqHw.cpp.

Constructor & Destructor Documentation

◆ ACQ_HW_MEAN_SKIPPER()

ACQ_HW_MEAN_SKIPPER::ACQ_HW_MEAN_SKIPPER ( int  devnum,
string  _name,
VI  _vi,
VO  _vo,
VI  _vi_offsets,
VO  _vo_offsets,
VI _sys_vi_cursor,
VO _sys_vo_cursor,
int  _nmean,
int  _nskip 
)
inline

Definition at line 456 of file AcqHw.cpp.

Member Function Documentation

◆ newSample()

bool ACQ_HW_MEAN_SKIPPER::newSample ( int  sample)
virtual

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

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

Reimplemented from ACQ_HW_MEAN.

Definition at line 469 of file AcqHw.cpp.


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