Files
motorBase/motorApp/PIGCS2Src/PIE517Controller.h
T
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00

54 lines
1.4 KiB
C++

/*
FILENAME... PIGCScontroller.h
*************************************************************************
* Copyright (c) 2011-2013 Physik Instrumente (PI) GmbH & Co. KG
* This file is distributed subject to the EPICS Open License Agreement
* found in the file LICENSE that is included with this distribution.
*************************************************************************
Original Author: Steffen Rau
Created: 15.12.2010
*/
#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(PIInterface* pInterface, const char* szIDN)
: PIGCSPiezoController(pInterface, szIDN)
{
}
~PIE517Controller() {}
virtual asynStatus init(void);
virtual asynStatus haltAxis(PIasynAxis* pAxis)
{
// E-517 does support HLT with single axis
return PIGCSController::haltAxis(pAxis);
}
private:
asynStatus setOnline(int outputChannel, int onlineState);
asynStatus getNrOutputChannels();
int m_nrOutputChannels;
};
#endif /* PIE517CONTROLLER_H_ */