|
TASE2_API void | Tase2_Library_setLogLevel (Tase2_LogLevel level) |
| Set the library log level.
|
|
TASE2_API void | Tase2_Library_setLogFunction (Tase2_Log_Function logFunction) |
| Set a user provided log message handler.
|
|
TASE2_API void | Tase2_Library_setLogFunctionEx (Tase2_Log_FunctionEx logFunction) |
|
TASE2_API const char * | Tase2_Library_getVersionString () |
| Get the version string of the library (e.g. "1.2.3")
|
|
TASE2_API int | Tase2_Library_getMajorVersion () |
| Get the major version of the library.
|
|
TASE2_API int | Tase2_Library_getMinorVersion () |
| Get the minor version of the library.
|
|
TASE2_API int | Tase2_Library_getPatchVersion () |
| Get the patch version of the library.
|
|
TASE2_API Tase2_PointValueType | Tase2_PointValue_getType (Tase2_PointValue self) |
| Get the (estimated) type of the point value.
|
|
TASE2_API Tase2_ClientError | Tase2_PointValue_getError (Tase2_PointValue self) |
| Get the error code (when point value type is TASE2_VALUE_TYPE_ERROR)
|
|
TASE2_API void | Tase2_PointValue_setType (Tase2_PointValue self, Tase2_PointValueType type) |
| Set the type of a point value.
|
|
TASE2_API void | Tase2_PointValue_destroy (Tase2_PointValue self) |
| Release all resource related to the point value instance.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_getCopy (Tase2_PointValue self) |
| Create a copy (clone) of the PointValue instances.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createReal (float value) |
| Create a new PointValue instance of type "real".
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createDiscrete (int32_t value) |
| Create a new PointValue instance of type "discrete".
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createState (Tase2_DataState value) |
| Create a new PointValue instance of type "state".
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateSupplemental (Tase2_DataStateSupplemental value) |
| Create a new PointValue instance of type "state-supplemental".
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createRealQ (float value, Tase2_DataFlags flags) |
| Create a new point value instance of Type RealQ.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createDiscreteQ (int32_t value, Tase2_DataFlags flags) |
| Create a new point value instance of Type DiscreteQ.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateQ (Tase2_DataState value, Tase2_DataFlags flags) |
| Create a new PointValue instance of type StateQ.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateSupplementalQ (Tase2_DataStateSupplemental value, Tase2_DataFlags flags) |
| Create a new PointValue instance of type StateSupplementalQ.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createRealQTimeTag (float value, Tase2_DataFlags flags, int32_t timeTag) |
| Create a new point value instance of Type RealQTimeTag.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateQTimeTag (Tase2_DataFlags valueAndFlags, int32_t timeTag) |
| Create a new point value instance of Type StateQTimeTag.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createDiscreteQTimeTag (int32_t value, Tase2_DataFlags flags, int32_t timeTag) |
| Create a new point value instance of Type DiscreteQTimeTag.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateSupplementalQTimeTag (Tase2_DataStateSupplemental value, Tase2_DataFlags flags, int32_t timeTag) |
| Create a new PointValue instance of type StateSupplementalQTimeTag.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createRealExtended (float value, Tase2_DataFlags flags, int32_t timeTag, uint16_t cov) |
| Create a new point value instance of Type RealExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateExtended (Tase2_DataFlags valueAndFlags, int32_t timeTag, uint16_t cov) |
| Create a new point value instance of Type StateExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createDiscreteExtended (int32_t value, Tase2_DataFlags flags, int32_t timeTag, uint16_t cov) |
| Create a new point value instance of Type DiscreteExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateSupplementalExtended (Tase2_DataStateSupplemental value, Tase2_DataFlags flags, int32_t timeTag, uint16_t cov) |
| Create a new PointValue instance of type StateSupplementalExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createRealQTimeTagExtended (float value, Tase2_DataFlags flags, uint64_t timeTagExtended) |
| Create a new point value instance of Type RealQTimeTagExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateQTimeTagExtended (Tase2_DataFlags valueAndFlags, uint64_t timeTagExtended) |
| Create a new point value instance of Type StateQTimeTagExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createDiscreteQTimeTagExtended (int32_t value, Tase2_DataFlags flags, uint64_t timeTagExtended) |
| Create a new point value instance of Type DiscreteQTimeTagExtended.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createStateSupplementalQTimeTagExtended (Tase2_DataStateSupplemental value, Tase2_DataFlags flags, uint64_t timeTagExtended) |
| Create a new PointValue instance of type StateSupplementalQTimeTagExtended.
|
|
TASE2_API float | Tase2_PointValue_getValueReal (Tase2_PointValue self) |
| Get the real value.
|
|
TASE2_API float | Tase2_PointValue_getValueRealEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the real value.
|
|
TASE2_API void | Tase2_PointValue_setValueReal (Tase2_PointValue self, float value) |
| Set the real value.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setValueRealEx (Tase2_PointValue self, float value) |
| Set the real value.
|
|
TASE2_API int32_t | Tase2_PointValue_getValueDiscrete (Tase2_PointValue self) |
| Get the value of an indication point of type DISCRETE.
|
|
TASE2_API int32_t | Tase2_PointValue_getValueDiscreteEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the value of an indication point of type DISCRETE.
|
|
TASE2_API void | Tase2_PointValue_setValueDiscrete (Tase2_PointValue self, int32_t value) |
| Set the value of an indication point of type DISCRETE.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setValueDiscreteEx (Tase2_PointValue self, int32_t value) |
| Set the value of an indication point of type DISCRETE.
|
|
TASE2_API Tase2_DataState | Tase2_PointValue_getValueState (Tase2_PointValue self) |
| Get the value of an indication point of type STATE.
|
|
TASE2_API Tase2_DataState | Tase2_PointValue_getValueStateEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the value of an indication point of type STATE.
|
|
TASE2_API void | Tase2_PointValue_setValueState (Tase2_PointValue self, Tase2_DataState value) |
| Set the value of an indication point of type STATE.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setValueStateEx (Tase2_PointValue self, Tase2_DataState value) |
| Set the value of an indication point of type STATE.
|
|
TASE2_API Tase2_DataStateSupplemental | Tase2_PointValue_getValueStateSupplemental (Tase2_PointValue self) |
| Get the value of an indication point of type STATE_SUPPLEMENTAL.
|
|
TASE2_API Tase2_DataStateSupplemental | Tase2_PointValue_getValueStateSupplementalEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the value of an indication point of type STATE_SUPPLEMENTAL.
|
|
TASE2_API void | Tase2_PointValue_setValueStateSupplemental (Tase2_PointValue self, Tase2_DataStateSupplemental value) |
| Set the value of an indication point of type STATE_SUPPLEMENTAL.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setValueStateSupplementalEx (Tase2_PointValue self, Tase2_DataStateSupplemental value) |
| Set the value of an indication point of type STATE_SUPPLEMENTAL.
|
|
TASE2_API bool | Tase2_PointValue_hasTimeStamp (Tase2_PointValue self) |
| Try to determine if the value has a timestamp.
|
|
TASE2_API Tase2_TimeStampClass | Tase2_PointValue_getTimeStampClass (Tase2_PointValue self) |
| Get the timestamp class of the value.
|
|
TASE2_API uint64_t | Tase2_PointValue_getTimeStamp (Tase2_PointValue self) |
| Get the time stamp of the last data point change or update.
|
|
TASE2_API uint64_t | Tase2_PointValue_getTimeStampEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the time stamp of the last data point change or update.
|
|
TASE2_API void | Tase2_PointValue_setTimeStamp (Tase2_PointValue self, uint64_t timestamp) |
| Set the time stamp of the last data point change or update.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setTimeStampEx (Tase2_PointValue self, uint64_t timestamp) |
| Set the time stamp of the last data point change or update.
|
|
TASE2_API Tase2_DataFlags | Tase2_PointValue_getFlags (Tase2_PointValue self) |
| Get the quality flags of a data point.
|
|
TASE2_API Tase2_DataFlags | Tase2_PointValue_getFlagsEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the quality flags of a data point.
|
|
TASE2_API void | Tase2_PointValue_setFlags (Tase2_PointValue self, Tase2_DataFlags flags) |
| Set the quality flags of a data point.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setFlagsEx (Tase2_PointValue self, Tase2_DataFlags flags) |
| Set the quality flags of a data point.
|
|
TASE2_API uint16_t | Tase2_PointValue_getCOV (Tase2_PointValue self) |
| Get the COV (counter of value changes) of a data point.
|
|
TASE2_API uint16_t | Tase2_PointValue_getCOVEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the COV (counter of value changes) of a data point.
|
|
TASE2_API void | Tase2_PointValue_setCOV (Tase2_PointValue self, uint16_t cov) |
| Set the COV (counter of value changes) of a data point.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setCOVEx (Tase2_PointValue self, uint16_t cov) |
| Set the COV (counter of value changes) of a data point.
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createSingleProtectionEvent (Tase2_SingleEventFlags eventFlags, int32_t operatingTime, uint64_t eventTime) |
| Create a new point value instance of type single event (TASE2_VALUE_TYPE_SINGLE_EVENT)
|
|
TASE2_API Tase2_PointValue | Tase2_PointValue_createPackedProtectionEvent (Tase2_EventFlags packedEvent, Tase2_PackedEventFlags packedEventFlags, int32_t operatingTime, uint64_t eventTime) |
| Create a new point value instance of type packed event (TASE2_VALUE_TYPE_PACKED_EVENT)
|
|
TASE2_API Tase2_SingleEventFlags | Tase2_PointValue_getSingleEventFlags (Tase2_PointValue self) |
| Get the single event flags value.
|
|
TASE2_API Tase2_SingleEventFlags | Tase2_PointValue_getSingleEventFlagsEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the single event flags value.
|
|
TASE2_API void | Tase2_PointValue_setSingleEventFlags (Tase2_PointValue self, Tase2_SingleEventFlags eventFlags) |
| Set the single event flags value.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setSingleEventFlagsEx (Tase2_PointValue self, Tase2_SingleEventFlags eventFlags) |
| Set the single event flags value.
|
|
TASE2_API Tase2_EventFlags | Tase2_PointValue_getPackedEvent (Tase2_PointValue self) |
| Get the packed event flags values.
|
|
TASE2_API Tase2_EventFlags | Tase2_PointValue_getPackedEventEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the packed event values.
|
|
TASE2_API void | Tase2_PointValue_setPackedEvent (Tase2_PointValue self, Tase2_EventFlags packedEvent) |
| Set the packed event values.
|
|
Tase2_PointValueError | Tase2_PointValue_setPackedEventEx (Tase2_PointValue self, Tase2_EventFlags packedEvent) |
| Set the packed event values.
|
|
TASE2_API Tase2_PackedEventFlags | Tase2_PointValue_getPackedEventFlags (Tase2_PointValue self) |
| Get the packed event flags value.
|
|
TASE2_API Tase2_PackedEventFlags | Tase2_PointValue_getPackedEventFlagsEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the packed event flags value.
|
|
TASE2_API void | Tase2_PointValue_setPackedEventFlags (Tase2_PointValue self, Tase2_PackedEventFlags flags) |
| Set the packed event flags.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setPackedEventFlagsEx (Tase2_PointValue self, Tase2_PackedEventFlags flags) |
| Set the packed event flags.
|
|
TASE2_API int32_t | Tase2_PointValue_getOperatingTime (Tase2_PointValue self) |
| Get the operation or event duration.
|
|
TASE2_API int32_t | Tase2_PointValue_getOperatingTimeEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the operation or event duration.
|
|
TASE2_API void | Tase2_PointValue_setOperatingTime (Tase2_PointValue self, int32_t operatingTime) |
| Set the operation or event duration.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setOperatingTimeEx (Tase2_PointValue self, int32_t operatingTime) |
| Set the operation or event duration.
|
|
TASE2_API uint64_t | Tase2_PointValue_getEventTime (Tase2_PointValue self) |
| Get the event/operation start time.
|
|
TASE2_API uint64_t | Tase2_PointValue_getEventTimeEx (Tase2_PointValue self, Tase2_PointValueError *err) |
| Get the event/operation start time.
|
|
TASE2_API void | Tase2_PointValue_setEventTime (Tase2_PointValue self, uint64_t eventTime) |
| Set the event/operation start time.
|
|
TASE2_API Tase2_PointValueError | Tase2_PointValue_setEventTimeEx (Tase2_PointValue self, uint64_t eventTime) |
| Set the event/operation start time.
|
|