Get

Get 1:

As soon as bBusy is FALSE and if no error has occurred (bError = FALSE), this method can be used to get a result from the queried list.

Syntax

METHOD Get   : HRESULT
VAR_INPUT
    nIndex   : UDINT;
    fbDetail : REFERENCE TO FB_TcDetail;
END_VAR

Get 2: Inputs

Name

Type

Description

nIndex

UDINT

Index in the list of causes/remedy elements to be queried.

fbDetail

Reference to FB_TcDetail

Reference to an FB_TcDetail in which the details are stored.

Get 3: Outputs

Name

Type

Description

Get

HRESULT

S_OK on success

ADS_E_INVALIDSTATE if the query is still running.

ADS_E_INVALIDSIZE if an index is queried that is not assigned.