LLC2_API
Public Member Functions
LL_ControlSystemI Class Reference

concrete implementation, private to this module. More...

Inheritance diagram for LL_ControlSystemI:
LL_ControlSystem ACQ

List of all members.

Public Member Functions

 LL_ControlSystemI (const char *_id)
virtual ~LL_ControlSystemI ()
virtual int addCard (ACQ196 *_acq196)
 add ACQ196 card to system.
virtual int addCard (AO32 *_ao32)
 add AO32 card to system.
virtual int getAI_count (void) const
virtual int getAO_count (void) const
virtual int getDI_count (void) const
virtual int getDO_count (void) const
virtual int getStatus_count (void) const
virtual void init (int argc, const char *argv[])
 initialise capture parameters.
virtual int Arm (const short *ao_values_init, const unsigned *do_values_init)
 Arm the capture with initial conditions.
virtual int IO (const short *ao_values, const unsigned *do_values, short *ai_values, unsigned *di_values, unsigned *status)
 Block and return on next sample.
virtual int Stop ()
 Stop the capture.
virtual void print ()
 print a summary of the system.
virtual int getSamples () const
 returns samples to capture set in init().
virtual int getOffset (ACQ_Card *card, enum IO io)
 return offset in client vector for <card> with IO type <io>.

Detailed Description

concrete implementation, private to this module.

Definition at line 174 of file ll2.cpp.


Constructor & Destructor Documentation

LL_ControlSystemI::LL_ControlSystemI ( const char *  _id) [inline]

Definition at line 216 of file ll2.cpp.

LL_ControlSystemI::~LL_ControlSystemI ( ) [virtual]

Definition at line 888 of file ll2.cpp.

References doPostShotAnalysis().


Member Function Documentation

virtual int LL_ControlSystemI::addCard ( ACQ196 _acq196) [inline, virtual]

add ACQ196 card to system.

Implements LL_ControlSystem.

Definition at line 227 of file ll2.cpp.

virtual int LL_ControlSystemI::addCard ( AO32 _ao32) [inline, virtual]

add AO32 card to system.

Implements LL_ControlSystem.

Definition at line 231 of file ll2.cpp.

int LL_ControlSystemI::Arm ( const short *  ao_values_init,
const unsigned *  do_values_init 
) [virtual]

Arm the capture with initial conditions.

Parameters:
ao_values_initensure initial AO condition.
do_values_initensure initial DO condition.

Implements LL_ControlSystem.

Definition at line 801 of file ll2.cpp.

References acq200_setImask(), appEnterLLC_SYNC_2VAO32(), TestDescription::decimation, EACHBUF, EACHCARD, EACHMBX, EACHSLOT, FOREACHCARD, getVaddr(), LLC_CSR_M_ARM, LLC_MAKE_DECIM, llSetTlatch(), llv2InitDmaDone(), TestDescription::mask_ints, TestDescription::mask_ints_mask, monitor, OFFSET, PRINTF, setupAbortHandler(), setupMonitor(), THIS_CARD, and updateTargetAddr().

int LL_ControlSystemI::getAI_count ( void  ) const [virtual]

Reimplemented from ACQ.

Definition at line 287 of file ll2.cpp.

References FOREACH.

int LL_ControlSystemI::getAO_count ( void  ) const [virtual]

Reimplemented from ACQ.

Definition at line 295 of file ll2.cpp.

References FOREACH.

int LL_ControlSystemI::getDI_count ( void  ) const [virtual]

Reimplemented from ACQ.

Definition at line 306 of file ll2.cpp.

References FOREACH.

int LL_ControlSystemI::getDO_count ( void  ) const [virtual]

Reimplemented from ACQ.

Definition at line 315 of file ll2.cpp.

References FOREACH.

int LL_ControlSystemI::getOffset ( ACQ_Card card,
enum IO  io 
) [virtual]

return offset in client vector for <card> with IO type <io>.

Implements LL_ControlSystem.

Definition at line 256 of file ll2.cpp.

References AI, AO, BITS_PER_DX_WORD, DI, DO, and ST.

virtual int LL_ControlSystemI::getSamples ( ) const [inline, virtual]

returns samples to capture set in init().

Implements LL_ControlSystem.

Definition at line 249 of file ll2.cpp.

References TestDescription::iterations.

int LL_ControlSystemI::getStatus_count ( void  ) const [virtual]

Reimplemented from ACQ.

Definition at line 323 of file ll2.cpp.

References FOREACH.

void LL_ControlSystemI::init ( int  argc,
const char *  argv[] 
) [virtual]
int LL_ControlSystemI::IO ( const short *  ao_values,
const unsigned *  do_values,
short *  ai_values,
unsigned *  di_values,
unsigned *  status 
) [virtual]

Block and return on next sample.

Sets outputs before blocking, returns inputs.

Implements LL_ControlSystem.

Definition at line 842 of file ll2.cpp.

References EACHCARD, FOREACHCARD, TestDescription::iter, updateTstats, and waitDmaDone.

void LL_ControlSystemI::print ( ) [virtual]

print a summary of the system.

xml output could be used to auto initialise application buffers

Implements LL_ControlSystem.

Definition at line 523 of file ll2.cpp.

int LL_ControlSystemI::Stop ( ) [virtual]

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