| 0,0 → 1,98 |
| //============================================================================== |
| // |
| // Title: ThorlabsLTS.h |
| // Purpose: Header file |
| // |
| // Created on: 29.11.2014 at 20:51:03 by Samo Korpar. |
| // Copyright: . All Rights Reserved. |
| // |
| //============================================================================== |
| |
| #ifndef __ThorlabsLTS_H__ |
| #define __ThorlabsLTS_H__ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| //============================================================================== |
| // Include files |
| |
| #include <cvidef.h> |
| #include <ivi.h> |
| |
| //============================================================================== |
| // Constants |
| |
| //============================================================================== |
| // Types |
| |
| //============================================================================== |
| // External variables |
| |
| //============================================================================== |
| // Global functions |
| |
| |
| /* |
| int CVICALLBACK LTS_Timeout (int , int , int , void *, int , int ) ; |
| void LTS_Tmlnk (int); |
| void LTS_Tmulk (void); |
| void LTS_waitMove(int , int ); |
| void LTS_waitHome(int , int ); |
| int LTS_Init(int); |
| */ |
| |
| |
| int LTS_Open(); |
| |
| void LTS_Close(int); |
| |
| void LTS_Home(int, int); |
| |
| void LTS_StopProfiled(int); |
| |
| void LTS_MoveAbsolute(int, double, int); |
| |
| void LTS_MoveRelative(int, double, int); |
| |
| double LTS_GetPosition(int); |
| |
| unsigned int LTS_GetStatus(int i); |
| |
| int LTS_Enable(int ); |
| |
| int LTS_Disable(int ); |
| |
| int LTS_GetNumberPositions(int ); |
| |
| |
| void LTS_RegisterMessageCallback(int , void (* )()); |
| |
| /* |
| void LTS_GetRealValueFromDeviceUnit(int , int , double *, int ); |
| |
| void LTS_GetDeviceUnitFromRealValue(int , double , int *, int ); |
| |
| void LTS_waitHome(int , int ); |
| |
| void LTS_waitMove(int , int ); |
| |
| void LTS_SetStatus(int ); |
| |
| void CVICALLBACK EndOfThread ( CmtThreadPoolHandle , |
| CmtThreadFunctionID , unsigned int , |
| int , void *); |
| |
| int CVICALLBACK daq(void *); |
| |
| void MessageCB(); |
| |
| int CVICALLBACK TimerCB (int , int , int , void *, int , int ); |
| */ |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* ndef __ThorlabsLTS_H__ */ |