So the first order of business is to find out at which coordinates the Scan button is. However, this command needs an x and y coordinate (where to click). Switch GUIGetMsg() Case GUIEVENTCLOSE ExitLoop EndSwitch Sleep (50) limit the CPU load by restricting the number of GUIGetMsg calls per second WEnd AutoIt can send button presses by using the MouseClick command. To automate this we will need to have access to - programmatically press the Scan button - automatically determine when the previous scan is finished - have access to the serial port to send commands to the turntable We will do this using a tool called AutoIt Here is a basic AutoIt script that will do nothing but set up a window and a loop to check if it has been signaled to close: include Local hGUI GUICreate(DAVID Laserscanner 5 Turntable Automator,500,500) GUISetState(SWSHOW, hGUI) Display the GUI. David 3D Scanner Forum How To Get Your David 3D Scanner Forum Serial Port To
0 Comments
Leave a Reply. |