#include opcapi.h
double *opcdata_get_double(
const opcdata
data, /* in */
int attribute /* in */
);
Parameters
data
attribute
Description
The function opcdata_get_double()
returns the value
of a double attribute in data
.
Return Values
Returns the real value, or, OPC_DOUBLE_UNDEF
if no
value could be retrieved because data
was empty or
attribute
was not allowed. Note that the real value
could also be OPC_DOUBLE_UNDEF.
If an error occurs, for example an invalid attribute is
specified, the function returns 0.0.
.
Versions
HPOM for Windows A.07.50 and later
See Also