#include <Device.h>
Public Member Functions | |
CDevice (void) | |
default constructor | |
CDevice (const CDevice &rclDevice) | |
copy constructor | |
int | doInternal (int iModuleId, void *pBytes) |
virtual int | exit ()=0 |
int | getA0 (int iModuleId, short *piValue) |
int | getBaudRate (void) |
gets the baud rate of the device | |
int | getC0 (int iModuleId, short *piValue) |
virtual int | getCanOpenRawAbsEnc (int iModuleId, short *piValue)=0 |
int | getConfig (int iModuleId, unsigned long *puiValue) |
int | getCur (int iModuleId, float *pfCur) |
int | getCurInc (int iModuleId, short *piValue) |
int | getCurrentLimit (int iModuleId, float *pfValue) |
int | getDamp (int iModuleId, short *piValue) |
virtual int | getDataDLR_FTS (std::vector< float > &rafData, long *piState)=0 |
virtual int | getDataMP55_IO (int iModuleId, float *pfData)=0 |
virtual int | getDataMP55_IO_fast (int iModuleId, float *pfData)=0 |
virtual int | getDataSCHUNK_FTC (int iModuleId, int iChannelTypeId, std::vector< float > &rafData, short *piState)=0 |
int | getDefA0 (int iModuleId, short *piValue) |
int | getDefBaudRate (int iModuleId, unsigned char *pucValue) |
int | getDefBrakeTimeOut (int iModuleId, unsigned short *puiValue) |
int | getDefBurnCount (int iModuleId, unsigned char *pucValue) |
int | getDefC0 (int iModuleId, short *piValue) |
int | getDefCANBaudRate (int iModuleId, unsigned char *pucValue) |
int | getDefConfig (int iModuleId, unsigned long *puiValue) |
int | getDefCurOffset (int iModuleId, float *pfValue) |
int | getDefCurRatio (int iModuleId, float *pfValue) |
int | getDefDamp (int iModuleId, short *piValue) |
int | getDefDioData (int iModuleId, unsigned long *puiValue) |
int | getDefGearRatio (int iModuleId, float *pfValue) |
int | getDefHomeOffset (int iModuleId, float *pfValue) |
int | getDefHomeVel (int iModuleId, float *pfValue) |
int | getDefIncPerTurn (int iModuleId, unsigned long *puiValue) |
int | getDefLinearRatio (int iModuleId, float *pfValue) |
int | getDefMaxAcc (int iModuleId, float *pfValue) |
int | getDefMaxCur (int iModuleId, float *pfValue) |
int | getDefMaxDeltaPos (int iModuleId, float *pfValue) |
int | getDefMaxPos (int iModuleId, float *pfValue) |
int | getDefMaxVel (int iModuleId, float *pfValue) |
int | getDefMinPos (int iModuleId, float *pfValue) |
int | getDefRSBaudRate (int iModuleId, unsigned char *pucValue) |
int | getDefSetup (int iModuleId, unsigned long *puiValue) |
int | getDeltaPos (int iModuleId, float *pfValue) |
int | getDeltaPosInc (int iModuleId, long *piValue) |
int | getDioData (int iModuleId, unsigned long *puiValue) |
int | getHMaxCurOvershootTime (int iModuleId, long *piValue) |
int | getHomeOffset (int iModuleId, float *pValue) |
int | getHomeOffsetInc (int iModuleId, long *piValue) |
int | getHomeVel (int iModuleId, float *pfValue) |
int | getHomeVelInc (int iModuleId, long *piValue) |
int | getIncRatio (int iModuleId, float *pValue) |
bool | getInitFlag () |
gets the init flag | |
const char * | getInitString () |
gets the init string of the device | |
int | getIPolVel (int iModuleId, float *pValue) |
int | getKpPWMLimit (int iModuleId, long *piValue) |
int | getLoadDeltaTime (int iModuleId, unsigned short *piValue) |
int | getLoadLimit (int iModuleId, long *piValue) |
int | getLogicOvershootTime (int iModuleId, long *piValue) |
int | getLogicSupply (int iModuleId, float *pfValue) |
int | getLogicUndershootTime (int iModuleId, long *piValue) |
int | getMaxAcc (int iModuleId, float *pfValue) |
int | getMaxAccInc (int iModuleId, long *piValue) |
int | getMaxCur (int iModuleId, float *pfValue) |
int | getMaxDeltaPos (int iModuleId, float *pfValue) |
int | getMaxDeltaPosInc (int iModuleId, long *piValue) |
int | getMaximumMotorCurrent (int iModuleId, float *pfValue) |
int | getMaxLoadGradient (int iModuleId, long *piValue) |
int | getMaxLogicVoltage (int iModuleId, float *pfValue) |
int | getMaxMotorVoltage (int iModuleId, float *pfValue) |
int | getMaxPos (int iModuleId, float *pfValue) |
int | getMaxPosInc (int iModuleId, long *piValue) |
int | getMaxPWMOutput (int iModuleId, long *piValue) |
int | getMaxVel (int iModuleId, float *pfValue) |
int | getMaxVelInc (int iModuleId, long *piValue) |
int | getMinLogicVoltage (int iModuleId, float *pfValue) |
int | getMinMotorVoltage (int iModuleId, float *pfValue) |
int | getMinPos (int iModuleId, float *pfValue) |
int | getMinPosInc (int iModuleId, long *piValue) |
int | getModuleCount (void) |
gets the number of modules of the device | |
int | getModuleIdMap (std::vector< int > &raiModuleId) |
gets the module ID map of the open device | |
int | getModuleSerialNo (int iModuleId, unsigned long *puiValue) |
int | getModuleState (int iModuleId, unsigned long *puiState) |
int | getModuleType (int iModuleId, unsigned char *pucValue) |
int | getModuleVersion (int iModuleId, unsigned short *puiValue) |
int | getMotorCurrent (int iModuleId, float *pfValue) |
int | getMotorOvershootTime (int iModuleId, long *piValue) |
int | getMotorSupply (int iModuleId, float *pfValue) |
int | getMotorUndershootTime (int iModuleId, long *piValue) |
const char * | getName () |
gets the name string of the open device | |
int | getNomCurOvershootTime (int iModuleId, long *piValue) |
int | getNominalMotorCurrent (int iModuleId, float *pfValue) |
int | getPos (int iModuleId, float *pfPos) |
int | getPosCountInc (int iModuleId, long *piValue) |
int | getPosInc (int iModuleId, long *piValue) |
int | getRawLogicSupply (int iModuleId, short *piValue) |
int | getRawMotorCurrent (int iModuleId, short *piValue) |
int | getRawMotorSupply (int iModuleId, short *piValue) |
int | getRawTemperature (int iModuleId, short *piValue) |
const char * | getRevision () |
gets the revision string of the class | |
int | getSavePos (int iModuleId, float *pfValue) |
int | getStateDioPos (int iModuleId, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | getStateInternal (int iModuleId, unsigned long *pBytes) |
int | getSyncTime (int iModuleId, short *piValue) |
int | getTemperature (int iModuleId, float *pfValue) |
int | getVel (int iModuleId, float *pfVel) |
int | getVelInc (int iModuleId, long *piValue) |
int | haltAll (void) |
int | haltModule (int iModuleId) |
int | homeAll (void) |
int | homeModule (int iModuleId) |
virtual int | init ()=0 |
virtual int | init (const char *acInitString)=0 |
virtual int | initDLR_FTS ()=0 |
int | moveCur (int iModuleId, float fCur) |
int | moveCurExtended (int iModuleId, float fCur, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | moveCurInc (int iModuleId, long iCur) |
int | movePos (int iModuleId, float fPos) |
int | movePosExtended (int iModuleId, float fPos, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | movePosInc (int iModuleId, long iPos) |
int | moveRamp (int iModuleId, float fPos, float fVel, float fAcc) |
int | moveRampExtended (int iModuleId, float fPos, float fVel, float fAcc, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | moveRampInc (int iModuleId, long iPos, long iVel, long iAcc) |
int | moveStep (int iModuleId, float fPos, unsigned short uiTime) |
int | moveStepExtended (int iModuleId, float fPos, unsigned short uiTime, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | moveStepInc (int iModuleId, long iPos, unsigned short uiTime) |
int | moveVel (int iModuleId, float fVel) |
int | moveVelExtended (int iModuleId, float fCur, unsigned long *puiState, unsigned char *pucDio, float *pfPos) |
int | moveVelInc (int iModuleId, long iVel) |
CDevice & | operator= (const CDevice &rclDevice) |
int | recalcPIDParams (int iModuleId) |
int | resetAll (void) |
int | resetModule (int iModuleId) |
int | saveParameters (int iModuleId) |
int | savePosAll (void) |
int | serveWatchdogAll (void) |
int | setA0 (int iModuleId, short iValue) |
int | setBaudRateAll (unsigned char ucBaudRateId) |
int | setC0 (int iModuleId, short iValue) |
int | setConfig (int iModuleId, unsigned long puiValue) |
int | setCurrentLimit (int iModuleId, float fValue) |
int | setDamp (int iModuleId, short iValue) |
int | setDefAddress (int iModuleId, unsigned char uiValue) |
int | setDefBrakeTimeOut (int iModuleId, unsigned short uiValue) |
int | setDefCANBaudRate (int iModuleId, unsigned char uiValue) |
int | setDefCurRatio (int iModuleId, float fValue) |
int | setDefGearRatio (int iModuleId, float fValue) |
int | setDefHomeAcc (int iModuleId, float fValue) |
int | setDefIncPerTurn (int iModuleId, unsigned long uiValue) |
int | setDefLinRatio (int iModuleId, float fValue) |
int | setDefRSBaudRate (int iModuleId, unsigned char uiValue) |
int | setDefSetup (int iModuleId, unsigned long uiValue) |
int | setDioData (int iModuleId, unsigned long uiValue) |
int | setHMaxCurOvershootTime (int iModuleId, long iValue) |
int | setHomeOffset (int iModuleId, float fValue) |
int | setHomeOffsetInc (int iModuleId, long iValue) |
int | setHomeVel (int iModuleId, float fValue) |
int | setHomeVelInc (int iModuleId, long iValue) |
virtual int | setInitMP55_IO_fast (int iModuleId)=0 |
void | setInitString (const char *acInitString) |
int | setKpPWMLimit (int iModuleId, long iValue) |
int | setLoadDeltaTime (int iModuleId, unsigned short iValue) |
int | setLoadLimit (int iModuleId, long iValue) |
int | setLogicOvershootTime (int iModuleId, long iValue) |
int | setLogicUndershootTime (int iModuleId, long iValue) |
int | setMaxAcc (int iModuleId, float fValue) |
int | setMaxAccInc (int iModuleId, long iValue) |
int | setMaxCur (int iModuleId, float fValue) |
int | setMaxDeltaPos (int iModuleId, float fValue) |
int | setMaxDeltaPosInc (int iModuleId, long iValue) |
int | setMaximumMotorCurrent (int iModuleId, float fValue) |
int | setMaxLoadGradient (int iModuleId, long iValue) |
int | setMaxLogicVoltage (int iModuleId, float fValue) |
int | setMaxMotorVoltage (int iModuleId, float fValue) |
int | setMaxPos (int iModuleId, float fValue) |
int | setMaxPosInc (int iModuleId, long iValue) |
int | setMaxVel (int iModuleId, float fValue) |
int | setMaxVelInc (int iModuleId, long iValue) |
int | setMinLogicVoltage (int iModuleId, float fValue) |
int | setMinMotorVoltage (int iModuleId, float fValue) |
int | setMinPos (int iModuleId, float fValue) |
int | setMinPosInc (int iModuleId, long iValue) |
int | setModuleSerialNo (int iModuleId, unsigned long uiValue) |
int | setMotorOvershootTime (int iModuleId, long iValue) |
int | setMotorUndershootTime (int iModuleId, long iValue) |
void | setName (const char *acNameString) |
sets the baud rate of the device | |
int | setNomCurOvershootTime (int iModuleId, long iValue) |
int | setNominalMotorCurrent (int iModuleId, float fValue) |
virtual int | setNullSCHUNK_FTC (int iModuleId, short *piState)=0 |
int | setRampAcc (int iModuleId, float fValue) |
int | setRampAccInc (int iModuleId, long iValue) |
int | setRampVel (int iModuleId, float fValue) |
int | setRampVelInc (int iModuleId, long iValue) |
int | setSyncTime (int iModuleId, short iValue) |
virtual int | setTaraMP55_IO (int iModuleId, float fTara)=0 |
int | startMotionAll (void) |
int | updateModuleIdMap () |
int | waitForHomeEnd (int iModuleId, unsigned long uiTimeOut=60000) |
int | waitForHomeEndAll (unsigned long uiTimeOut=60000) |
int | waitForMotionEnd (int iModuleId, unsigned long uiTimeOut=60000) |
int | waitForMotionEndAll (unsigned long uiTimeOut=60000) |
int | waitForRampDec (int iModuleId, unsigned long uiTimeOut=60000) |
int | waitForRampEnd (int iModuleId, unsigned long uiTimeOut=60000) |
int | waitForRampEndAll (unsigned long uiTimeOut=60000) |
int | waitForRampSteady (int iModuleId, unsigned long uiTimeOut=60000) |
virtual int | waitForStartMotionAll () |
int | xack8Bytes (int iModuleId, void *pBytes) |
int | xmit8Bytes (int iModuleId, void *pBytes) |
virtual | ~CDevice () |
destructor | |
Protected Member Functions | |
void | charStateToLongState (unsigned char uiShort, unsigned long *puiState) |
virtual int | getUnsignedLong (int iModuleId, unsigned long *puiData)=0 |
virtual int | readChar (int iModuleId, int iCommandId, int iParameterId, char *pcData)=0 |
virtual int | readFloat (int iModuleId, int iCommandId, int iParameterId, float *pfData)=0 |
virtual int | readFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float *pfData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | readLong (int iModuleId, int iCommandId, int iParameterId, long *piData)=0 |
virtual int | readLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long *piData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | readShort (int iModuleId, int iCommandId, int iParameterId, short *piData)=0 |
virtual int | readUnsignedChar (int iModuleId, int iCommandId, int iParameterId, unsigned char *pucData)=0 |
virtual int | readUnsignedLong (int iModuleId, int iCommandId, int iParameterId, unsigned long *puiData)=0 |
virtual int | readUnsignedShort (int iModuleId, int iCommandId, int iParameterId, unsigned short *puiData)=0 |
virtual int | reinit (unsigned char ucBaudRateId)=0 |
virtual int | write8Bytes (int iModuleId, bool ack, void *pBytes)=0 |
virtual int | writeAll (int iCommandId, int iParameterId)=0 |
virtual int | writeChar (int iModuleId, int iCommandId, int iParameterId, char cData)=0 |
virtual int | writeCommand (int iModuleId, int iCommandId)=0 |
virtual int | writeFloat (int iModuleId, int iCommandId, int iParameterId, float fData)=0 |
virtual int | writeFloatReadFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float fData, float *pfData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | writeFloatShort (int iModuleId, int iCommandId, int iParameterId, float fData, short iTime)=0 |
virtual int | writeFloatShortReadFloatUnsignedChars (int iModuleId, int iCommandId, int iParameterId, float fData, short iData, float *pfData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | writeLong (int iModuleId, int iCommandId, int iParameterId, long iData)=0 |
virtual int | writeLongReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long iData, long *piData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | writeLongShort (int iModuleId, int iCommandId, int iParameterId, long iData, short iTime)=0 |
virtual int | writeLongShortReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, long iData1, short iData2, long *piData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | writeShort (int iModuleId, int iCommandId, int iParameterId, short iData)=0 |
virtual int | writeShortReadLongUnsignedChars (int iModuleId, int iCommandId, int iParameterId, short iData, long *piData, unsigned char *pucData1, unsigned char *pucData2)=0 |
virtual int | writeUnsignedChar (int iModuleId, int iCommandId, int iParameterId, unsigned char ucData)=0 |
virtual int | writeUnsignedLong (int iModuleId, int iCommandId, int iParameterId, unsigned long uiData)=0 |
virtual int | writeUnsignedShort (int iModuleId, int iCommandId, int iParameterId, unsigned short uiData)=0 |
Protected Attributes | |
char | m_acInitString [128] |
char | m_acName [128] |
char | m_acRevision [20] |
std::vector< int > | m_aiModuleId |
std::vector< unsigned short > | m_auiModuleVersion |
bool | m_bInitFlag |
CStopWatch | m_clTimer |
int | m_iBaudRate |
int | m_iErrorState |
int | m_iModuleCount |
int | m_iModuleCountMax |
CDevice::CDevice | ( | void | ) |
default constructor
Definition at line 100 of file Device.cpp.
CDevice::CDevice | ( | const CDevice & | rclDevice | ) |
copy constructor
Definition at line 112 of file Device.cpp.
CDevice::~CDevice | ( | ) | [virtual] |
destructor
Definition at line 117 of file Device.cpp.
void CDevice::charStateToLongState | ( | unsigned char | uiShort, |
unsigned long * | puiState | ||
) | [protected] |
Definition at line 73 of file Device.cpp.
int CDevice::doInternal | ( | int | iModuleId, |
void * | pBytes | ||
) |
Definition at line 4762 of file Device.cpp.
virtual int CDevice::exit | ( | ) | [pure virtual] |
Implemented in CRS232Device, CESDDevice, CPCanDevice, and CCP5X11Device.
int CDevice::getA0 | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 873 of file Device.cpp.
int CDevice::getBaudRate | ( | void | ) |
gets the baud rate of the device
Definition at line 159 of file Device.cpp.
int CDevice::getC0 | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 893 of file Device.cpp.
virtual int CDevice::getCanOpenRawAbsEnc | ( | int | iModuleId, |
short * | piValue | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
int CDevice::getConfig | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 773 of file Device.cpp.
int CDevice::getCur | ( | int | iModuleId, |
float * | pfCur | ||
) |
Definition at line 973 of file Device.cpp.
int CDevice::getCurInc | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1246 of file Device.cpp.
int CDevice::getCurrentLimit | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 2284 of file Device.cpp.
int CDevice::getDamp | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 913 of file Device.cpp.
virtual int CDevice::getDataDLR_FTS | ( | std::vector< float > & | rafData, |
long * | piState | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::getDataMP55_IO | ( | int | iModuleId, |
float * | pfData | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::getDataMP55_IO_fast | ( | int | iModuleId, |
float * | pfData | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::getDataSCHUNK_FTC | ( | int | iModuleId, |
int | iChannelTypeId, | ||
std::vector< float > & | rafData, | ||
short * | piState | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
int CDevice::getDefA0 | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 553 of file Device.cpp.
int CDevice::getDefBaudRate | ( | int | iModuleId, |
unsigned char * | pucValue | ||
) |
Definition at line 332 of file Device.cpp.
int CDevice::getDefBrakeTimeOut | ( | int | iModuleId, |
unsigned short * | puiValue | ||
) |
Definition at line 492 of file Device.cpp.
int CDevice::getDefBurnCount | ( | int | iModuleId, |
unsigned char * | pucValue | ||
) |
Definition at line 392 of file Device.cpp.
int CDevice::getDefC0 | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 573 of file Device.cpp.
int CDevice::getDefCANBaudRate | ( | int | iModuleId, |
unsigned char * | pucValue | ||
) |
Definition at line 352 of file Device.cpp.
int CDevice::getDefConfig | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 280 of file Device.cpp.
int CDevice::getDefCurOffset | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 452 of file Device.cpp.
int CDevice::getDefCurRatio | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 472 of file Device.cpp.
int CDevice::getDefDamp | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 593 of file Device.cpp.
int CDevice::getDefDioData | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 532 of file Device.cpp.
int CDevice::getDefGearRatio | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 412 of file Device.cpp.
int CDevice::getDefHomeOffset | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 613 of file Device.cpp.
int CDevice::getDefHomeVel | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 633 of file Device.cpp.
int CDevice::getDefIncPerTurn | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 512 of file Device.cpp.
int CDevice::getDefLinearRatio | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 432 of file Device.cpp.
int CDevice::getDefMaxAcc | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 713 of file Device.cpp.
int CDevice::getDefMaxCur | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 733 of file Device.cpp.
int CDevice::getDefMaxDeltaPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 753 of file Device.cpp.
int CDevice::getDefMaxPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 673 of file Device.cpp.
int CDevice::getDefMaxVel | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 693 of file Device.cpp.
int CDevice::getDefMinPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 653 of file Device.cpp.
int CDevice::getDefRSBaudRate | ( | int | iModuleId, |
unsigned char * | pucValue | ||
) |
Definition at line 372 of file Device.cpp.
int CDevice::getDefSetup | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 300 of file Device.cpp.
int CDevice::getDeltaPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1094 of file Device.cpp.
int CDevice::getDeltaPosInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1346 of file Device.cpp.
int CDevice::getDioData | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 853 of file Device.cpp.
int CDevice::getHMaxCurOvershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2220 of file Device.cpp.
int CDevice::getHomeOffset | ( | int | iModuleId, |
float * | pValue | ||
) |
Definition at line 793 of file Device.cpp.
int CDevice::getHomeOffsetInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 813 of file Device.cpp.
int CDevice::getHomeVel | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1420 of file Device.cpp.
int CDevice::getHomeVelInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1452 of file Device.cpp.
int CDevice::getIncRatio | ( | int | iModuleId, |
float * | pValue | ||
) |
Definition at line 833 of file Device.cpp.
bool CDevice::getInitFlag | ( | ) |
gets the init flag
Definition at line 139 of file Device.cpp.
const char * CDevice::getInitString | ( | ) |
gets the init string of the device
Definition at line 154 of file Device.cpp.
int CDevice::getIPolVel | ( | int | iModuleId, |
float * | pValue | ||
) |
Definition at line 1166 of file Device.cpp.
int CDevice::getKpPWMLimit | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2252 of file Device.cpp.
int CDevice::getLoadDeltaTime | ( | int | iModuleId, |
unsigned short * | piValue | ||
) |
Definition at line 1708 of file Device.cpp.
int CDevice::getLoadLimit | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1644 of file Device.cpp.
int CDevice::getLogicOvershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2092 of file Device.cpp.
int CDevice::getLogicSupply | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1836 of file Device.cpp.
int CDevice::getLogicUndershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2060 of file Device.cpp.
int CDevice::getMaxAcc | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1054 of file Device.cpp.
int CDevice::getMaxAccInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1326 of file Device.cpp.
int CDevice::getMaxCur | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1074 of file Device.cpp.
int CDevice::getMaxDeltaPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1114 of file Device.cpp.
int CDevice::getMaxDeltaPosInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1366 of file Device.cpp.
int CDevice::getMaximumMotorCurrent | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 2028 of file Device.cpp.
int CDevice::getMaxLoadGradient | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1676 of file Device.cpp.
int CDevice::getMaxLogicVoltage | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1900 of file Device.cpp.
int CDevice::getMaxMotorVoltage | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1964 of file Device.cpp.
int CDevice::getMaxPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1013 of file Device.cpp.
int CDevice::getMaxPosInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1286 of file Device.cpp.
int CDevice::getMaxPWMOutput | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2316 of file Device.cpp.
int CDevice::getMaxVel | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1034 of file Device.cpp.
int CDevice::getMaxVelInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1306 of file Device.cpp.
int CDevice::getMinLogicVoltage | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1868 of file Device.cpp.
int CDevice::getMinMotorVoltage | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1932 of file Device.cpp.
int CDevice::getMinPos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 993 of file Device.cpp.
int CDevice::getMinPosInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1266 of file Device.cpp.
int CDevice::getModuleCount | ( | void | ) |
gets the number of modules of the device
Definition at line 164 of file Device.cpp.
int CDevice::getModuleIdMap | ( | std::vector< int > & | raiModuleId | ) |
gets the module ID map of the open device
Definition at line 176 of file Device.cpp.
int CDevice::getModuleSerialNo | ( | int | iModuleId, |
unsigned long * | puiValue | ||
) |
Definition at line 259 of file Device.cpp.
int CDevice::getModuleState | ( | int | iModuleId, |
unsigned long * | puiState | ||
) |
Definition at line 192 of file Device.cpp.
int CDevice::getModuleType | ( | int | iModuleId, |
unsigned char * | pucValue | ||
) |
Definition at line 212 of file Device.cpp.
int CDevice::getModuleVersion | ( | int | iModuleId, |
unsigned short * | puiValue | ||
) |
Definition at line 239 of file Device.cpp.
int CDevice::getMotorCurrent | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1740 of file Device.cpp.
int CDevice::getMotorOvershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2156 of file Device.cpp.
int CDevice::getMotorSupply | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1772 of file Device.cpp.
int CDevice::getMotorUndershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2124 of file Device.cpp.
const char * CDevice::getName | ( | ) |
gets the name string of the open device
Definition at line 149 of file Device.cpp.
int CDevice::getNomCurOvershootTime | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 2188 of file Device.cpp.
int CDevice::getNominalMotorCurrent | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1996 of file Device.cpp.
int CDevice::getPos | ( | int | iModuleId, |
float * | pfPos | ||
) |
Definition at line 933 of file Device.cpp.
int CDevice::getPosCountInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1186 of file Device.cpp.
int CDevice::getPosInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1206 of file Device.cpp.
int CDevice::getRawLogicSupply | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1612 of file Device.cpp.
int CDevice::getRawMotorCurrent | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1516 of file Device.cpp.
int CDevice::getRawMotorSupply | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1548 of file Device.cpp.
int CDevice::getRawTemperature | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1580 of file Device.cpp.
const char * CDevice::getRevision | ( | ) |
gets the revision string of the class
Definition at line 144 of file Device.cpp.
int CDevice::getSavePos | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1134 of file Device.cpp.
int CDevice::getStateDioPos | ( | int | iModuleId, |
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 1386 of file Device.cpp.
int CDevice::getStateInternal | ( | int | iModuleId, |
unsigned long * | pBytes | ||
) |
Definition at line 4778 of file Device.cpp.
int CDevice::getSyncTime | ( | int | iModuleId, |
short * | piValue | ||
) |
Definition at line 1484 of file Device.cpp.
int CDevice::getTemperature | ( | int | iModuleId, |
float * | pfValue | ||
) |
Definition at line 1804 of file Device.cpp.
virtual int CDevice::getUnsignedLong | ( | int | iModuleId, |
unsigned long * | puiData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
int CDevice::getVel | ( | int | iModuleId, |
float * | pfVel | ||
) |
Definition at line 953 of file Device.cpp.
int CDevice::getVelInc | ( | int | iModuleId, |
long * | piValue | ||
) |
Definition at line 1226 of file Device.cpp.
int CDevice::haltAll | ( | void | ) |
Definition at line 4665 of file Device.cpp.
int CDevice::haltModule | ( | int | iModuleId | ) |
Definition at line 3859 of file Device.cpp.
int CDevice::homeAll | ( | void | ) |
Definition at line 4639 of file Device.cpp.
int CDevice::homeModule | ( | int | iModuleId | ) |
Definition at line 3839 of file Device.cpp.
virtual int CDevice::init | ( | ) | [pure virtual] |
Implemented in CRS232Device, CESDDevice, CPCanDevice, and CCP5X11Device.
virtual int CDevice::init | ( | const char * | acInitString | ) | [pure virtual] |
Implemented in CRS232Device, CESDDevice, CPCanDevice, and CCP5X11Device.
virtual int CDevice::initDLR_FTS | ( | ) | [pure virtual] |
Implemented in CProtocolDevice.
int CDevice::moveCur | ( | int | iModuleId, |
float | fCur | ||
) |
Definition at line 4001 of file Device.cpp.
int CDevice::moveCurExtended | ( | int | iModuleId, |
float | fCur, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 4217 of file Device.cpp.
int CDevice::moveCurInc | ( | int | iModuleId, |
long | iCur | ||
) |
Definition at line 4103 of file Device.cpp.
int CDevice::movePos | ( | int | iModuleId, |
float | fPos | ||
) |
Definition at line 3939 of file Device.cpp.
int CDevice::movePosExtended | ( | int | iModuleId, |
float | fPos, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 4143 of file Device.cpp.
int CDevice::movePosInc | ( | int | iModuleId, |
long | iPos | ||
) |
Definition at line 4041 of file Device.cpp.
int CDevice::moveRamp | ( | int | iModuleId, |
float | fPos, | ||
float | fVel, | ||
float | fAcc | ||
) |
Definition at line 3959 of file Device.cpp.
int CDevice::moveRampExtended | ( | int | iModuleId, |
float | fPos, | ||
float | fVel, | ||
float | fAcc, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 4167 of file Device.cpp.
int CDevice::moveRampInc | ( | int | iModuleId, |
long | iPos, | ||
long | iVel, | ||
long | iAcc | ||
) |
Definition at line 4061 of file Device.cpp.
int CDevice::moveStep | ( | int | iModuleId, |
float | fPos, | ||
unsigned short | uiTime | ||
) |
Definition at line 4021 of file Device.cpp.
int CDevice::moveStepExtended | ( | int | iModuleId, |
float | fPos, | ||
unsigned short | uiTime, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 4241 of file Device.cpp.
int CDevice::moveStepInc | ( | int | iModuleId, |
long | iPos, | ||
unsigned short | uiTime | ||
) |
Definition at line 4123 of file Device.cpp.
int CDevice::moveVel | ( | int | iModuleId, |
float | fVel | ||
) |
Definition at line 3981 of file Device.cpp.
int CDevice::moveVelExtended | ( | int | iModuleId, |
float | fCur, | ||
unsigned long * | puiState, | ||
unsigned char * | pucDio, | ||
float * | pfPos | ||
) |
Definition at line 4193 of file Device.cpp.
int CDevice::moveVelInc | ( | int | iModuleId, |
long | iVel | ||
) |
Definition at line 4083 of file Device.cpp.
Definition at line 127 of file Device.cpp.
virtual int CDevice::readChar | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
char * | pcData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readFloat | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float * | pfData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readFloatUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float * | pfData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readLong | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long * | piData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readLongUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long * | piData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
short * | piData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readUnsignedChar | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned char * | pucData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readUnsignedLong | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned long * | puiData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::readUnsignedShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned short * | puiData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
int CDevice::recalcPIDParams | ( | int | iModuleId | ) |
Definition at line 3899 of file Device.cpp.
virtual int CDevice::reinit | ( | unsigned char | ucBaudRateId | ) | [protected, pure virtual] |
Implemented in CProtocolDevice, CRS232Device, CESDDevice, CPCanDevice, and CCP5X11Device.
int CDevice::resetAll | ( | void | ) |
Definition at line 4652 of file Device.cpp.
int CDevice::resetModule | ( | int | iModuleId | ) |
Definition at line 3879 of file Device.cpp.
int CDevice::saveParameters | ( | int | iModuleId | ) |
Definition at line 3919 of file Device.cpp.
int CDevice::savePosAll | ( | void | ) |
Definition at line 4718 of file Device.cpp.
int CDevice::serveWatchdogAll | ( | void | ) |
Definition at line 4678 of file Device.cpp.
int CDevice::setA0 | ( | int | iModuleId, |
short | iValue | ||
) |
Definition at line 2444 of file Device.cpp.
int CDevice::setBaudRateAll | ( | unsigned char | ucBaudRateId | ) |
Definition at line 4691 of file Device.cpp.
int CDevice::setC0 | ( | int | iModuleId, |
short | iValue | ||
) |
Definition at line 2464 of file Device.cpp.
int CDevice::setConfig | ( | int | iModuleId, |
unsigned long | puiValue | ||
) |
Definition at line 2364 of file Device.cpp.
int CDevice::setCurrentLimit | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3764 of file Device.cpp.
int CDevice::setDamp | ( | int | iModuleId, |
short | iValue | ||
) |
Definition at line 2484 of file Device.cpp.
int CDevice::setDefAddress | ( | int | iModuleId, |
unsigned char | uiValue | ||
) |
Definition at line 3220 of file Device.cpp.
int CDevice::setDefBrakeTimeOut | ( | int | iModuleId, |
unsigned short | uiValue | ||
) |
Definition at line 3188 of file Device.cpp.
int CDevice::setDefCANBaudRate | ( | int | iModuleId, |
unsigned char | uiValue | ||
) |
Definition at line 3252 of file Device.cpp.
int CDevice::setDefCurRatio | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3060 of file Device.cpp.
int CDevice::setDefGearRatio | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2996 of file Device.cpp.
int CDevice::setDefHomeAcc | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3092 of file Device.cpp.
int CDevice::setDefIncPerTurn | ( | int | iModuleId, |
unsigned long | uiValue | ||
) |
Definition at line 3156 of file Device.cpp.
int CDevice::setDefLinRatio | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3028 of file Device.cpp.
int CDevice::setDefRSBaudRate | ( | int | iModuleId, |
unsigned char | uiValue | ||
) |
Definition at line 3284 of file Device.cpp.
int CDevice::setDefSetup | ( | int | iModuleId, |
unsigned long | uiValue | ||
) |
Definition at line 3316 of file Device.cpp.
int CDevice::setDioData | ( | int | iModuleId, |
unsigned long | uiValue | ||
) |
Definition at line 2424 of file Device.cpp.
int CDevice::setHMaxCurOvershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3700 of file Device.cpp.
int CDevice::setHomeOffset | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2384 of file Device.cpp.
int CDevice::setHomeOffsetInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2404 of file Device.cpp.
int CDevice::setHomeVel | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2724 of file Device.cpp.
int CDevice::setHomeVelInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2756 of file Device.cpp.
virtual int CDevice::setInitMP55_IO_fast | ( | int | iModuleId | ) | [pure virtual] |
Implemented in CProtocolDevice.
void CDevice::setInitString | ( | const char * | acInitString | ) |
Definition at line 2359 of file Device.cpp.
int CDevice::setKpPWMLimit | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3732 of file Device.cpp.
int CDevice::setLoadDeltaTime | ( | int | iModuleId, |
unsigned short | iValue | ||
) |
Definition at line 2964 of file Device.cpp.
int CDevice::setLoadLimit | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2900 of file Device.cpp.
int CDevice::setLogicOvershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3572 of file Device.cpp.
int CDevice::setLogicUndershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3540 of file Device.cpp.
int CDevice::setMaxAcc | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2564 of file Device.cpp.
int CDevice::setMaxAccInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2684 of file Device.cpp.
int CDevice::setMaxCur | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2584 of file Device.cpp.
int CDevice::setMaxDeltaPos | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2604 of file Device.cpp.
int CDevice::setMaxDeltaPosInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2704 of file Device.cpp.
int CDevice::setMaximumMotorCurrent | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3508 of file Device.cpp.
int CDevice::setMaxLoadGradient | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2932 of file Device.cpp.
int CDevice::setMaxLogicVoltage | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3380 of file Device.cpp.
int CDevice::setMaxMotorVoltage | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3444 of file Device.cpp.
int CDevice::setMaxPos | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2524 of file Device.cpp.
int CDevice::setMaxPosInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2644 of file Device.cpp.
int CDevice::setMaxVel | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2544 of file Device.cpp.
int CDevice::setMaxVelInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2664 of file Device.cpp.
int CDevice::setMinLogicVoltage | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3348 of file Device.cpp.
int CDevice::setMinMotorVoltage | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3412 of file Device.cpp.
int CDevice::setMinPos | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2504 of file Device.cpp.
int CDevice::setMinPosInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2624 of file Device.cpp.
int CDevice::setModuleSerialNo | ( | int | iModuleId, |
unsigned long | uiValue | ||
) |
Definition at line 3124 of file Device.cpp.
int CDevice::setMotorOvershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3636 of file Device.cpp.
int CDevice::setMotorUndershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3604 of file Device.cpp.
void CDevice::setName | ( | const char * | acNameString | ) |
sets the baud rate of the device
Definition at line 2354 of file Device.cpp.
int CDevice::setNomCurOvershootTime | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 3668 of file Device.cpp.
int CDevice::setNominalMotorCurrent | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 3476 of file Device.cpp.
virtual int CDevice::setNullSCHUNK_FTC | ( | int | iModuleId, |
short * | piState | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
int CDevice::setRampAcc | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2828 of file Device.cpp.
int CDevice::setRampAccInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2848 of file Device.cpp.
int CDevice::setRampVel | ( | int | iModuleId, |
float | fValue | ||
) |
Definition at line 2788 of file Device.cpp.
int CDevice::setRampVelInc | ( | int | iModuleId, |
long | iValue | ||
) |
Definition at line 2808 of file Device.cpp.
int CDevice::setSyncTime | ( | int | iModuleId, |
short | iValue | ||
) |
Definition at line 2868 of file Device.cpp.
virtual int CDevice::setTaraMP55_IO | ( | int | iModuleId, |
float | fTara | ||
) | [pure virtual] |
Implemented in CProtocolDevice.
int CDevice::startMotionAll | ( | void | ) |
Definition at line 4705 of file Device.cpp.
int CDevice::updateModuleIdMap | ( | ) |
Definition at line 3807 of file Device.cpp.
int CDevice::waitForHomeEnd | ( | int | iModuleId, |
unsigned long | uiTimeOut = 60000 |
||
) |
Definition at line 4270 of file Device.cpp.
int CDevice::waitForHomeEndAll | ( | unsigned long | uiTimeOut = 60000 | ) |
Definition at line 4490 of file Device.cpp.
int CDevice::waitForMotionEnd | ( | int | iModuleId, |
unsigned long | uiTimeOut = 60000 |
||
) |
Definition at line 4314 of file Device.cpp.
int CDevice::waitForMotionEndAll | ( | unsigned long | uiTimeOut = 60000 | ) |
Definition at line 4533 of file Device.cpp.
int CDevice::waitForRampDec | ( | int | iModuleId, |
unsigned long | uiTimeOut = 60000 |
||
) |
Definition at line 4402 of file Device.cpp.
int CDevice::waitForRampEnd | ( | int | iModuleId, |
unsigned long | uiTimeOut = 60000 |
||
) |
Definition at line 4358 of file Device.cpp.
int CDevice::waitForRampEndAll | ( | unsigned long | uiTimeOut = 60000 | ) |
Definition at line 4576 of file Device.cpp.
int CDevice::waitForRampSteady | ( | int | iModuleId, |
unsigned long | uiTimeOut = 60000 |
||
) |
Definition at line 4446 of file Device.cpp.
int CDevice::waitForStartMotionAll | ( | ) | [virtual] |
Reimplemented in CESDDevice, and CPCanDevice.
Definition at line 4619 of file Device.cpp.
virtual int CDevice::write8Bytes | ( | int | iModuleId, |
bool | ack, | ||
void * | pBytes | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeAll | ( | int | iCommandId, |
int | iParameterId | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeChar | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
char | cData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeCommand | ( | int | iModuleId, |
int | iCommandId | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeFloat | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float | fData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeFloatReadFloatUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float | fData, | ||
float * | pfData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeFloatShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float | fData, | ||
short | iTime | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeFloatShortReadFloatUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
float | fData, | ||
short | iData, | ||
float * | pfData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeLong | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long | iData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeLongReadLongUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long | iData, | ||
long * | piData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeLongShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long | iData, | ||
short | iTime | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeLongShortReadLongUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
long | iData1, | ||
short | iData2, | ||
long * | piData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
short | iData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeShortReadLongUnsignedChars | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
short | iData, | ||
long * | piData, | ||
unsigned char * | pucData1, | ||
unsigned char * | pucData2 | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeUnsignedChar | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned char | ucData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeUnsignedLong | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned long | uiData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
virtual int CDevice::writeUnsignedShort | ( | int | iModuleId, |
int | iCommandId, | ||
int | iParameterId, | ||
unsigned short | uiData | ||
) | [protected, pure virtual] |
Implemented in CProtocolDevice.
int CDevice::xack8Bytes | ( | int | iModuleId, |
void * | pBytes | ||
) |
Definition at line 4749 of file Device.cpp.
int CDevice::xmit8Bytes | ( | int | iModuleId, |
void * | pBytes | ||
) |
Definition at line 4736 of file Device.cpp.
char CDevice::m_acInitString[128] [protected] |
char CDevice::m_acName[128] [protected] |
char CDevice::m_acRevision[20] [protected] |
std::vector<int> CDevice::m_aiModuleId [protected] |
std::vector<unsigned short> CDevice::m_auiModuleVersion [protected] |
bool CDevice::m_bInitFlag [protected] |
CStopWatch CDevice::m_clTimer [protected] |
Reimplemented in CRS232Device, CProtocolDevice, and CCP5X11Device.
int CDevice::m_iBaudRate [protected] |
int CDevice::m_iErrorState [protected] |
int CDevice::m_iModuleCount [protected] |
int CDevice::m_iModuleCountMax [protected] |