HI_EDADebugCalcFunctionRec

HI_EDADebugCalcFunctionRec

%HI_EDADebugCalcFunctionRec function


Function

Function initiates debugging of execution of EDAL formula defined when calling the function.

Declaration

INT %HI_EDACalcFunctionRec( INT in _refId, INT in _vectorType, TEXT in _vectorBodyEDAL, TIME in _bt, TIME in _et, RECORD () in _params [, UNIVAL in _param1, ..., _paramN]) )

Parameters

_refId

Reference to displayer of EDADebugger type (reference variable).

_vectorType

Type of EDA vector. Only values that identify the calculated EDA vector are allowed (described in EDA System documentation – "EDA constants").

_vectorBodyEDAL

Value of TEXT type that contains correct EDAL formula.

_bt

Beginning of period for loading values.

_et

End of period for loading values.

_params

Structure of optional parameter of function.

_param1,..., _paramN

Optional parameters for calculated vector.

Description

Function initiates debugging of execution of EDAL formula defined when calling the function. Debugging is done in EDADebugger environment. It is executed in the context of some existent connection (EDA Server – EDA Client), which is selected by previous calling the function %HI_EDADebugOpen. Function does not wait for termination of calculation which was initiated by this function.

Content of optional parameter structure -  version 1

 

Parameter

Data type

Default

Description

1

structVersion

INT

 

Version of structure - 1.

2

cacheId

INT

0 (default read cache)

Identifier of cache. 

3

version

INT/TEXT

invalid (not defined)

Identifier (id/code) of version from which the reading should be performed. 

4

envName

TEXT

""

Name of EDA environment that will be used for calculation. 

5

isIntegral

BOOL

@FALSE

Flag of integrality of vector.

6

periodBeginTime

TIME

 

Begin time of vector step (for general periodic vectors).

7

periodStepBase

INT

0

Duration of basic step of periodic vector (for general periodic vectors).

8

periodStepCount

INT

0

Number of basic steps in one vector period (for general periodic vectors).

9

periodTimeZone

INT

-1

Offset of time zone of vector in seconds <-12*3600 .. 12*3600>. It must be a multiple of 3600 or -1 (-1 - it uses time zone of process).


The return value is _ERR_NO_ERROR after the operation has ended successfully.