This code is a software interface for the Auto Guider System deployed at KTT, Kodaikanal which consists of two SPOT-2D sensors and two stepper motors. NI-DaQX Board is used as ADC to measure the output voltage from SPOT-2D sensors, stepper motors are controlled through a controller board that interacts with the PC using the serial port.
- Windows 7/8/10
- Micrsoft Visual Studio with C++
- NI DaQMX Library
- Jetbrains Clion
#Installation
- This is a cmake project, cmake build file is included, Clion should build this project automatically upon loading.
- Executable files will be found in the folder "cmake-build-debug".
#Running the code:
- Make sure the NI DaQ Board is connected and powered on.
- Analog input 1 and Analog Input 2 will be connected to DEC and RA channels respectively.
- It does not matter which channel is connected to which sensor as long as calibration is done accordingly.
- Make sure the motor controller is connected through serial port.
- Run the file FPVoltageController.
- The executable is self explanatory and asks for prompts.
- Please keep the image limb in outer segment of the sensors for best performance.