Script TheSky
Version 1.32
|
To obtain calibration results for the Camera or Autoguider, use the ccdsoftCamera::Autoguider property to control which one is desired, along with ccdsoftCamera::CalibrationVectorXPositiveXComponent(), ccdsoftCamera::CalibrationVectorXPositiveYComponent(), etc.
The ccdsoftCamera::CalibrationVectorXPositiveXComponent(), ccdsoftCamera::CalibrationVectorXPositiveYComponent(), etc. properties do not return values for the external SBIG CCD nor the SBIG AO as these must be obtained in a different manner.
To obtain calibration results for the SBIG external CCD, use the following (the example is in vbscript, but the arguments apply to all languages):
'Set Cam = CreateObject("TheSkyX.ccdsoftCamera") Set Cam = CreateObject("TheSky64.ccdsoftCamera") MsgBox Cam.PropDbl("m_CRExternalCCD.dDecAtCal") MsgBox Cam.PropDbl("m_CRExternalCCD.dPAAtCal") MsgBox Cam.PropLng("m_CRExternalCCD.nBeyondThePoleAtCal") MsgBox Cam.PropDbl("m_CRExternalCCD.vXPlus.dXComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vXPlus.dYComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vXMinus.dXComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vXMinus.dYComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vYPlus.dXComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vYPlus.dYComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vYMinus.dXComponent") MsgBox Cam.PropDbl("m_CRExternalCCD.vYMinus.dYComponent") MsgBox Cam.PropLng("m_CRExternalCCD.dwXSavedCalTime") MsgBox Cam.PropLng("m_CRExternalCCD.dwYSavedCalTime") MsgBox Cam.PropLng("m_CRExternalCCD.nSavedAOCalDeflection")
To obtain calibration results for the SBIG AO, simply replace 'm_CRExternalCCD' with 'm_AOCR' above.
Note that ccdsoftCamera::PropLng() and ccdsoftCamera::PropDbl() are used above depending on the variable type.