#include opcapi.h
int opcif_write(
int interface_id, /* in */
const opcdata data /* in */
);
Parameters
Description
Use the function opcif_write()
to write a message
to the HPOM Interface.
Depending on the type of interface, the message is written into the message queue of the message agent.
This function can only be used for interfaces of the following types:
OPCSVIF_EXTAGT_MESSAGE
Return Values
OPC_ERR_OK:
OPC_ERR_CANT_INIT:
OPC_ERR_INVALID_INTERFACE_ID:
OPC_ERR_INVALID_OPCDATA_TYPE:
data
must be of type OPCDTYPE_MESSAGE
OPC_ERR_CANT_WRITE_MSG:
OPC_ERR_WRONG_MSITYPE:
Versions
HPOM for Windows A.07.50 and later
See Also