GetRequestedHistoryError

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Theory > Postprocessing > Custom Postprocessing > Database Access Routines > Database Access Routines >

GetRequestedHistoryError

Previous pageNext page

Returns the type of error/errors that occured during the last call to GetRequestedHistory Function.

Syntax

Value = GetRequestedHistoryError( 

  ierror, 

  maxerrors, 

  errors)

 

Description of arguments

Argument

Description

ierror

Return value of GetRequestedHistory Function. Integer scalar (input)

maxerrors

Dimension of array errors. Integer scalar (input)

errors

Array holding flags to indicate if a particular error occured or not. Integer array of dimensions (maxerrors) (output).

0 – error did not occur

1 – error occured.

The items in the array are listed in the following order:


Index

Description


1

1st argument of GetRequestedHistory is not a number.


2

2nd argument of GetRequestedHistory is not a number.


3

3rd argument of GetRequestedHistory is not a number or is out of range.


4

4th argument of GetRequestedHistory is not a number or is out of range.


5

5th argument of GetRequestedHistory is not a number or is out of range.


6

6th argument of GetRequestedHistory is not a number or is out of range.


7

7th argument of GetRequestedHistory is not a number or is out of range.


8

8th argument of GetRequestedHistory is not a number or is out of range.


9

9th argument of GetRequestedHistory is not a number or is out of range.


10

Reserved.


11

11th argument of GetRequestedHistory: unknown label or unspecified label when both the node number is zero or not a number.


12

Requested output parameter is not in the database.


13

Requested node is not in the database.


14

Requested element is not in the database.


15

Could not read from database.

 

Return Value

Value

Description

-1

Failed. Return value of GetRequestedHistory (ierror) is negative

0

Successful.

A positive value

Failed – maxerrors is to small. Call the function again substituting the returned value of the function in variable maxerrors.