previous next Up Title Contents

Display_Signal


File name
GrSignalDisp.[cpp,h]


Description
This module allows the data held by an EarObject's output signal to be displayed. Programs may always include this module, however the signal display will only be produced if the program has been compiled using the CRL library with Graphics Support included.

The parameter file format for this module is very flexible. Only those parameters which require changing from the default need be include. These parameters as specified one per line with the format

"ParameterName value"

The parameters that can be changed using the parameter file are given below in table [4].

Table [4]

Parameter name
Description

Mode
Display mode: "Line" or "Raster"

NumGreyScales
Number og greay scales in "raster" mode

SignalYScale
The Y scale for the individual channels in "Line" mode.

Xresolution
Resolution of x points. The default is to plot as low a resolution as possible.

?? - output etc.



Example parameter file format

XResolution 	1.0	X axis resolution (fraction).
SignalYScale	1.5	Signal Y scale. 



Test program directory
Tests/ModelResp

Generic Module Routines

This module has the standard Generic Module Routines (see Basic Module Routines used in Generic Programming, page 52).

The ShowSignal_SignalDisp(...) Process Routine

Syntax
BOOLN RunModel_SignalDisp(EarObjectPtr data);


Returns
TRUE if the process is successful, otherwise it returns FALSE.

The SetDischargeCoeffC0_SignalDisp(...) Routine

Syntax
BOOLN SetDischargeCoeffC0_SignalDisp(double theDischargeCoeffC0);


Returns
TRUE if the function is successful, otherwise it returns FALSE.


previous next Up Title Contents