Cryo-con base class. More...
#include <usertempcontrol.h>
Public Member Functions | |
XCryocon (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
Public Member Functions inherited from XCharDeviceDriver< XTempControl, XCryoconCharInterface > | |
XCharDeviceDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
Public Member Functions inherited from XTempControl | |
XTempControl (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
virtual | ~XTempControl () |
usually nothing to do | |
virtual void | showForms () |
show all forms belonging to driver | |
const shared_ptr< XChannelList > & | channels () const |
unsigned int | numOfLoops () const |
LOOPs. | |
const shared_ptr< XItemNode < XChannelList, XChannel > > & | currentChannel (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | targetTemp (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | manualPower (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | prop (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | interval (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | deriv (unsigned int lp) const |
const shared_ptr< XComboNode > & | heaterMode (unsigned int lp) const |
const shared_ptr< XComboNode > & | powerRange (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | heaterPower (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | sourceTemp (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | powerMax (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | powerMin (unsigned int lp) const |
const shared_ptr< XDoubleNode > & | stabilized (unsigned int lp) const |
holds an averaged error between target temp and actual one | |
const shared_ptr< XItemNode < XDriverList, XDCSource, XFlowControllerDriver > > & | extDevice (unsigned int lp) const |
PID control of an external device. | |
const shared_ptr< XComboNode > & | extDCSourceChannel (unsigned int lp) const |
const shared_ptr< XBoolNode > & | extIsPositive (unsigned int lp) const |
Public Member Functions inherited from XPrimaryDriverWithThread | |
XPrimaryDriverWithThread (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
virtual void | stop () |
Public Member Functions inherited from XPrimaryDriver | |
XPrimaryDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
Public Member Functions inherited from XDriver | |
XDriver (const char *name, bool runtime, Transaction &tr_meas, const shared_ptr< XMeasure > &meas) | |
Public Member Functions inherited from XNode | |
XNode (const char *name, bool runtime=false) | |
template<class T > | |
shared_ptr< T > | create (const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (const char *name, bool runtime, Args &&...args) |
template<class T > | |
shared_ptr< T > | create (Transaction &tr, const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (Transaction &tr, const char *name, bool runtime, Args &&...args) |
XString | getName () const |
virtual XString | getLabel () const |
XString | getTypename () const |
shared_ptr< XNode > | getChild (const XString &var) const |
shared_ptr< XNode > | getParent () const |
void | setUIEnabled (bool v) |
Enables/disables controls over scripting/GUI. | |
void | disable () |
Disables all scripting/GUI operations on this node hereafter. | |
Public Member Functions inherited from Transactional::Node< XNode > | |
bool | insert (Transaction< XNode > &tr, const shared_ptr< XNode > &var, bool online_after_insertion=false) |
void | insert (const shared_ptr< XNode > &var) |
bool | release (Transaction< XNode > &tr, const shared_ptr< XNode > &var) |
void | release (const shared_ptr< XNode > &var) |
void | releaseAll () |
bool | swap (Transaction< XNode > &tr, const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
void | swap (const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
XNode * | upperNode (Snapshot< XNode > &shot) |
Finds the parent node in shot. | |
Snapshot< XNode > | iterate_commit (Closure) |
Snapshot< XNode > | iterate_commit_if (Closure) |
void | iterate_commit_while (Closure) |
void | print_ () const |
Node (const Node &)=delete | |
Node & | operator= (const Node &)=delete |
Protected Member Functions | |
virtual double | getRaw (shared_ptr< XChannel > &channel) |
reads sensor value from the instrument | |
virtual double | getTemp (shared_ptr< XChannel > &channel) |
reads a value in Kelvin from the instrument | |
virtual double | getHeater (unsigned int loop) |
virtual const char * | m_heaterPowerUnit (unsigned int loop) |
ex. "W", "dB", or so | |
virtual void | open () throw (XKameError &) |
Be called just after opening interface. Call start() inside this routine appropriately. | |
virtual void | onPChanged (unsigned int loop, double p) |
virtual void | onIChanged (unsigned int loop, double i) |
virtual void | onDChanged (unsigned int loop, double d) |
virtual void | onTargetTempChanged (unsigned int loop, double temp) |
virtual void | onManualPowerChanged (unsigned int loop, double pow) |
virtual void | onHeaterModeChanged (unsigned int loop, int mode) |
virtual void | onPowerRangeChanged (unsigned int loop, int range) |
virtual void | onPowerMinChanged (unsigned int loop, double v) |
virtual void | onCurrentChannelChanged (unsigned int loop, const shared_ptr< XChannel > &ch) |
virtual void | onExcitationChanged (const shared_ptr< XChannel > &ch, int exc) |
virtual const char * | loopString (unsigned int loop)=0 |
Protected Member Functions inherited from XCharDeviceDriver< XTempControl, XCryoconCharInterface > | |
const shared_ptr < XCryoconCharInterface > & | interface () const |
virtual void | close () throw (XKameError &) |
Be called during stopping driver. Call interface()->stop() inside this routine. | |
void | onOpen (const Snapshot &shot, XInterface *) |
void | onClose (const Snapshot &shot, XInterface *) |
virtual void | closeInterface () |
Protected Member Functions inherited from XTempControl | |
virtual void | analyzeRaw (RawDataReader &reader, Transaction &tr) throw (XRecordError&) |
virtual void | visualize (const Snapshot &shot) |
void | createChannels (Transaction &tr, const shared_ptr< XMeasure > &meas, bool multiread, std::initializer_list< XString > channel_names, std::initializer_list< XString > excitations, std::initializer_list< XString > loop_names) |
bool | hasExtDevice (const Snapshot &shot, unsigned int lp) const |
virtual void | onPowerMaxChanged (unsigned int loop, double v)=0 |
Protected Member Functions inherited from XPrimaryDriverWithThread | |
virtual void | start () |
Protected Member Functions inherited from XPrimaryDriver | |
void | finishWritingRaw (const shared_ptr< const RawData > &rawdata, const XTime &time_awared, const XTime &time_recorded) |
Protected Member Functions inherited from XDriver | |
void | record (Transaction &tr, const XTime &time_awared, const XTime &time_recorded) |
Private Member Functions | |
void | setTemp (unsigned int loop, double temp) |
void | setHeaterMode (unsigned int loop) |
void | getChannel (unsigned int loop) |
int | control () |
int | stopControl () |
double | getInput (shared_ptr< XChannel > &channel) |
int | setHeaterSetPoint (unsigned int loop, double value) |
Additional Inherited Members | |
Public Types inherited from XTempControl | |
typedef XAliasListNode< XChannel > | XChannelList |
Static Public Member Functions inherited from XNode | |
template<class T__ > | |
static shared_ptr< T__ > | createOrphan (const char *name) |
template<class T__ , typename... Args_> | |
static shared_ptr< T__ > | createOrphan (const char *name, bool runtime, Args_ &&...args) |
Cryo-con base class.
Definition at line 124 of file usertempcontrol.h.
|
protectedvirtual |
obtains current heater power
Implements XTempControl.
Definition at line 484 of file usertempcontrol.cpp.