The API property ReaAlarm of the state object returns no decimal values

The API property ReaAlarm of the state object returns no decimal values

Summary

The API property ReaAlarm of the state object returns no decimal values because it is of Long type instead of Double.

Description

The API property ReaAlarm of the state object returns no decimal values because it is of Long type instead of Double.

Solution

An issue was addressed in the programming interface. Now, the return value is Double instead of Long

Information




Issue Number: 34779
Fixed on Date: 8.7.2015
Versions: 7.50 0 BUILD 25796
    • Related Articles

    • Set colors of color palette to zenon elements via API.

      Colors in zenon are a 3-byte code of RGB values. The value #EB29D6 corresponds to a strong pink tone. If these colors are linked directly to a zenon object exactly this value is entered in the dynamic property of the element, screen, textcolor, ...
    • API - Setting the smart object released property is not correctly saved

      Summary The API function ISoReleasedProperty.SetValue() is not executed correctly in the service engine. This has been fixed. Description Via the API a property of a Smart Object is released with the function ISoReleasedProperty.SetValue(). After ...
    • MdiElement.Type returns wrong element types

      Summary MdiElement.Type returns wrong element types - e.g. for a button, tpLine is returned. Description MdiElement.Type returns wrong element types - e.g. for a button, tpLine is returned. Solution An issue was addressed in the API - now the ...
    • API, MultiBinary REMA: First SubCondition can not be directly created by API

      Description The first SubCondition of an MultiBinary REMA could not be created using the following API commands: State.CreateSubState(); (COM) / ICondition.Create(); (Addin) (Replied an empty State/ICondition object) ...
    • zenon - Addins - Codesnippet - Read version from within

      There seems to be no zenon-API-property to read the Addin-version (= AddInInfo.cs - [assembly: Addin("AddInName", "x.x")] ) from within the Addin. But it seems possible to read it using reflection on the assembly-attributes. => C# Code-snippet ...