Get
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
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. |
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. |