DAS  3.1.6 - 18/09/2017
DAS MAIN Graphic User Interface

The DAS GUI has been suffered many upgrades in the last years. DAS GUI Previous versions have less controls and different disposition of the main windows
The DAS main panel actually adopted is the one shown below.

DAS316_20160827.jpg
DAS 316 27/08/2016

From Left to Right can be identified 5 column forms:

  1. Push Buttons (Left Column)
  2. Optical Mechanical Unit (OMU) Parameters
  3. Optical Mechanical Unit (OMU) Status
  4. Optical Mechanical Unit (OMU) Status 1
  5. Push Buttons (Right Column)

And below the column forms there are:

  1. 1st Status Label
  2. 2st Status Label

More About

  1. DAS History.
  2. DAS GUI Previous versions
<CENTER>**********************************************************************</CENTER>
<CENTER>--------------- START LEFT PUSH BUTTONS SECTION   --------------------</CENTER>
<CENTER>**********************************************************************</CENTER>

Push Buttons (Left Column)

Commands

The commands in the first column provide mainly for the movements of the devices linked to the stepper motors.

Mirror

PB_Mirror.jpg

At the pression of the Mirror button the corresponding shell is created and the user can select the desired position for the mirror
Depending on the instrument type () a different shell is showed

DAS_SetMirror.jpg
Set Mirror GUI for LIS, SPATRAM, GASCODNGx
Position Code
Zenith 0
Horiz DX 1
Calibra 2
Horiz SX 3
"-------------------------------------------------------------------------"
DAS_SetMirrorTropo.jpg
Set Mirror GUI for TROPOGAS


Position Code
Calibra 0
Horiz DX 1
NULL 2
Horiz SX 3
Back to DAS MAIN Graphic User Interface
Back to mainpage
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"

Grating

PB_Grating.jpg

At the pression of the Grating button the corresponding shell is created and the user can select the desired position for the grating

DAS_SetWl.jpg
Position (A) Code Position (A) Code Position (A) Code
2823 0 3337 1 3850 2
4358 3 4861 4 5332 5
5814 6 6282 7 6734 8
7201 9 7677 10 8195

11

8622 12 9023 13 9405 14
9758 15 10066 16 10358 17


Until DAS306 the spectral windows were fixed and only with source code modifications should be possible to modify the Central Wavelength/steps and consequently the spectral windows of measurements.
Starting from DAS307 to DAS315 it is possible to modify the number of steps, but not the Central Wavelengths.
Moreover the Reference Position (4358 A, step = 0, with ID = 3) is fixed, forcing to have only 3 more window in the UV (2823, 3337, 3850).
With DAS316 and following, the Central wavelength and the steps can be modified In addition using the function LookforWl_X, it is now possible to assign the reference position 435.8 nm to any ID. If the reference position 4358 A, step = 0 has ID = 5,
I can Add 2 more spectral window in the UV region for example (2823, 3132, 3337, 3650, 3850).
This can be obtained:

After these modifications the windows for the wavelength positioning will be:

DAS_SetWl_Corr.jpg

Note the presence of the 2 new spectral windows centered in the 3132 and 3650A.

NOTE 1 - the 435.8 has to have step = 0 and the steps towards the UV must be negative (towards the visible positive)
NOTE 2 - The step values listed in the wlstep file, are NOT the real steps executed by the grating stepper motors, since the steps have been parametrized in order to allow for the modification of the motor settings (AMS Steps/round) without any change in the wlstep file. The parametrization take into account the capabilities of the AMS2 (Advanced Micro Stepping) Controller to apply the microstepping technology. The DAS encoding procedure is located in the SD_Grating function. Also the mechanical reduction (mr=4) of the grating positioning device is taken into account.
In practice:

\[ StepsExec(t(i)) = StepF * (AMS_StepR(t(i))/3200)* mr \]

with:

In the table below is reported an example with StepF = 12180 as read in the wlsteps.ini file

i t AMS_StepR(t) NormFac AMS_StepR(t)/NormFac mr StepF StepsExec(t)
0 2 400 3200 0.125 4 12180 6090
1 4 800 3200 0.25 4 12180 12180
2 5 1000 3200 0.3125 4 12180 15525
3 8 1600 3200 0.5 4 12180 24360
4 10 3000 3200 0.625 4 12180 30450
5 16 3200 3200 1.0 4 12180 48720
6 25 5000 3200 1.5625 4 12180 76125
7 32 6400 3200 2 4 12180 97440
8 50 10000 3200 3.125 4 12180 152250
9 64 12800 3200 4.0 4 12180 194880
10 125 25000 3200 7.8125 4 12180 380625
11 128 25600 3200 8.0 4 12180 389760
12 250 51000 3200 15.625 4 12180 761250
13 256 51200 3200 16.0 4 12180 779520

For more info and options please refer to MvGrat

Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Filter Wheel

PB_Filter.jpg

At the pression of the Filter button the corresponding shell is created and the user can select the desired position for the Filter Wheel

DAS_SetFilter.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Neutral Density Filters

PB_NDFilter.jpg

Depending on the Filter module installed on the instrument this push button presents different behaviors:

SET_ND_Filter.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

MIGE Pos

PB_MIGEpos.jpg



DAS_MIGE_Move.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

- Reference position

PB_RefPos.jpg
Reference position

Pushing the button the reference position shell is displayd,

SetHomePos.jpg
Reference position Shell

At the selection of one of the device, its the reference position is reached. The Devices are:

- Fan ECU

Switch on/off the electronic fans (available only on GASCODNG1 instrument (in Antarctica).

PB_FECUOff.jpg
Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

SPARE

Available for future improvements.

PB_Spare.jpg




Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

H_Mir

PB_hmir.jpg

At the pression of the H_Mirr button the reference position for the input mirror is reached

SB_MirrorHome.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

H_Grat

PB_hgrat.jpg



At the pression of the H_Grat button the reference position for the grating is reached

SB_GratHome.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

H_Filter

PB_hfilt.jpg



At the pression of the H_Filter button the reference position for the Filter Wheel is reached

SB_FilterHome.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

H_Zenith

PB_hzen.jpg

At the pression of the H_Zenith button the reference position for the Zenith Axis is reached

SB_Filterzen.jpg
Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

H_Azim

PB_hazim.jpg

At the pression of the H_Azim button the reference position for the Azimut Axis is reached

SB_Filteraz.jpg
Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

MvGrat

PB_MvGrat.jpg


The MOVE GRATING tool allow for the movement of the grating towards the UV or Visible directions of a free number of steps or (approximatively) of the typed wavelengths (A) The different options are:

This tool can be used in order to determine the steps the motor of the grating has to perform to reach a specified position.
To semplify this operation the 2 commands READ Grat. Steps and ZERO Grat. Steps in the Tools, can be used.

DAS_MvGrat.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Sim.Pos.

PB_SimPos.jpg


With this window is possible to set the position of the different device of the instrument

SetDevPos.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Horiz M

PB_HorizMeas.jpg



Create a new Window for the horizontal measurements (available only for old realise of GASCODNG1)

HorizMeasShell.jpg


Back to DAS MAIN Graphic User Interface
Back to main
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**********************************************************************
------------— END LEFT PUSH BUTTONS SECTION -----------------—
**********************************************************************

Optical Mechanical Unit (OMU) Parameters

The DAS frame OMU Parameters contains informations loaded at the Booting of DAS from the Param.ini and AMS.INI files.

CCD PARAMETRS: Horizontal and Vertical pixels of the CCD sensor (this information is retrieved directly from the DCL Library

DAS_col2.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Optical Mechanical Unit (OMU) Status

DAS_col3full.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Optical Mechanical Unit (OMU) Status 1

DAS_col4.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Push Buttons (Right Column)

**********************************************************************
------------— START RIGHT PUSH BUTTONS SECTION -----------------—
**********************************************************************

The second column of commands provide mainly for the measurements

  1. Calib - Spectral calibration (D_Calibra)
  2. Arange - Computation of the optimum Exposure Time(AutoRange)
  3. GetCCD - Acquisition of the image (single measurement) (DB_GetCCD)
  4. Average - Acquisition of the image (multiple measurements) (D_Average)
  5. Dark - Acquisition of the DARK image (DB_GetCCD)
  6. Save - Saving the measured spectrum (D_Saving)
  7. PLOT - Plots the spectrum (ViewPlot)
    PB_Right.jpg
  8. ZOOM - Zoom of the image (DI_Lens)
  9. P X Off - X Profile Active\Inactive (D_XProfile)
  10. P Y Off - X Profile Active\Inactive (D_YProfile)
  11. About - The About window is displayed(AboutCB)
  12. Pause - Pause\Resume the PRG file in execution (DB_Pause)
  13. Tools - The tool keyboard is displayed (DB_Tools)
  14. Quit - Show the ShutDown window (ShutDOWN)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Calib

PB_Calib.jpg


Perform the spectral calibration at 435.8 nm with the internal HG spectral lamp
The calibration procedure provide the positioning the HG spectral line in the centre (512 +/ 1 pixel) of the CCD sensor.
If the grating position is not the default for calibration (435.8 nm) DAS aware of this situation and the window below is shown.

DAS_Calibration.jpg

The user can choose to:

Arange

PB_Arange.jpg


The autoranging procedure is one of the most important DAS's functions since it calculate the optimum exposure time for the measurements in order to:

The autoranging procedure can calculate the optimal exposure time with or without the shutter installed.
With the Shutter system installed and until realise 3.1.5 the Exposure Time (TExp) is calculated with a very simple and empirical formula:

\[ TExp = \frac{LEVEL * TExpAR} {Max(TExpAR) - Min(TExpAR)} \]

with:

The previous expression is valid mainly for measurements of spectral lamp radiation where the the difference between Max and Min is very high due to the presence of the spectral lines. For measurements of scattered solar radiation and for the different offsets of the CCDs Equipping the Instrument maneged with DAS, additional terms has to be sometimes added or subtracted to the previous equation.
The procedure can be summarized with:
After the first measurement with the TExpAR exposure time, the obtained signal is checked:


If the shutter is not installed the minimum exposure time depends on the CCD Reading Time (RT). This last is function of the binning parameters and for the HIRES_IV CCD driver, it can be calculated according to the formula:

\[ RT = \frac{vp}{vb}·Kv + \frac{vp}{vb}·\frac{hp}{hb}·Kh \]

where:

For High values of Vertical Binning RT is very short (i.e for VertBin of41-the maximum supported by HiRESIV-RT is less than 0.09 sec) therefore the excess of signal due to the over-exposition of the sensor can be neglected.
Therefore, for measurements without the shutter installed, the minimum exposure time (TEexpMin ) allowed is depending mainly on the vertical binning and on the radiatin flux. The TExpMin is fixed as the double of the RT

\[ TExpMin = 2 * (\frac{vp}{vb}·Kv + \frac{vp}{vb}·\frac{hp}{hb}·Kh) \]

This approach is still under testing phase, so to obtain the best results it is still advisable the use of the equipment with the shutter installed.
One of the factors manly affecting the autoranging procedure is the type of shutter used to carry out the spectral measurements. At the beginning of the equipment development the Uniblitz mod.:VS25 shuttering system was adopted. This is a very fast system (the opening and closing phases of about 5ms each one) allowing for the neglection of the influence of the signal received by the CCD during the transient periods. The main problem with the VS25 is the limitation of 1.000.000 (un million) of ensured shuts. Taking into account the high frequency of the measurements, (the one million of shuts are reached in 2 months of instrument 12h operation) it was necessary to change the shuttering system.
Two new shutter systems were developed:

The studies on the capabilities and on the behaviour of the VS25 and ROTSHUT systems suggested the implementation of a new Autoranging procedure. The procedure implemented and used starting from DAS 3.1.6, is based on the linearity of the CCD charge with exposure time according to the formula:

\[ Y = m·X \]

where:

since m is:

\[ m = \frac{Y2 - Y1}{X2 - X1} \]

the exposure time TExp can be calculated according to the formula:

\[ TExp = LEVEL ·\frac{TExpAR - TExpMin}{Max(TExpAR) - Max(TExpMin)} \]

where:

The new autoranging procedure (adopted for DAS316 ) can be summarized with:


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

GetCCD

PB_GetCCD.jpg


DAS_DownloadLight.jpg


Perform a single measurements for the specified exposure time

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Average

PB_Average.jpg


Perform an averaged measurement.
Following what is setted in the DAS_Config–>Option–>Page1–>AVERAGING section, the averaging can be executed with different options:
Automatic Autoranging

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Dark

PB_Dark.jpg


Get a dark image for the specified exposure time

DAS_DownloadDark.jpg


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Save

PB_Save.jpg


Save the spectral measurement on the PC.
The format and location of the svaed measurements depend on the SAVING option in DAS Config–> Options - Page 1 .

PLOT

PB_Plot.jpg


DAS plots the last acquired spectrum

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ZOOM

PB_Zoom.jpg


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

P X Off

PB_pxoff.jpg



PB_pxon.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

P Y Off

PB_pyoff.jpg



PB_pyon.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

About

PB_About.jpg



DAS_About.jpg


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Pause

PB_Pause.jpg


PB_resume.jpg


Status_pause.jpg


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Tools

The Tool keybord is partially greyed since some of the function are currently on progress.

PB_Tools.jpg


The available buttons allows for some additional commands:

DAS_ToolsKeyB.jpg


NOTE - Even if the Browser open by the Load PRG let to load also files with different extensions (modifying the filter *.PRG) only the PRG files can be loaded and only when DAS is running in PRGFILE or MANUAL modes

DAS_ToolBrowser.png


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Quit

PB_Quit.jpg


Allows for the selection of quitting DAS:

1st Status Label

DAS_lblstatus1.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2st Status Label

DAS_lblstatus2.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

If the initialization of the CCD Camera give a positive result, also the CCD image and the CCD histogram are loaded

MarconiFullFrameSmall.jpg
CCD Image with Vertical binning = 1
histogramsmall.jpg
CCD Histogram

otherwhise a message error is displayed

errccd.jpg
CCD Error

Also the AMS devices are initialized and if they are not found a message dialog appears

errams1.jpg
AMS1 Error
errams2.jpg
AMS2 Error

Finally the AD_Converter (the PC104) is initalized and if there are problems a message dialog appears

errad.jpg
Ad Error
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

DAS History.

The main features of the implementation of DAS are listed

DAS GUI Previous versions

DASMainPanel.jpg
DAS 2.8.3
DASMainPanel_KeyBv105.jpg
DAS 1.0.5
DASMPKeyb.jpg
DAS 2.6.1
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:01 for DAS - Rel. 3.1.6 - 18/09/2017.