MaxA_DPS_Functions

Previous  Next

 

This file contains constants, global variables and functions used for processing the data.  Some of these functions require you to implement callbacks otherwise your script will fail.

 

MaxA DPS Functions

 

DECLARE FUNCTION dps_Initialize( hMAO AS HANDLE, hFSL AS HANDLE, hDDL as HANDLE, nAnalType AS INTEGER ) AS HANDLE

Initialize the DPS variables and return the handle to TOP.  The handles to MAO, FSL and DDL are passed to this function.  The analysis type is passed as an integer and can be one of NT_XY or NT_XT.

 

DECLARE SUB dps_SetTitle( hMAO AS HANDLE, hFSL AS HANDLE, hDDL as HANDLE, nAnalType AS INTEGER )

Set the Title of graphs and Tables.  The handles to MAO, FSL and DDL are passed to this function.

 

DECLARE FUNCTION dps_Magnitude( hMAO AS HANDLE, hFSL AS HANDLE, hDDL as HANDLE, hTOP AS HANDLE ) AS INTEGER

Calculate the magnitude of current data set and set data type to DATA_1D.  The handles to MAO, FSL and DDL are passed to this function.

 

Callback Functions that must exist

 

DECLARE SUB OnSetTitle( hMAO AS HANDLE, hFSL AS HANDLE, hDDL as HANDLE, nView AS INTEGER, nDataType AS INTEGER )

Called to allow you to override the default graph/Report title.  The handles to MAO, FSL and DDL are passed to this function as well as the view and data type. 

Defined views and data types

VIEW_XY

VIEW_YZ

VIEW_XZ

VIEW_XT

VIEW_YT

VIEW_ZT

DATA_1D

DATA_2D

DATA_3D

 

Global Properties

'

DIM g_nFrames     AS INTEGER

DIM g_nFrameRate  AS INTEGER

DIM g_nPoints     AS INTEGER

DIM g_nStartFrame AS INTEGER

DIM g_nEndFrame   AS INTEGER

DIM g_nDataType   AS INTEGER

DIM g_strSection  AS STRING