HP Operations Manager for Windows

opcdata_set_double()


   #include opcapi.h

   int *opcdata_set_double(
          opcdata         data,                 /* in/out */
          int             attribute,            /* in */
          double          value                 /* in */
                          );

Parameters

data
HPOM data structure containing the attribute to be set

attribute
Specifies the attribute.

value
Contains the value of the attribute to be set.

Description

The function opcdata_set_double() sets the numeric float attribute in data to value.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_INVALID_INPARAM:
data is NULL, attribute is NULL, value is NULL

Versions

HPOM for Windows A.07.50 and later

See Also

HPOM Data Structures