Public Types | Public Member Functions | List of all members
isig::ITriggerParams Class Referenceabstract

Interface for hardware trigger parameters. More...

#include <ITriggerParams.h>

Inheritance diagram for isig::ITriggerParams:
iser::ISerializable istd::IChangeable istd::IPolymorphic isig::CTriggerParamsComp

Public Types

enum  TriggerMode {
  TM_NONE, TM_CONTINUOUS, TM_RISING_EDGE, TM_FALLING_EDGE,
  TM_POSITIVE_LEVEL, TM_NEGATIVE_LEVEL, TM_SOFTWARE, TM_LAST = TM_SOFTWARE
}
 Describe working mode of trigger signal. More...
 

Public Member Functions

virtual const ITriggerConstraintsGetTriggerConstraints () const =0
 Get constraints describing supported parameter states. More...
 
virtual int GetTriggerMode () const =0
 Get trigger mode. More...
 
virtual void SetTriggerMode (int triggerMode)=0
 Set trigger mode. More...
 
virtual int GetTriggersCount () const =0
 Get the number of triggers in the TM_CONTINUOUS mode. More...
 
virtual void SetTriggersCount (int triggersCount)=0
 Set the number of triggers in the TM_CONTINUOUS mode. More...
 

Detailed Description

Interface for hardware trigger parameters.

Definition at line 20 of file ITriggerParams.h.

Member Enumeration Documentation

Describe working mode of trigger signal.

Enumerator
TM_NONE 

There is no trigger, no signal acquisition will be done.

TM_CONTINUOUS 

There is no external trigger, permanently signal acquisition will be done.

The number of triggers can be restricted via SetTriggersCount method

TM_RISING_EDGE 

There external trigger with rising edge.

TM_FALLING_EDGE 

There external trigger with falling edge.

TM_POSITIVE_LEVEL 

There external trigger with positive edge control.

TM_NEGATIVE_LEVEL 

There external trigger with negative edge control.

TM_SOFTWARE 

Software trigger mode.

TM_LAST 

Last available trigger mode index.

Definition at line 26 of file ITriggerParams.h.

Member Function Documentation

virtual const ITriggerConstraints* isig::ITriggerParams::GetTriggerConstraints ( ) const
pure virtual

Get constraints describing supported parameter states.

Implemented in isig::CTriggerParamsComp.

virtual int isig::ITriggerParams::GetTriggerMode ( ) const
pure virtual

Get trigger mode.

Normal trigger modes are defined in isig::ITriggerParams::TriggerMode.

Implemented in isig::CTriggerParamsComp.

virtual int isig::ITriggerParams::GetTriggersCount ( ) const
pure virtual

Get the number of triggers in the TM_CONTINUOUS mode.

A negative value means that the signal acquisition runs infinitely

See Also
TriggerMode

Implemented in isig::CTriggerParamsComp.

virtual void isig::ITriggerParams::SetTriggerMode ( int  triggerMode)
pure virtual

Set trigger mode.

Normal trigger modes are defined in isig::ITriggerParams::TriggerMode.

Implemented in isig::CTriggerParamsComp.

virtual void isig::ITriggerParams::SetTriggersCount ( int  triggersCount)
pure virtual

Set the number of triggers in the TM_CONTINUOUS mode.

See Also
TriggerMode

Implemented in isig::CTriggerParamsComp.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy