You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
869 B
C++
28 lines
869 B
C++
// MotionController_ADLINK_APS_ECAT.h: interface for the CMotionController_ADLINK_APS_ECAT class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "MotionControllerBase.h"
|
|
|
|
class CMotionController_ADLINK_APS_ECAT : public CMotionControllerBase
|
|
{
|
|
private:
|
|
std::vector<int> m_cardIds;
|
|
|
|
const std::vector<int> m_vecECATType{ 20, 24, 26, 46, 47, 48 }; // ECAT card types
|
|
|
|
public:
|
|
CMotionController_ADLINK_APS_ECAT(int index);
|
|
virtual ~CMotionController_ADLINK_APS_ECAT();
|
|
|
|
BOOL Init(int& nNoOfMtr) override;
|
|
void Close() override;
|
|
|
|
private:
|
|
BOOL Init_7856(int nCardID, CHardwareCfgFactory& cfgFty, int nCfgMotionNumber, int nCfgCardNumber, int& nNoOfMtr);
|
|
BOOL Init_ECAT(int nCardID, CHardwareCfgFactory& cfgFty, int nCfgMotionNumber, int nCfgCardNumber, int& nNoOfMtr);
|
|
};
|