Navigation: Introduction > Developing Study Formulas > Importing Study Formulas

Importing Study Formulas

Top  Previous  Next

There may be times when someone sends you a custom study formula that they developed and you will want to install that study formula in your copy of ScanExpert. Before you can install the study formula you will need to know:

 

The suggested name for this study formula;
The total number of input parameters;
The type of each input parameters (i.e., Integer, Double, etc.);
The total number of input streams.

 

Once you have this information (you should be able to get it from the person who developed the custom study in the first place) you can:

 

Save the study formula file that was sent to you in the ScanExpert Studies folder. Before you do this you may just want to take a quick look to be sure that the study formula filename does not conflict with any existing study formulas. If it does conflict, you can save this new study formula under a slightly different name.

 

Follow the steps in the Register a Study Formula section to add a function declaration for this new study formula in your functionsUser.pas configuration file, which will register the study formula with your copy of ScanExpert.

 

(Optional). Follow the steps in Add Parameter and Usage Information to create a help text block for this new study formula.

 

 

Note: Study formulas developed by others will have either a .pas file extension or a .dgx file extension. A file with the .pas extension is a standard ScanExpert source code file while one with a .dgx extension is a pre-compiled source code file. In either case, follow the instructions above to install the study formula in your system. The only difference between the two is that in the case of the .dgx file, you will not be able to actually view the source code for the study formula.