/* * PIGCScontroller.h * * Created on: 15.12.2010 * Author: sra */ /* Version: $Revision: 1.1.1.1 $ Modified By: $Author: ernesto $ Last Modified: $Date: 2012/12/04 16:16:38 $ HeadURL: $URL$ */ #ifndef PIE517CONTROLLER_H_ #define PIE517CONTROLLER_H_ #include "PIGCSPiezoController.h" /** * class representing PI E-517 and E-545 controllers. * * Basically these controllers have the same functionality as a * digital piezo controller. Specialties are "velocity control" mode * and the "online" state. Output channels must be set to "online" mode * before commands are accepted over the interface. This is done in * init() */ class PIE517Controller : public PIGCSPiezoController { public: PIE517Controller(asynUser* pCom, const char* szIDN) : PIGCSPiezoController(pCom, szIDN) { } ~PIE517Controller() {} virtual asynStatus init(void); virtual asynStatus initAxis(PIasynAxis* pAxis); private: asynStatus setOnline(int outputChannel, int onlineState); asynStatus getNrOutputChannels(); int m_nrOutputChannels; }; #endif /* PIE517CONTROLLER_H_ */