#pragma once ////////////////////////////////////////////////////////////////////// // // HAL_Optics.h : interface for the Optics related functions // ////////////////////////////////////////////////////////////////////// HAL_STATUS HAL_Optics_IsSupported(UINT &Type); HAL_STATUS HAL_Optics_Startup( COpticalCalibrationData *OptCalData); HAL_STATUS HAL_Optics_GetScalePosition(long &Actual); HAL_STATUS HAL_Optics_SetScalePosition(long TargetScalePosition, bool bWait); HAL_STATUS HAL_Optics_GetScaleRange(long &ScaleMin, long &ScaleMax); HAL_STATUS HAL_Optics_EnableGrid(bool bEnable); HAL_STATUS HAL_Optics_IsGridEnabled(bool &bEnabled); HAL_STATUS HAL_Optics_EnableLaser(bool bEnable); HAL_STATUS HAL_Optics_IsLaserEnabled(bool &bEnabled); HAL_STATUS HAL_Optics_Shutdown(void);