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;
fbCauseRemedy : REFERENCE TO FB_TcCauseRemedy;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nIndex | UDINT | Index in the list of cause/remedy elements to be queried. |
fbCauseRemedy | Reference to FB_TcCauseRemedy | Reference to a FB_TcCauseRemedy in which the texts 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. |