ANSI C Based OPC UA Client/Server/PubSub SDK  1.9.1.442
UaServerDataLogger

Functions

OpcUa_StatusCode UaServer_DataLogger_Start (OpcUa_Int a_hLogger)
 Set the data logger to an active state, being ready to receive and log data. More...
 
OpcUa_StatusCode UaServer_DataLogger_Stop (OpcUa_Int a_hLogger)
 Set the data logger to an inactive state, disabling its logging capability. More...
 
OpcUa_StatusCode UaServer_DataLogger_ReadValues (OpcUa_Int a_hLogger, OpcUa_Int a_hItem, const OpcUa_ReadRawModifiedDetails *a_pHistoryReadDetails, OpcUa_TimestampsToReturn a_TimestampsToReturn, OpcUa_Boolean a_ReleaseContinuationPoint, const OpcUa_HistoryReadValueId *a_pNodeToRead, OpcUa_HistoryReadResult *a_pResult, OpcUa_UInt32 a_uTimeoutHint)
 Read historical values from a data logger item. More...
 
OpcUa_StatusCode UaServer_DataLogger_ReadEvent (OpcUa_Int a_hLogger, OpcUa_Int a_hItem, const OpcUa_ReadEventDetails *a_pHistoryReadDetails, OpcUa_Boolean a_ReleaseContinuationPoint, const OpcUa_HistoryReadValueId *a_pNodeToRead, OpcUa_HistoryReadResult *a_pResult, OpcUa_UInt32 a_uTimeoutHint)
 Read historical values from a data logger item. More...
 
OpcUa_Int UaServer_FileLogger_Create (const char *a_szFilePath)
 Creates a file logger. More...
 

Detailed Description

Function Documentation

OpcUa_StatusCode UaServer_DataLogger_ReadEvent ( OpcUa_Int  a_hLogger,
OpcUa_Int  a_hItem,
const OpcUa_ReadEventDetails a_pHistoryReadDetails,
OpcUa_Boolean  a_ReleaseContinuationPoint,
const OpcUa_HistoryReadValueId a_pNodeToRead,
OpcUa_HistoryReadResult a_pResult,
OpcUa_UInt32  a_uTimeoutHint 
)

Read historical values from a data logger item.

Parameters
a_hLoggerThe logger to read from.
a_hItemThe logger item to read from.
a_pHistoryReadDetailsThe history read parameters as requested by the client.
a_ReleaseContinuationPointIf true, then the passed ContinuationPoint will just be freed.
a_pNodeToReadContains IndexRange and ContinuationPoint; NodeId will be ignored.
a_pResultThe history read result will be stored here.
a_uTimeoutHintThe timeout hint as requested by the client.
OpcUa_StatusCode UaServer_DataLogger_ReadValues ( OpcUa_Int  a_hLogger,
OpcUa_Int  a_hItem,
const OpcUa_ReadRawModifiedDetails a_pHistoryReadDetails,
OpcUa_TimestampsToReturn  a_TimestampsToReturn,
OpcUa_Boolean  a_ReleaseContinuationPoint,
const OpcUa_HistoryReadValueId a_pNodeToRead,
OpcUa_HistoryReadResult a_pResult,
OpcUa_UInt32  a_uTimeoutHint 
)

Read historical values from a data logger item.

Parameters
a_hLoggerThe logger to read from.
a_hItemThe logger item to read from.
a_pHistoryReadDetailsThe history read parameters as requested by the client.
a_TimestampsToReturnThe timestamps to return.
a_ReleaseContinuationPointIf true, then the passed ContinuationPoint will just be freed.
a_pNodeToReadContains IndexRange and ContinuationPoint; NodeId will be ignored.
a_pResultThe history read result will be stored here.
a_uTimeoutHintThe timeout hint as requested by the client.
OpcUa_StatusCode UaServer_DataLogger_Start ( OpcUa_Int  a_hLogger)

Set the data logger to an active state, being ready to receive and log data.

Parameters
a_hLoggerThe handle of the data logger to start.
Returns
OpcUa_Good on success.
OpcUa_StatusCode UaServer_DataLogger_Stop ( OpcUa_Int  a_hLogger)

Set the data logger to an inactive state, disabling its logging capability.

Parameters
a_hLoggerThe handle of the data logger to stop.
Returns
OpcUa_Good on success.
OpcUa_Int UaServer_FileLogger_Create ( const char *  a_szFilePath)

Creates a file logger.

Parameters
a_szFilePathThe path where to store the logged data and configuration.
Returns
Returns the handle for the created file logger, or an error code < 0 when the operation fails.