FindStarAsync

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

FindStarAsync


Method

FindStarAsync ( ) as Boolean


Syntax

FocusMax.FocusControl.FindStarAsync


Parameters

None


Returns

True if start is successful.


Remarks

Starts the Find Star operation and returns immediately. 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 FindStarAsync allows your script to be active during the Find Star operation, which may take many seconds. You may need to periodically check theFindStarAsyncStatus property to determine when the Find Star is complete. Use method FindStar when it is more convenient to simply stop the execution of your script until the Find Star is complete.