Optical Spectroscopy Experimental Sequence
Run the Optical Spectroscopy standard technique by selecting the Named Script command under the Experiment menu in Gamry’s Framework™. Opening the OpticalSpectroscopy.exp file initiates the following sequence of events:
- The Framework creates a runner window, and the OpticalSpectroscopy.exp script is run in this window.
- The script creates the Setup dialog box and accepts changes in the parameters.
- The script obtains the use of the spectrometer, and opens the data file specified in the Output File parameter. The runner window's title reflects the output filename. If the spectrometer is in use or the file cannot be opened, the script returns to the setup dialog box. The file header information is written to the data file. This information is written to the file prior to data acquisition. If the experiment is aborted, the output file contains only this information. This header information includes: a. Tags identifying possible analyses; b. A list of setup parameters
- The measurement starts if Raw Counts is selected as Spectroscopy Type (skip to number 5). The Need to acquire Dark and Blank Spectra window appears if Absorbance or Transmittance is selected as Spectroscopy Type. You can decide if a dark and a blank spectrum should be recorded prior to the actual measurement:
a. If you click the OK button, the Acquire Dark Spectrum window appears.
By clicking OK again, a dark spectrum is recorded. The data of the dark spectrum are not saved. The Acquire Blank Spectrum window appears.
By clicking OK, a blank spectrum is recorded. The data of the blank spectrum are not saved. A Runtime Warning appears.
By clicking OK the actual measurement starts. The previously measured dark and blank spectra are automatically subtracted.
b. If you click the Cancel button, no dark or blank spectra are recorded. For the actual measurement, Raw Counts are measured and plotted versus wavelength.
- The acquired data are written to the output file and the script cleans up and halts. The script then waits for you to click the F2-Skip button. After you do so, the script closes everything that is open, including the runner window.