Implemented a feature which allows for an additional field for having a text message
with a motor axis. To this purpose a new derived class SINQAxis and SINQController were added which other drivers using this feature can derive from. The proof of concept and test platform is the EL734 driver.
This commit is contained in:
29
sinqEPICSApp/src/SINQAxis.h
Normal file
29
sinqEPICSApp/src/SINQAxis.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
This is a version of the motor axis record which adds code for having an
|
||||
text field with an error message to go with the motor. The code is
|
||||
courtesey Torsten Boergershausen from ESS and from the axisRecord.
|
||||
|
||||
Mark Koennecke, March 2017
|
||||
*/
|
||||
#ifndef __SINQDRIVER
|
||||
#define __SINQDRIVER
|
||||
#include "asynMotorAxis.h"
|
||||
|
||||
class epicsShareClass SINQAxis : public asynMotorAxis
|
||||
{
|
||||
public:
|
||||
SINQAxis(class SINQController *pC_, int axis);
|
||||
asynStatus setStringParam(int function, const char *value);
|
||||
|
||||
friend class SINQController;
|
||||
protected:
|
||||
void updateMsgTxtFromDriver(const char *value);
|
||||
private:
|
||||
SINQController *pC_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user