DAS
3.1.6 - 18/09/2017
|
Execution functions for the DAS KeyWords. Inthis file are implemented all the functions executed by DAS when is executed in Automatic Mode (with a PRG driver file) More...
#include <windows.h>
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/timeb.h>
#include "mgui.h"
#include "DAS_Spatram.h"
#include "dcl.h"
#include "dil.h"
#include "dxl.h"
#include "wsc.h"
#include "bil.h"
Go to the source code of this file.
Functions | |
int | DB_StsMotor (int c) |
void | E_AAMeasure (void) |
perform measurements with the Alt Azimuth Platform perform measurements with the Alt Azimuth Platform positioning all the spectrometer devices More... | |
void | E_AAPos (void) |
alt Az Positioning. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform) More... | |
void | E_Almucantar (void) |
. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_AutoRange (void) |
Autoranging. Procedure for Autoranging. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Average (void) |
Averaged Measurements. Procedure for Averaged Measurements. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_AvgCCDHor (void) |
Averaged Horizontal Measurements. Procedure for Averaged Measurements with external lamp. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Azimuth (void) |
Position Azimuth Axis. More... | |
void | E_Calibra (void) |
Execute D_Calibra. D_Calibra is a procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512 All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_ChkExLamp (void) |
void | E_Dark (void) |
Execute Dark Measurement. Procedure for Dark Measurement. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_DFMeasure (void) |
Perform Measurement setting the ND Filter Wheel also. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_DirectSun (void) |
. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_Expo (void) |
Exposuring. Read the Exposure time from PRG file. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_ExtLampOFF (void) |
External lamp OFF. More... | |
void | E_ExtLampON (void) |
External lamp ON. More... | |
void | E_ExtShutClose (void) |
Close External Shutter. More... | |
void | E_ExtShutOpen (void) |
Open External Shutter. More... | |
void | E_Filter (void) |
Filter Wheel positioning. Procedure for Filter Wheel positioning. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_GetCCD (void) |
Get CCD. Execute DB_GetCCD. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Hg_Off (void) |
HG OFF. Hg lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Hg_On (void) |
HG ON. Hg lamp ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_HGratCal (void) |
Perform home grating and HG Calibration. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_HgScan (void) |
Check the full spectral range with HG ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM1 (void) |
Home for SM1. Set the reference position for Stepper motor 1 (Input Mirror). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM2 (void) |
Home for SM2. Set the reference position for Stepper motor 2 (Grating). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM3 (void) |
Home for SM3. Set the reference position for Stepper motor 3 (Filter Wheel). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM4 (void) |
Home for SM4. Set the reference position for Stepper motor 4 (Neutral density filter wheel). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM5 (void) |
Home for SM5. Set the reference position for Stepper motor 5 (MIGE Zenith). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
int | E_Home_SM6 (void) |
Home for SM6. Set the reference position for Stepper motor 6 (MIGE Azimuth). All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_IRefSun (void) |
Io Measured near the sun. This procedure carries out a measurements for the reference spectrum used in DOAS analysis, with the alt Azimut platfor pointing the sun. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform) More... | |
void | E_Label (void) |
labeling. The text after the key-word is a label. All the E_xxxxx() function are used during the execution in PRG mode More... | |
void | E_Lambda (void) |
Lambda Reading. When the WAVELEN key-word is encountred in the PRG file, the Wavelength code from PRG file is read and the grating is positioned. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Meashor (void) |
perform horizontal measurements (3) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) 3) measurement without the external lamp (exposure time recalculated) More... | |
void | E_Meashor2 (void) |
perform horizontal measurements (2) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) More... | |
void | E_Measure (void) |
Perform Measurement. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Mirror (void) |
Inpot Mirror positioning. Procedure for Input mirror positioning. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_NDFilter (void) |
Set ND Filter. Set ND Filter All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Plot (void) |
Plot Spectrum. Plot Spectrum. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Qj_Off (void) |
Qj OFF. QJ - Halogen - lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Qj_On (void) |
Qj ON. QJ - Halogen - lamp ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_QjScan (void) |
Check the full spectral range with QJ ON. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Radio (void) |
Radiometric Measurements. Procedure for Radiometric Measurements. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_REM (void) |
Flush string since the Carriege Return. Procedure for flushing the readed string since the Carriege Return. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Save (void) |
Save Image. Procedure for saving image or data. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDOffSet (void) |
Set the CCD Offst (only for HIRES-V. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDPow (void) |
Set CCD Power. Set CCD Power. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDTemp (void) |
Set CCD Temp. Set CCD Temp. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_SetCCDVBin (void) |
Set CCD Vert Binn. Set CCD Vert Binn. All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_WAIT (void) |
Delay Procedure. sleep the program . All the E_xxxxx() function are used during the execution in PRG mode. More... | |
void | E_Zenith (void) |
Position Zenith Axis. More... | |
int | ExtLamp (int mod) |
change the status of the external lamp change the status of the external lamp (ON or OFF) through a radio signal controlled by the AMS output port (bit 7) NOTE - This feature is not used!!!!!! More... | |
int | ExtShutt (int mod) |
change the status of the external shutter change the status of the external shutter (OPEN or CLOSED) through a radio signal controlled by the AMS output port (bit 6) More... | |
void | PerformMeas (int mod, int ar, double te, int mt, int sv, int pl) |
Perform Averaged or single measurements. More... | |
void | quick (unsigned *elemento, int conta) |
void | Radio (int g) |
NOT Used . More... | |
Variables | |
das | DAS |
DXL_par | DXL |
int | ExeREM |
flag | FLAG |
int | FlagBarra = 0 |
double | FlagTExp = 1.0 |
char | NewDate [8] |
char | OldDate [8] |
omuthr | OMUTHR |
paramini | PARAM |
int | Total = 0 |
Progressive acquisition number for file (MAX defined = 50) More... | |
Execution functions for the DAS KeyWords. Inthis file are implemented all the functions executed by DAS when is executed in Automatic Mode (with a PRG driver file)
Definition in file Exec.c.
int DB_StsMotor | ( | int | c | ) |
Definition at line 785 of file Exec.c.
References DXL_par::add, DXL_par::bufrx, DXL_RxStr(), DXL_TxStr(), MLoopWhileEvents(), and STS0LEN.
void E_AAMeasure | ( | void | ) |
perform measurements with the Alt Azimuth Platform perform measurements with the Alt Azimuth Platform positioning all the spectrometer devices
Definition at line 997 of file Exec.c.
References optionini::avgautor, das::DOption, E_REM(), paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), optionini::measmode, das::Paramini, PerformMeas(), PrgCnt, Program, S_zenetr, SD_Azimuth(), SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), SD_Zenith(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_AAPos | ( | void | ) |
alt Az Positioning.
Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform)
Definition at line 893 of file Exec.c.
References E_REM(), PrgCnt, Program, and SD_Position().
Referenced by D_AutoExecution().
void E_Almucantar | ( | void | ) |
.
All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 1680 of file Exec.c.
References delay(), das::DOption, E_REM(), elev, paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), das::Paramini, PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_AutoRange | ( | void | ) |
Autoranging.
Procedure for Autoranging. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 342 of file Exec.c.
References AutoRange(), E_REM(), ExeREM, and Status().
Referenced by D_AutoExecution(), and Radio().
void E_Average | ( | void | ) |
Averaged Measurements.
Procedure for Averaged Measurements. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 612 of file Exec.c.
References E_REM(), ExeREM, LookforWl_X(), PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), and wl.
Referenced by D_AutoExecution().
void E_AvgCCDHor | ( | void | ) |
Averaged Horizontal Measurements.
Procedure for Averaged Measurements with external lamp. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 538 of file Exec.c.
References das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, LookforWl_X(), PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Azimuth | ( | void | ) |
Position Azimuth Axis.
Definition at line 1473 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Azimuth().
Referenced by D_AutoExecution().
void E_Calibra | ( | void | ) |
Execute D_Calibra.
D_Calibra is a procedure for the spectral calibration with HG lamp. Shift of HG spectral line at 4358.4 on pixel 512 All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 330 of file Exec.c.
References D_Calibra(), E_REM(), and ExeREM.
Referenced by D_AutoExecution().
void E_ChkExLamp | ( | void | ) |
Definition at line 1225 of file Exec.c.
References AutoRange(), E_REM(), ExeREM, ExtShutt(), flag::extshutter, and TExp.
Referenced by D_AutoExecution().
void E_Dark | ( | void | ) |
Execute Dark Measurement.
Procedure for Dark Measurement. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 279 of file Exec.c.
References img::DATE, DB_DefectPixCorr(), DC_GetCCD(), DI_Regen(), DI_ScanMaxMin(), DIL, das::DOption, E_REM(), ExeREM, GetDateTime(), img::High, img::IHigh, img::ILow, img::Imat, dil::Img, img::Low, image::Mat, optionini::pixcorr, Server, TExp, and img::TIME.
Referenced by D_AutoExecution().
void E_DFMeasure | ( | void | ) |
Perform Measurement setting the ND Filter Wheel also.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 911 of file Exec.c.
References optionini::avgautor, delay(), das::DOption, E_REM(), paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), optionini::measmode, das::Paramini, PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_PosOMUDev(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_DirectSun | ( | void | ) |
.
All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 1596 of file Exec.c.
References delay(), das::DOption, E_REM(), elev, paramini::EqType, ExeREM, FDOUBLE, optionini::filtertype, FPLUS, LookforWl_X(), das::Paramini, PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), SD_Position(), optionini::smposmode, SPATRAM2, SPATRAM3, SPATRAMPLUS, and wl.
Referenced by D_AutoExecution().
void E_Expo | ( | void | ) |
Exposuring.
Read the Exposure time from PRG file. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 365 of file Exec.c.
References E_REM(), PrgCnt, Program, and Status().
Referenced by D_AutoExecution().
void E_ExtLampOFF | ( | void | ) |
External lamp OFF.
Definition at line 66 of file Exec.c.
References E_REM(), ExeREM, flag::extlamp, and ExtLamp().
Referenced by D_AutoExecution().
void E_ExtLampON | ( | void | ) |
External lamp ON.
Definition at line 54 of file Exec.c.
References E_REM(), ExeREM, flag::extlamp, and ExtLamp().
Referenced by D_AutoExecution().
void E_ExtShutClose | ( | void | ) |
Close External Shutter.
Definition at line 91 of file Exec.c.
References E_REM(), ExeREM, ExtShutt(), and flag::extshutter.
Referenced by D_AutoExecution().
void E_ExtShutOpen | ( | void | ) |
Open External Shutter.
Definition at line 79 of file Exec.c.
References E_REM(), ExeREM, ExtShutt(), and flag::extshutter.
Referenced by D_AutoExecution().
void E_Filter | ( | void | ) |
Filter Wheel positioning.
Procedure for Filter Wheel positioning. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 761 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_FilterW().
Referenced by D_AutoExecution().
int E_GetCCD | ( | void | ) |
Get CCD.
Execute DB_GetCCD. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 705 of file Exec.c.
References DB_GetCCD(), E_REM(), ExeREM, and Status().
Referenced by D_AutoExecution(), and Radio().
void E_Hg_Off | ( | void | ) |
HG OFF.
Hg lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 255 of file Exec.c.
References E_REM(), ExeREM, and HgLamp().
Referenced by D_AutoExecution(), and E_HgScan().
void E_Hg_On | ( | void | ) |
HG ON.
Hg lamp ON. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 246 of file Exec.c.
References E_REM(), ExeREM, and HgLamp().
Referenced by D_AutoExecution(), and E_HgScan().
void E_HGratCal | ( | void | ) |
Perform home grating and HG Calibration.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1488 of file Exec.c.
References D_Calibra(), ExeREM, HomeGratingFast(), and Status().
Referenced by D_AutoExecution().
void E_HgScan | ( | void | ) |
Check the full spectral range with HG ON.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1504 of file Exec.c.
References AutoRange(), D_Plot(), DB_GetCCD(), das::DOption, E_Hg_Off(), E_Hg_On(), ExeREM, FDOUBLE, optionini::filtertype, das::Flag, FPLUS, flag::plotW, SaveCalib(), SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM1 | ( | void | ) |
Home for SM1.
Set the reference position for Stepper motor 1 (Input Mirror). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 111 of file Exec.c.
References flag::ADPC104, flag::ADTempTest, E_REM(), ExeREM, GRAT_TASK_TIME, ids::GRATHOME, HomeMirror(), IDS, MRefreshTimeout(), MRemoveTimeout(), Status(), and Task_HomeGrat().
Referenced by D_AutoExecution().
int E_Home_SM2 | ( | void | ) |
Home for SM2.
Set the reference position for Stepper motor 2 (Grating). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 139 of file Exec.c.
References E_REM(), ExeREM, HomeGratingFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM3 | ( | void | ) |
Home for SM3.
Set the reference position for Stepper motor 3 (Filter Wheel). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 154 of file Exec.c.
References AMS2, AMS_MotorOn_Off(), E_REM(), ExeREM, HomeFiltersFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM4 | ( | void | ) |
Home for SM4.
Set the reference position for Stepper motor 4 (Neutral density filter wheel). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 209 of file Exec.c.
References AMS2, AMS_Default(), DB_InitAMS(), DB_KB_ButtonActive(), E_REM(), ExeREM, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, Status(), stepm::step, and das::StepM.
Referenced by D_AutoExecution().
int E_Home_SM5 | ( | void | ) |
Home for SM5.
Set the reference position for Stepper motor 5 (MIGE Zenith). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 168 of file Exec.c.
References E_REM(), ExeREM, HomeZenithFast(), and Status().
Referenced by D_AutoExecution().
int E_Home_SM6 | ( | void | ) |
Home for SM6.
Set the reference position for Stepper motor 6 (MIGE Azimuth). All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 182 of file Exec.c.
References AMS3, AMS_Default(), DB_InitAMS(), DB_KB_ButtonActive(), E_REM(), ExeREM, stepm::power, stepm::slope, stepm::SM_A, stepm::SM_B, stepm::speed, Status(), stepm::step, and das::StepM.
Referenced by D_AutoExecution().
void E_IRefSun | ( | void | ) |
Io Measured near the sun.
This procedure carries out a measurements for the reference spectrum used in DOAS analysis, with the alt Azimut platfor pointing the sun. Available for SPATRAMPLUS and TROPOGAS (with the AltAzPlatform)
Definition at line 845 of file Exec.c.
References das::DOption, E_REM(), elev, ExeREM, LookforWl_X(), PerformMeas(), PrgCnt, Program, S_azim, S_zenetr, SD_Azimuth(), SD_FilterW(), SD_Grating(), SD_Mirror(), SD_Position(), SD_Zenith(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Label | ( | void | ) |
labeling.
The text after the key-word is a label. All the E_xxxxx() function are used during the execution in PRG mode
Definition at line 745 of file Exec.c.
References E_REM(), PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_Lambda | ( | void | ) |
Lambda Reading.
When the WAVELEN key-word is encountred in the PRG file, the Wavelength code from PRG file is read and the grating is positioned. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 718 of file Exec.c.
References E_REM(), ExeREM, LookforWl_X(), PrgCnt, Program, SD_Grating(), and wl.
Referenced by D_AutoExecution().
void E_Meashor | ( | void | ) |
perform horizontal measurements (3) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1) 3) measurement without the external lamp (exposure time recalculated)
Definition at line 1280 of file Exec.c.
References D_Plot(), D_Saving(), DB_GetCCD(), das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, das::Flag, LookforWl_X(), PerformMeas(), flag::plotW, PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Meashor2 | ( | void | ) |
perform horizontal measurements (2) 1) measurement with external lamp 2) measurement without the external lamp (same exposure time than 1)
Definition at line 1370 of file Exec.c.
References D_Plot(), D_Saving(), DB_GetCCD(), das::DOption, E_REM(), ExeREM, ExtShutt(), flag::extshutter, das::Flag, LookforWl_X(), PerformMeas(), flag::plotW, PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Measure | ( | void | ) |
Perform Measurement.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1060 of file Exec.c.
References optionini::avgautor, das::DOption, E_REM(), ExeREM, LookforWl_X(), optionini::measmode, PerformMeas(), PrgCnt, Program, SD_FilterW(), SD_Grating(), SD_Mirror(), SD_PosOMUDev(), optionini::smposmode, and wl.
Referenced by D_AutoExecution().
void E_Mirror | ( | void | ) |
Inpot Mirror positioning.
Procedure for Input mirror positioning. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 773 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Mirror().
Referenced by D_AutoExecution().
void E_NDFilter | ( | void | ) |
Set ND Filter.
Set ND Filter All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 429 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_NDFilterW().
Referenced by D_AutoExecution().
void E_Plot | ( | void | ) |
Plot Spectrum.
Plot Spectrum. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 237 of file Exec.c.
References E_REM(), ExeREM, and ViewPlot().
Referenced by D_AutoExecution().
void E_Qj_Off | ( | void | ) |
Qj OFF.
QJ - Halogen - lamp OFF. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 271 of file Exec.c.
References E_REM(), ExeREM, and QjLamp().
Referenced by D_AutoExecution(), and E_QjScan().
void E_Qj_On | ( | void | ) |
Qj ON.
QJ - Halogen - lamp ON. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 263 of file Exec.c.
References E_REM(), ExeREM, and QjLamp().
Referenced by D_AutoExecution(), and E_QjScan().
void E_QjScan | ( | void | ) |
Check the full spectral range with QJ ON.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 1548 of file Exec.c.
References AutoRange(), D_Plot(), DB_GetCCD(), das::DOption, E_Qj_Off(), E_Qj_On(), ExeREM, FDOUBLE, optionini::filtertype, das::Flag, FPLUS, flag::plotW, SaveCalib(), SaveCnt, SD_FilterW(), SD_FNTorqueM(), SD_Grating(), SD_Mirror(), SD_NDFilterW(), and Status().
Referenced by D_AutoExecution().
void E_Radio | ( | void | ) |
Radiometric Measurements.
Procedure for Radiometric Measurements. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 684 of file Exec.c.
References E_REM(), ExeREM, p, PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_REM | ( | void | ) |
Flush string since the Carriege Return.
Procedure for flushing the readed string since the Carriege Return. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 47 of file Exec.c.
References ExeREM, PrgCnt, and Program.
Referenced by D_AutoExecution(), D_Measure(), E_AAMeasure(), E_AAPos(), E_Almucantar(), E_AutoRange(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_Calibra(), E_ChkExLamp(), E_Dark(), E_DFMeasure(), E_DirectSun(), E_Expo(), E_ExtLampOFF(), E_ExtLampON(), E_ExtShutClose(), E_ExtShutOpen(), E_Filter(), E_GetCCD(), E_Hg_Off(), E_Hg_On(), E_Home_SM1(), E_Home_SM2(), E_Home_SM3(), E_Home_SM4(), E_Home_SM5(), E_Home_SM6(), E_IRefSun(), E_Label(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Plot(), E_Qj_Off(), E_Qj_On(), E_Radio(), E_Save(), E_SetCCDOffSet(), E_SetCCDPow(), E_SetCCDTemp(), E_SetCCDVBin(), E_WAIT(), and E_Zenith().
void E_Save | ( | void | ) |
Save Image.
Procedure for saving image or data. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 355 of file Exec.c.
References D_Saving(), E_REM(), and ExeREM.
Referenced by D_AutoExecution(), and Radio().
void E_SetCCDOffSet | ( | void | ) |
Set the CCD Offst (only for HIRES-V.
All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 394 of file Exec.c.
References DC_SetUsrGain(), E_REM(), das::Marconi, marconi::Offset, PrgCnt, Program, and Status().
Referenced by D_AutoExecution().
void E_SetCCDPow | ( | void | ) |
Set CCD Power.
Set CCD Power. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 411 of file Exec.c.
References gui::ContrPanel, paramini::CoolPw, E_REM(), das::Gui, controlpanel::lbl_Par, MObjectSetText(), das::Paramini, PrgCnt, Program, omuthr::ReachTemp, and Status().
Referenced by D_AutoExecution().
void E_SetCCDTemp | ( | void | ) |
Set CCD Temp.
Set CCD Temp. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 375 of file Exec.c.
References gui::ContrPanel, DB_InitCamera(), E_REM(), das::Gui, paramini::ITemp, controlpanel::lbl_Par, MObjectSetText(), das::Paramini, PrgCnt, Program, omuthr::ReachTemp, and Status().
Referenced by D_AutoExecution().
void E_SetCCDVBin | ( | void | ) |
Set CCD Vert Binn.
Set CCD Vert Binn. All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 446 of file Exec.c.
References DB_InitCamera(), E_REM(), das::Paramini, PrgCnt, Program, Status(), and paramini::VBin.
Referenced by D_AutoExecution().
void E_WAIT | ( | void | ) |
Delay Procedure.
sleep the program . All the E_xxxxx() function are used during the execution in PRG mode.
Definition at line 731 of file Exec.c.
References E_REM(), MLoopWhileEvents(), PrgCnt, and Program.
Referenced by D_AutoExecution().
void E_Zenith | ( | void | ) |
Position Zenith Axis.
Definition at line 1461 of file Exec.c.
References E_REM(), ExeREM, PrgCnt, Program, and SD_Zenith().
Referenced by D_AutoExecution().
int ExtLamp | ( | int | mod | ) |
change the status of the external lamp change the status of the external lamp (ON or OFF) through a radio signal controlled by the AMS output port (bit 7) NOTE - This feature is not used!!!!!!
Definition at line 1117 of file Exec.c.
References AMS1, AMS_wopto(), delay(), stepm::OOP, and das::StepM.
Referenced by DB_HorComm_CB(), E_ExtLampOFF(), and E_ExtLampON().
int ExtShutt | ( | int | mod | ) |
change the status of the external shutter change the status of the external shutter (OPEN or CLOSED) through a radio signal controlled by the AMS output port (bit 6)
Definition at line 1155 of file Exec.c.
References AMS1, AMS2, AMS_wopto(), delay(), paramini::EqType, MMessageDialog(), stepm::OOP, das::Paramini, SPATRAM2, das::StepM, and TROPOGAS.
Referenced by DB_HorComm_CB(), E_AvgCCDHor(), E_ChkExLamp(), E_ExtShutClose(), E_ExtShutOpen(), E_Meashor(), and E_Meashor2().
void PerformMeas | ( | int | mod, |
int | ar, | ||
double | te, | ||
int | mt, | ||
int | sv, | ||
int | pl | ||
) |
Perform Averaged or single measurements.
mod |
|
ar |
|
te |
|
mt |
|
sv |
|
pl |
|
Definition at line 463 of file Exec.c.
References AutoRange(), D_Average(), D_Plot(), D_Saving(), DB_GetCCD(), das::Flag, flag::plotW, Status(), and TExp.
Referenced by E_AAMeasure(), E_Almucantar(), E_Average(), E_AvgCCDHor(), E_DFMeasure(), E_DirectSun(), E_IRefSun(), E_Meashor(), E_Meashor2(), and E_Measure().
void quick | ( | unsigned * | elemento, |
int | conta | ||
) |
void Radio | ( | int | g | ) |
NOT Used
.
Definition at line 650 of file Exec.c.
References E_AutoRange(), E_GetCCD(), and E_Save().
int ExeREM |
Definition at line 143 of file DAS_Spat.c.
Referenced by E_AAMeasure(), E_Almucantar(), E_AutoRange(), E_Average(), E_AvgCCDHor(), E_Azimuth(), E_Calibra(), E_ChkExLamp(), E_Dark(), E_DFMeasure(), E_DirectSun(), E_ExtLampOFF(), E_ExtLampON(), E_ExtShutClose(), E_ExtShutOpen(), E_Filter(), E_GetCCD(), E_Hg_Off(), E_Hg_On(), E_HGratCal(), E_HgScan(), E_Home_SM1(), E_Home_SM2(), E_Home_SM3(), E_Home_SM4(), E_Home_SM5(), E_Home_SM6(), E_IRefSun(), E_Lambda(), E_Meashor(), E_Meashor2(), E_Measure(), E_Mirror(), E_NDFilter(), E_Plot(), E_Qj_Off(), E_Qj_On(), E_QjScan(), E_Radio(), E_REM(), E_Save(), and E_Zenith().
double FlagTExp = 1.0 |
Definition at line 38 of file Exec.c.
Referenced by AutoR_TestMeas(), and AutoRange().
int Total = 0 |
Progressive acquisition number for file (MAX defined = 50)
Definition at line 34 of file Exec.c.
Referenced by D_Saving(), and SaveCalib().