AddScan:
--------------------------------------------------------------------------
Add a scan to the scan data structure array.
--------------------------------------------------------------------------
Form:
scan = AddScan( data, sensorType, sensorID, param, scan )
-------------------------------------------------------------------------
------
Inputs
------
data (.) Data
sensorType (1,1) Integer for the data type
sensorID (1,1) Integer for sensor ID
param (.) Parameter data structure
.hFun (1,:) Pointer to measurement function
.hData (.) Data structure for the measurement
function
scan (:) Scan data structure
-------
Outputs
-------
scan (:) Data structure array with new scan appended
.data (.) Data
.sensorType (1,1) Integer for data type
.sensorID (1,1) Integer for sensor ID
.param (1,1) Parameter data structure
--------------------------------------------------------------------------