Ace_Decoder_Decode_Version_Add()
Abstract
Adds a decoder version to the context information.
Syntax
Ace_Decoder_Decode_Version_Add (import_ptr, version_str)
| Argument | Type | Description |
|---|---|---|
import_ptr |
AceT_Import_Handle * |
Context information. |
version_str |
const char * |
Version text. |
Return Type
void
No return value.
Header
ace_client_api.h
Example
int
op_ip_ace_decoder_load (AceT_Import_Handle * import_ptr, void ** state_pptr)
{
...
FIN (op_ip_ace_decoder_load);
...
Ace_Decoder_Decode_Version_Add (import_ptr, OPC_IP_ATTRS_VERSION_2);
FRET (1);
}
Details
This function is used when dealing with a protocol with multiple versions.