SingleExpose

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

SingleExpose


Method

SingleExpose ( ) as Boolean


Syntax

FocusMax.FocusControl.SingleExpose


Parameters

None


Returns

True if start is successful.


Remarks

Takes a Single Exposure and returns when the exposure is complete.

The exposure is taken at the current StarXCenter and StarYCenter with SingleExposeFrameWidth and it measures a new StarXCenter ,StarYCenter and HalfFluxDiameter.

If the star cannot be found this Method sets HalfFluxDiameter = 0. You can initially set the StarXCenter and StarYCenter values of the brightest star on the CCD with the FindStar or the Focus Methods.

This Method has the same effect as if the user clicked the Expose button on the Focus Tab.


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