forked from epics_driver_modules/motorBase
Replaced with XPS_C8_drivers.cpp and XPS_C8_drivers.h
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,153 +0,0 @@
|
||||
/* ///////////////////////////////////////////////////////////////////
|
||||
// Created header file api.h for API headings
|
||||
/ */
|
||||
|
||||
|
||||
#ifdef WINDOWS /* Copied from old version*/
|
||||
#ifndef DLL
|
||||
#define DLL _declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define __stdcall
|
||||
#define DLL
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
DLL int __stdcall TCP_ConnectToServer(char *Ip_Address, int Ip_Port, double TimeOut);
|
||||
DLL void __stdcall TCP_SetTimeout(int SocketIndex, double Timeout);
|
||||
DLL void __stdcall TCP_CloseSocket(int SocketIndex);
|
||||
DLL char * __stdcall TCP_GetError(int SocketIndex);
|
||||
DLL char * __stdcall GetLibraryVersion(void);
|
||||
DLL int __stdcall ElapsedTimeGet (int SocketIndex, double * ElapsedTime);
|
||||
DLL int __stdcall ErrorStringGet (int SocketIndex, int ErrorCode, char * ErrorString);
|
||||
DLL int __stdcall FirmwareVersionGet (int SocketIndex, char * Version);
|
||||
DLL int __stdcall TCLScriptExecute (int SocketIndex, char * TCLFileName, char * TaskName, char * ParametersList);
|
||||
DLL int __stdcall TCLScriptKill (int SocketIndex, char * TaskName);
|
||||
DLL int __stdcall TimerGet (int SocketIndex, char * TimerName, int * FrequencyTicks);
|
||||
DLL int __stdcall TimerSet (int SocketIndex, char * TimerName, int FrequencyTicks);
|
||||
DLL int __stdcall Reboot (int SocketIndex);
|
||||
DLL int __stdcall EventAdd (int SocketIndex, char * PositionerName, char * EventName, char * EventParameter, char * ActionName, char * ActionParameter1, char * ActionParameter2, char * ActionParameter3);
|
||||
DLL int __stdcall EventGet (int SocketIndex, char * PositionerName, char * EventsAndActionsList);
|
||||
DLL int __stdcall EventRemove (int SocketIndex, char * PositionerName, char * EventName, char * EventParameter);
|
||||
DLL int __stdcall EventWait (int SocketIndex, char * PositionerName, char * EventName, char * EventParameter);
|
||||
DLL int __stdcall GatheringConfigurationGet (int SocketIndex, char * Type);
|
||||
DLL int __stdcall GatheringConfigurationSet (int SocketIndex, int NbElements, char * TypeList);
|
||||
DLL int __stdcall GatheringCurrentNumberGet (int SocketIndex, int * CurrentNumber, int * MaximumSamplesNumber);
|
||||
DLL int __stdcall GatheringStopAndSave (int SocketIndex);
|
||||
DLL int __stdcall GatheringExternalConfigurationSet (int SocketIndex, int NbElements, char * TypeList);
|
||||
DLL int __stdcall GatheringExternalConfigurationGet (int SocketIndex, char * Type);
|
||||
DLL int __stdcall GatheringExternalCurrentNumberGet (int SocketIndex, int * CurrentNumber, int * MaximumSamplesNumber);
|
||||
DLL int __stdcall GatheringExternalStopAndSave (int SocketIndex);
|
||||
DLL int __stdcall GlobalArrayGet (int SocketIndex, int Number, char * ValueString);
|
||||
DLL int __stdcall GlobalArraySet (int SocketIndex, int Number, char * ValueString);
|
||||
DLL int __stdcall GPIOAnalogGet (int SocketIndex, int NbElements, char * GPIONameList, double AnalogValue[]);
|
||||
DLL int __stdcall GPIOAnalogSet (int SocketIndex, int NbElements, char * GPIONameList, double AnalogOutputValue[]);
|
||||
DLL int __stdcall GPIOAnalogGainGet (int SocketIndex, int NbElements, char * GPIONameList, int AnalogInputGainValue[]);
|
||||
DLL int __stdcall GPIOAnalogGainSet (int SocketIndex, int NbElements, char * GPIONameList, int AnalogInputGainValue[]);
|
||||
DLL int __stdcall GPIODigitalGet (int SocketIndex, char * GPIOName, unsigned short * DigitalValue);
|
||||
DLL int __stdcall GPIODigitalSet (int SocketIndex, char * GPIOName, unsigned short Mask, unsigned short DigitalOutputValue);
|
||||
DLL int __stdcall GroupAnalogTrackingModeEnable (int SocketIndex, char * GroupName, char * Type);
|
||||
DLL int __stdcall GroupAnalogTrackingModeDisable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupHomeSearch (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupHomeSearchAndRelativeMove (int SocketIndex, char * GroupName, int NbElements, double TargetDisplacement[]);
|
||||
DLL int __stdcall GroupInitialize (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupJogParametersSet (int SocketIndex, char * GroupName, int NbElements, double Velocity[], double Acceleration[]);
|
||||
DLL int __stdcall GroupJogParametersGet (int SocketIndex, char * GroupName, int NbElements, double Velocity[], double Acceleration[]);
|
||||
DLL int __stdcall GroupJogCurrentGet (int SocketIndex, char * GroupName, int NbElements, double Velocity[], double Acceleration[]);
|
||||
DLL int __stdcall GroupJogModeEnable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupJogModeDisable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupKill (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupMoveAbort (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupMoveAbsolute (int SocketIndex, char * GroupName, int NbElements, double TargetPosition[]);
|
||||
DLL int __stdcall GroupMoveRelative (int SocketIndex, char * GroupName, int NbElements, double TargetDisplacement[]);
|
||||
DLL int __stdcall GroupMotionDisable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupMotionEnable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall GroupPositionCurrentGet (int SocketIndex, char * GroupName, int NbElements, double CurrentEncoderPosition[]);
|
||||
DLL int __stdcall GroupPositionSetpointGet (int SocketIndex, char * GroupName, int NbElements, double SetPointPosition[]);
|
||||
DLL int __stdcall GroupPositionTargetGet (int SocketIndex, char * GroupName, int NbElements, double TargetPosition[]);
|
||||
DLL int __stdcall GroupStatusGet (int SocketIndex, char * GroupName, int * Status);
|
||||
DLL int __stdcall GroupStatusStringGet (int SocketIndex, int GroupStatusCode, char * GroupStatusString);
|
||||
DLL int __stdcall KillAll (int SocketIndex);
|
||||
DLL int __stdcall PositionerAnalogTrackingPositionParametersGet (int SocketIndex, char * PositionerName, char * GPIOName, double * Offset, double * Scale, double * Velocity, double * Acceleration);
|
||||
DLL int __stdcall PositionerAnalogTrackingPositionParametersSet (int SocketIndex, char * PositionerName, char * GPIOName, double Offset, double Scale, double Velocity, double Acceleration);
|
||||
DLL int __stdcall PositionerAnalogTrackingVelocityParametersGet (int SocketIndex, char * PositionerName, char * GPIOName, double * Offset, double * Scale, double * DeadBandThreshold, int * Order, double * Velocity, double * Acceleration);
|
||||
DLL int __stdcall PositionerAnalogTrackingVelocityParametersSet (int SocketIndex, char * PositionerName, char * GPIOName, double Offset, double Scale, double DeadBandThreshold, int Order, double Velocity, double Acceleration);
|
||||
DLL int __stdcall PositionerBacklashGet (int SocketIndex, char * PositionerName, double * BacklashValue, char * BacklaskStatus);
|
||||
DLL int __stdcall PositionerBacklashSet (int SocketIndex, char * PositionerName, double BacklashValue);
|
||||
DLL int __stdcall PositionerBacklashEnable (int SocketIndex, char * PositionerName);
|
||||
DLL int __stdcall PositionerBacklashDisable (int SocketIndex, char * PositionerName);
|
||||
DLL int __stdcall PositionerCorrectorNotchFiltersSet (int SocketIndex, char * PositionerName, double NotchFrequency1, double NotchBandwith1, double NotchGain1, double NotchFrequency2, double NotchBandwith2, double NotchGain2);
|
||||
DLL int __stdcall PositionerCorrectorNotchFiltersGet (int SocketIndex, char * PositionerName, double * NotchFrequency1, double * NotchBandwith1, double * NotchGain1, double * NotchFrequency2, double * NotchBandwith2, double * NotchGain2);
|
||||
DLL int __stdcall PositionerCorrectorPIDFFAccelerationSet (int SocketIndex, char * PositionerName, int ClosedLoopStatus, double KP, double KI, double KD, double KS, double IntegrationTime, double DerivativeFilterCutOffFrequency, double GKP, double GKI, double GKD, double KForm, double FeedForwardGainAcceleration);
|
||||
DLL int __stdcall PositionerCorrectorPIDFFAccelerationGet (int SocketIndex, char * PositionerName, int * ClosedLoopStatus, double * KP, double * KI, double * KD, double * KS, double * IntegrationTime, double * DerivativeFilterCutOffFrequency, double * GKP, double * GKI, double * GKD, double * KForm, double * FeedForwardGainAcceleration);
|
||||
DLL int __stdcall PositionerCorrectorPIDFFVelocitySet (int SocketIndex, char * PositionerName, int ClosedLoopStatus, double KP, double KI, double KD, double KS, double IntegrationTime, double DerivativeFilterCutOffFrequency, double GKP, double GKI, double GKD, double KForm, double FeedForwardGainVelocity);
|
||||
DLL int __stdcall PositionerCorrectorPIDFFVelocityGet (int SocketIndex, char * PositionerName, int * ClosedLoopStatus, double * KP, double * KI, double * KD, double * KS, double * IntegrationTime, double * DerivativeFilterCutOffFrequency, double * GKP, double * GKI, double * GKD, double * KForm, double * FeedForwardGainVelocity);
|
||||
DLL int __stdcall PositionerCorrectorPIDDualFFVoltageSet (int SocketIndex, char * PositionerName, int ClosedLoopStatus, double KP, double KI, double KD, double KS, double IntegrationTime, double DerivativeFilterCutOffFrequency, double GKP, double GKI, double GKD, double KForm, double FeedForwardGainVelocity, double FeedForwardGainAcceleration, double Friction);
|
||||
DLL int __stdcall PositionerCorrectorPIDDualFFVoltageGet (int SocketIndex, char * PositionerName, int * ClosedLoopStatus, double * KP, double * KI, double * KD, double * KS, double * IntegrationTime, double * DerivativeFilterCutOffFrequency, double * GKP, double * GKI, double * GKD, double * KForm, double * FeedForwardGainVelocity, double * FeedForwardGainAcceleration, double * Friction);
|
||||
DLL int __stdcall PositionerCorrectorPIPositionSet (int SocketIndex, char * PositionerName, int ClosedLoopStatus, double KP, double KI, double IntegrationTime);
|
||||
DLL int __stdcall PositionerCorrectorPIPositionGet (int SocketIndex, char * PositionerName, int * ClosedLoopStatus, double * KP, double * KI, double * IntegrationTime);
|
||||
DLL int __stdcall PositionerCorrectorTypeGet (int SocketIndex, char * PositionerName, char * CorrectorType);
|
||||
DLL int __stdcall PositionerErrorGet (int SocketIndex, char * PositionerName, int * ErrorCode);
|
||||
DLL int __stdcall PositionerErrorStringGet (int SocketIndex, int PositionerErrorCode, char * PositionerErrorString);
|
||||
DLL int __stdcall PositionerHardwareStatusGet (int SocketIndex, char * PositionerName, int * HardwareStatus);
|
||||
DLL int __stdcall PositionerHardwareStatusStringGet (int SocketIndex, int PositionerHardwareStatus, char * PositonerHardwareStatusString);
|
||||
DLL int __stdcall PositionerHardInterpolatorFactorGet (int SocketIndex, char * PositionerName, int * InterpolationFactor);
|
||||
DLL int __stdcall PositionerHardInterpolatorFactorSet (int SocketIndex, char * PositionerName, int InterpolationFactor);
|
||||
DLL int __stdcall PositionerMotionDoneGet (int SocketIndex, char * PositionerName, double * PositionWindow, double * VelocityWindow, double * CheckingTime, double * MeanPeriod, double * TimeOut);
|
||||
DLL int __stdcall PositionerMotionDoneSet (int SocketIndex, char * PositionerName, double PositionWindow, double VelocityWindow, double CheckingTime, double MeanPeriod, double TimeOut);
|
||||
DLL int __stdcall PositionerPositionCompareGet (int SocketIndex, char * PositionerName, double * MinimumPosition, double * MaximumPosition, double * PositionStep, int * EnableState);
|
||||
DLL int __stdcall PositionerPositionCompareSet (int SocketIndex, char * PositionerName, double MinimumPosition, double MaximumPosition, double PositionStep);
|
||||
DLL int __stdcall PositionerPositionCompareEnable (int SocketIndex, char * PositionerName);
|
||||
DLL int __stdcall PositionerPositionCompareDisable (int SocketIndex, char * PositionerName);
|
||||
DLL int __stdcall PositionerPreviousMotionTimesGet (int SocketIndex, char * PositionerName, double * SettingTime, double * SettlingTime);
|
||||
DLL int __stdcall PositionerSGammaParametersGet (int SocketIndex, char * PositionerName, double * Velocity, double * Acceleration, double * MinimumTjerkTime, double * MaximumTjerkTime);
|
||||
DLL int __stdcall PositionerSGammaParametersSet (int SocketIndex, char * PositionerName, double Velocity, double Acceleration, double MinimumTjerkTime, double MaximumTjerkTime);
|
||||
DLL int __stdcall PositionerSGammaExactVelocityAjustedDisplacementGet (int SocketIndex, char * PositionerName, double DesiredDisplacement, double * AdjustedDisplacement);
|
||||
DLL int __stdcall PositionerUserTravelLimitsGet (int SocketIndex, char * PositionerName, double * UserMinimumTarget, double * UserMaximumTarget);
|
||||
DLL int __stdcall PositionerUserTravelLimitsSet (int SocketIndex, char * PositionerName, double UserMinimumTarget, double UserMaximumTarget);
|
||||
DLL int __stdcall MultipleAxesPVTVerification (int SocketIndex, char * GroupName, char * FileName);
|
||||
DLL int __stdcall MultipleAxesPVTVerificationResultGet (int SocketIndex, char * PositionerName, char * FileName, double * MinimumPosition, double * MaximumPosition, double * MaximumVelocity, double * MaximumAcceleration);
|
||||
DLL int __stdcall MultipleAxesPVTExecution (int SocketIndex, char * GroupName, char * FileName, int ExecutionNumber);
|
||||
DLL int __stdcall MultipleAxesPVTParametersGet (int SocketIndex, char * GroupName, char * FileName, int * CurrentElementNumber);
|
||||
DLL int __stdcall SingleAxisSlaveModeEnable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall SingleAxisSlaveModeDisable (int SocketIndex, char * GroupName);
|
||||
DLL int __stdcall SingleAxisSlaveParametersSet (int SocketIndex, char * GroupName, char * PositionerName, double Ratio);
|
||||
DLL int __stdcall SingleAxisSlaveParametersGet (int SocketIndex, char * GroupName, char * PositionerName, double * Ratio);
|
||||
DLL int __stdcall XYLineArcVerification (int SocketIndex, char * GroupName, char * FileName);
|
||||
DLL int __stdcall XYLineArcVerificationResultGet (int SocketIndex, char * PositionerName, char * FileName, double * MinimumPosition, double * MaximumPosition, double * MaximumVelocity, double * MaximumAcceleration);
|
||||
DLL int __stdcall XYLineArcExecution (int SocketIndex, char * GroupName, char * FileName, double Velocity, double Acceleration, int ExecutionNumber);
|
||||
DLL int __stdcall XYLineArcParametersGet (int SocketIndex, char * GroupName, char * FileName, double * Velocity, double * Acceleration, int * CurrentElementNumber);
|
||||
DLL int __stdcall XYZSplineVerification (int SocketIndex, char * GroupName, char * FileName);
|
||||
DLL int __stdcall XYZSplineVerificationResultGet (int SocketIndex, char * PositionerName, char * FileName, double * MinimumPosition, double * MaximumPosition, double * MaximumVelocity, double * MaximumAcceleration);
|
||||
DLL int __stdcall XYZSplineExecution (int SocketIndex, char * GroupName, char * FileName, double Velocity, double Acceleration);
|
||||
DLL int __stdcall XYZSplineParametersGet (int SocketIndex, char * GroupName, char * FileName, double * Velocity, double * Acceleration, int * CurrentElementNumber);
|
||||
DLL int __stdcall EEPROMCIESet (int SocketIndex, int CardNumber, char * ReferenceString);
|
||||
DLL int __stdcall EEPROMDACOffsetCIESet (int SocketIndex, int PlugNumber, double DAC1Offset, double DAC2Offset);
|
||||
DLL int __stdcall EEPROMDriverSet (int SocketIndex, int PlugNumber, char * ReferenceString);
|
||||
DLL int __stdcall EEPROMINTSet (int SocketIndex, int CardNumber, char * ReferenceString);
|
||||
DLL int __stdcall ActionListGet (int SocketIndex, char * ActionList);
|
||||
DLL int __stdcall APIExtendedListGet (int SocketIndex, char * Method);
|
||||
DLL int __stdcall APIListGet (int SocketIndex, char * Method);
|
||||
DLL int __stdcall ErrorListGet (int SocketIndex, char * ErrorsList);
|
||||
DLL int __stdcall EventListGet (int SocketIndex, char * EventList);
|
||||
DLL int __stdcall GatheringListGet (int SocketIndex, char * list);
|
||||
DLL int __stdcall GatheringExtendedListGet (int SocketIndex, char * list);
|
||||
DLL int __stdcall GatheringExternalListGet (int SocketIndex, char * list);
|
||||
DLL int __stdcall GroupStatusListGet (int SocketIndex, char * GroupStatusList);
|
||||
DLL int __stdcall HardwareInternalListGet (int SocketIndex, char * InternalHardwareList);
|
||||
DLL int __stdcall HardwareDriverAndStageGet (int SocketIndex, int PlugNumber, char * DriverName, char * StageName);
|
||||
DLL int __stdcall ObjectsListGet (int SocketIndex, char * ObjectsList);
|
||||
DLL int __stdcall PositionerErrorListGet (int SocketIndex, char * PositionerErrorList);
|
||||
DLL int __stdcall PositionerHardwareStatusListGet (int SocketIndex, char * PositionerHardwareStatusList);
|
||||
DLL int __stdcall GatheringUserDatasGet (int SocketIndex, double * UserData1, double * UserData2, double * UserData3, double * UserData4, double * UserData5, double * UserData6, double * UserData7, double * UserData8);
|
||||
DLL int __stdcall TestTCP (int SocketIndex, char * InputString, char * ReturnString);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user