class excitation Class to manage an excitation channel.
| | syncDelay synchronization delay for excitation signals, ~200 ms |
| | syncUncertainty synchronization uncertainty for non GPS signals, ~250 ms |
| | linkSpeed [2] link speed in char/sec; first ethernet, second rs232 (cobox) |
| | signallist signal list |
| | const_sigiterator signal list iterator |
| | pointlist point list |
| | chnname channel name |
| | channeltype Type of excitation channel |
| | excitation (const string& Chnname, double Wait = 0) Constructor. |
| | excitation (const excitation& exc) Copy constructor. |
| | operator= (const excitation& exc) Copy operator. |
| | ~excitation () Destructor. |
| | operator! () const Not operator. |
| | operator== (const excitation& exc) const Equality operator. |
| | operator== (const string& name) const Equality operator. |
| | operator!= (const excitation& exc) const Inequality operator. |
| | operator!= (const string& name) const Inequality operator. |
| | capability (capabilityflag cap) const Excitation channel capability. |
| | setup (const string& Chnname) Setup of excitation channel. |
| | add (const AWG_Component& comp) Add excitation signal. |
| | add (const_sigiterator begin, const_sigiterator end) Add excitation signals. |
| | add (const pointlist& Points) Add waveform points. |
| | dwellTime () const dwell time function. |
| | start (tainsec_t starttime = -1, tainsec_t timeout = -1) Start excitation signals. |
| | stop (tainsec_t timeout = -1, tainsec_t ramptime = 0) Stop excitation signals. |
| | freeze () Freeze excitation signals. |
| | reset (bool hard = false, tainsec_t timeout = -1) Reset the excitation signal. |
| | mux mutex to protect excitation object |
| | writeaccess true if channel can be set |
| | chninfo channel info structure |
| | wait settlign time |
| | signals signal list |
| | points list of waveform points |
| | slot awg slot (ownership is transfered on copy) |
| | inUse counts how many times channel is in use (ownership is transfered on copy) |
| | isTP true if channel is a test point |
| | epicsvalue value of epics channel before excitation was switched on |
Excitation object to manage a single excitation channel. This object is multi-thread safe.
static const double syncUncertainty
static const double linkSpeed[2]
enum excitationchannel
invalid
EPICS
testpoint
enum capabilityflag
output
GPSsync
periodicsignal
randomsignal
typedef std::vector <AWG_Component> signallist
typedef std::vector <AWG_Component> ::const_iterator const_sigiterator
typedef std::vector <float> pointlist
string chnname
excitationchannel channeltype
explicit excitation(const string& Chnname, double Wait = 0)
Wait - settling time
excitation(const excitation& exc)
excitation& operator= (const excitation& exc)
virtual ~excitation()
bool operator! () const
bool operator== (const excitation& exc) const
bool operator== (const string& name) const
bool operator!= (const excitation& exc) const
bool operator!= (const string& name) const
virtual int capability(capabilityflag cap) const
flag Description
output the channel can be used to apply an excitation
GPSsync the output signal can be syncronized with GPS
periodicsignal periodic signals are supported
randomsignal random noise signals are supported
waveform arbitary waveforms are supported
multiplewaveforms multiple arbitrary waveforms are supported
virtual bool setup(const string& Chnname)
virtual bool add(const AWG_Component& comp)
virtual bool add(const_sigiterator begin, const_sigiterator end)
end - iterator to one behind last waveform component
virtual bool add(const pointlist& Points)
virtual double dwellTime() const
virtual bool start(tainsec_t starttime = -1, tainsec_t timeout = -1)
timeout - max. time for start to succeed (<0 wait forever)
virtual bool stop(tainsec_t timeout = -1, tainsec_t ramptime = 0)
ramptime - time to ramp down the signal
virtual bool freeze()
virtual bool reset(bool hard = false, tainsec_t timeout = -1)
timeout - max. time for reset to succeed (<0 wait forever)
mutable recursivemutex mux
bool writeaccess
gdsChnInfo_t chninfo
double wait
signallist signals
pointlist points
mutable int slot
mutable int inUse
bool isTP
double epicsvalue
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++