The task

Navigation:  Example 4: Remote control by OLE automation >

The task

Previous pageReturn to chapter overviewNext page

This example shows how you can control SCOUT as OLE automation server from the outside. Using OLE automation you can save a lot of working steps if you have to process many spectra in always the same way. OLE automation is especially useful in combination with tables which store computed data like fit parameters or certain values of the spectra.

 

This example shows how you can create automatically a graph showing the angular dependence of the reflectivity of a layer stack. The automation controller is VisualBasic of Excel. A VisualBasic macro fills an Excel table with the spectral values for different angles of incidence and creates a 3D chart of the data.

 

For simplicity we are using here the same layer stack as in example 3.