Overview

Navigation:  OLE automation >

Overview

Previous pageReturn to chapter overviewNext page

SPRAY is an OLE automation server that exports some parameters and actions for external control by OLE automation clients. This offers very high flexibility to users who are able to develop programs or macros. In fact, only little programming knowledge is required to perform useful SPRAY computations.

 

The examples discussed in the following are coded in Excel's VisualBasic. The combination of a spreadsheet program with tables and charts and a macro language doing the SPRAY control operations is very useful for SPRAY work. However, if you do not want to purchase a spreadsheet program you can also use the Windows Scripting Host (WSH, a free Windows tool by Microsoft) to run VisualBasic scripts. In addition, OLE servers can be addressed from LabView or any modern programming language like C++ or Delphi.

 

The following sections describe the OLE automation features of SPRAY:

 

Handling the OLE server

Simulation parameters

Object parameters

Retrieving results

Video generation