#include opcapi.h
int opcagtmon_send (
opcdata mon_msg /*
in */
);
Parameters
mon_msg
Description
Use the function opcagtmon_send()
to send a monitor
value, created on the managed node, to the monitor agent. The
mon_msg must be of type
OPCDTYPE_MONITOR_MESSAGE.
Only the message attributes Monitor Name, Monitor Value, Object
and Option String are used in opcagtmon_send()
.
Return Values
OPC_ERR_OK:
OPC_ERR_INVALID_INPARAM:
mon_msg
is NULLmon_msg
is not of type
OPCDTYPE_MONITOR_MESSAGE
OPC_ERR_OBJNAME_REQUIRED:
OPCDATA_MON_VAR
not set
OPC_ERR_NO_AGENT:
OPC_ERR_NO_MEMORY:
OPC_ERR_WRONG_OPTION_VARS:
OPCDATA_OPTION_VAR
not set
correctlyVersions
HPOM for Windows A.06.00 and later
See Also