FindStar

Scripting ›› FocusControl ›› Methods ››
Parent Previous Next

FindStar


Method

FindStar () as Boolean


Syntax

FocusMax.FocusControl.FindStar


Parameters

None


Returns

True if start is successful.


Remarks

Starts the Find Star operation and returns when FindStar is complete. This looks for the brightest star on the CCD, finds its StarXCenter, StarYCenter, then takes a SingleExpose of SingleExposeFrameWidth at the star coordinates, and finally measures and updates the HalfFluxDiameter Property. If the star cannot be found this Method sets HalfFluxDiameter = 0. This Method has the same effect as if the user clicked the Find button on the Focus Tab.

Note that the FindStar may take many seconds and your script will not progress beyond FindStar until the operation is complete. Use FindStarAsync to get immediate return to your script, which allows parallel operation with your script.