#include opcapi.h
int opcmsg (
const int severity, /* in */
const char * application, /* in */
const char * object, /* in */
const char * msg_text, /* in */
const char * msg_group, /* in */
const char * nodename, /* in */
);
Parameters
severity
The following severities are supported:
OPC_SEV_NORMAL
OPC_SEV_WARNING
OPC_SEV_MINOR
OPC_SEV_MAJOR
OPC_SEV_CRITICAL.
application
object
msg_text
msg_group
nodename
Description
Use the function opcmsg()
to send a message,
created on the managed node, to the management server. This
function does not return the message ID so that it is not possible
to acknowledge the message later, on the managed node.
Return Values
OPC_ERR_OK:
OPC_ERR_APPL_REQUIRED:
OPC_ERR_OBJ_REQUIRED:
OPC_ERR_TEXT_REQUIRED:
OPC_ERR_INVAL_SEVERITY:
OPC_ERR_MISC_NOT_ALLOWED:
OPC_ERR_NO_MEMORY:
Versions
HPOM for Windows A.06.00 and later
See Also