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 cause/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 | Returns S_OK if successful. ADS_E_INVALIDSTATE if the query is still running. ADS_E_INVALIDSIZE if an index is queried that is not assigned. |