Überprüfen des Schreiberfolgs von IVariable.SetValue()
Guten Tag, zur API der Add-In-Framework-Klasse Scada.AddIn.Contracts.Variable.IVariable habe ich eine Fragestellung: Wie kann sichergestellt werden, dass ein über die Methode void SetValue(int index, object value) geschriebener Wert tatsächlich über den
Can't read variable from ZENON in API C#
I have tried all Syntax I can still can't Read an Integer Value from Variable in Zenon Please if you know how to Read and Store the Value in C# VAR let me know...
IProjectServiceExtension - Starten von WinForms in TopMost
Hallo Zusammen, wir haben bei einem Kundenprojekt über die Add-Ins eine IProjectServiceExtension programmiert. Diese erstellt aus dem Programmcode in asynchronen Theads Windows Forms generiert und anzeigt.. Leider rücken diese immer mal wieder in den
Ändern vieler Variablenwerte von anderem Thread
Hallo Community, in einem von mir betreuten Zenon-Addin, genauer IProjectServiceExtension, werden von einem Thread, der nicht der Zenon-Hauptthread ist, einige hundert IVariable.SetValue(...)-Aufrufe auf ebenso vielen Variablen durchgeführt. Weil solche
Get the CommandGroup associated to a variable.
I have been trying this without success: how to get the Command Group associated to a variable in runtime. Is it possible? Any hint?
Extract files with certain equipment group.
Hello. I use Zenon 10 Build 162215, VisualStudio 2022 and Copa-Data Developer Tools 14. It is a Wizard for Engineering Studio. I need to export files in the Zenon Editor. I have this code: i_Anzahl = prj.FileManagement.GetFolder(FolderPath.Graphics).FileCount;
Using SystemNet.Mail Into a C# add-in for zenon
Hello, I am currently developing an add-in for zenon 12 for my company and I would like to send emails directly from my add-in. The previous solution was to call a zenon function that would call a python script that is responsible for sending the email,
Symbol aus Symbolbibliothek in ein Bild einfügen. Wie greife ich auf "Freigegebene Eigenschaften" zu?
Guten Tag, ich möchte per API ein neues Bild erstellen , welches ein Symbol aus der Symbolbibliothek beinhaltet. Der nachfolgende Code funktioniert soweit, das Symbol wird erstellt. Jedoch verliert das Symbol seine Formatierung, beispielsweise wird die
Wich .Net Versions are supportet by the AddIn Framework
Hello, The last entry for supported .Net versions I found is 2 years old and it only mentions .Net Framework 4.6.x and higher. Is .Net 6 and higher currently supported? Kind regards
Access to project settings > file storage field "Online help"
Hello, in Zenon 10 the SCADA Addin Framework allows reading and writing into the "File storage" window that exists under each project's properties > General in the "Name/Folder" section. Almost all the folder fields are writeable in C# code by this syntax:
IEC 61850 File Transfer with Add-in
Hi there! I was trying to get comtrade files from IED through the command function with IEC 61850. It is possible to change the storage path in local pc when getting the files? I know it can be changed in the driver setting, but is it possible to change
Zenon 14: .NET 8.0 ?
Hi, Release notes for Zenon 14 states the following: https://onlinehelp.copadata.com/Content.html?product=supervisor&version=1400&lang=en&id=F6E2F1BE7BF518C6D04148A6BD5011E1B0194946849DB3E37A5D2411C6F21377 But I can't find more than that about it. Template
Data-Base on Zenon
I need for my project to create a Data-Base on Zenon and then Read and Write on this Data-Base with The ADD-IN what the steps to do to make the data base and how to access it with the add-in
Translate Variable value coming from C# Addin
Hi, I am developping an IProjectServiceExtension Addin. Inside my code, i push values to variables this way : ThisContext.VariableCollection.GetItemById(VarNameToId.FirstOrDefault(VarD => VarD.Key == "VariableName").Value)?.SetValue(0, "Text Value");
WPF DependencyProperty & structural variable behavior
Hi all, I have two types of dependency properties, with different naming conventions in registered "name" argument, what is equal to zenon variable name: 1) PlainVariableName 2) Plain.Structural.Variable.Name.With.Some.Amount.Of.Levels.Or.Plain.Variable.With.Dots.In.Name
Historian Value
Hello everyone, How can i get the value of a specific historian variable every 15 minutes?
Close Function parameters in zenon framework
Hello! I am creating a short Engineering studio wizard extension code that reads all frames in IFrameCollection and generates a Close Function for it in case it doesn't exist already. I am having trouble giving the correct argument to SetDynamicProperty
Import Alarm XML
Hi, Is there a way to import Alarm from XML with the API? Thank you. Regards, This is a migrated post! Originally posted on 31.08.2020 by user Alexanrde78910. Please be aware that information can be outdated.
Scada.AddIn.Contracts.License - SerialNumber
Hi all, I am trying to get the serial number of the license in the service engine that is running. I use a C# Addin and Zenon 11, and I see in the online help that it is readonly (fine), and available for "engineering studio" and "service engine", but
HOW TO WRITE VALUES OF VARIABLES IN RUNTIME WITH ADDIN?
Hello, I need to read and write several plc variables simultaneously in c# with addin, but I couldn't find an example of how to do it. I was investigating onlinecontainer, however there are only examples of reading 1 variable through events. I would like
Zenon Historian values
Hello, how can I get the last-minute data (timestamp and value) from a Zenon Historian using C# addin. This code give me just the last value: using System;
using Scada.AddIn.Contracts;
using Scada.AddIn.Contracts.Historian;
using System.Diagnostics;
namespace
ShiftManagement is null at startup
Hello, I have created a Project Service Extension with DefaultStartMode = DefaultStartupModes.Auto. The service is supposed to subscribe to the Created, Modified, and Deleted events of a ShiftManagement.Calendar. The problem is that during zenon runtime
Access Variables created in C# and Visual Studio in Zenon
Hello, I have created a WEB API server to communicate with an external party. The Web API Server is communicating with external parties which access my endpoints and post data into my server. I have created a POST method and a class to receive the data.
GetDynamicProperty() from IEC104 variables.
Hi all! I am programming the Addin (C#) inside the Energy Edition Version 11 Build126436 64Bit and Microsoft Visual Studio Professional 2019 Version 16.11.26 I want to get the COA, IOA, and Type of variables coming from the IEC104 driver in the runtime.
Auslesen von Archivwerten (lange Ausleszeiten)
Moin, wir haben ein Archiv mit 2000 Datenpunkte, wo täglich um 0 Uhr ein Wert gespeichert wird. Das Archiv wird in ARX-Datein gespeichert. Über ein Addin wollen wir immer die letzten 31 Werte auslesen und weiter verarbeiten. Hierbei kommt es zu langen
IStandardRecipe.DuplicateRecipe() method not found in build 116935
After updating from build 94608 to the build 116935, the method IStandardRecipe.DuplicateRecipe() can't be found anymore. Using diagnosis viewer, I found this: I read something in the changesets about this method having a false name: What would be the
Toolchain Setup
Hi, where to get this Add-In Framwork setup file? Is it included in the Zenon or can be installed standalone? Where is the link for this? BR
An error occurred when getting the variable value of String type.
I create '[Network] Current Primary Server' of SYSDRV in Zenon10 Editor and check the value with 'GetValue()' , i will see the value '-2147483638'. Is there another way to get the value of a String type variable?
How can I execute a "Project wizardExtension" add-in in a saparate thread so the runtime doesn't freeze during execution? (C#)
Hi, I have a fully functional add-in but it freezes the runtime everytime it runs because It's runing in the same thread as the runtime. I just wanted to know if It's possible to run it in a separate thread, but I couldn't make any method work.
WPF Zenon 11
Hi Dear support I would like to ask you about advice.. Exist any example how to create wpf to Zenon version 11 because i found old manuals ( Zenon 7.20 etc but it looks another than new Zenon version) Additionally i found your account in Github but the
Hinzufügen von neuen Variablen in ein Archiv
Hallo, über ein Addin füge ich Variablen im Editor in ein Archiv hinzu. zArv.AddVariable(neuVar.Name, AggregationType.All, Nothing) Die Variable wird im Editor auch im Archiv angezeigt. Nun möchte ich per RemoteTransport die Daten an den Server übertragen.
Build error
Program Files (x86)\COPA-DATA\zenon Software Platform 10\AddInFramework\AddInFramework.Build.targets(24,5): error : Timeout: Canceled build package after waiting 30000ms. This is a migrated post! Originally posted on 08.12.2021 by user mok. Please be
Auflösen von Elementgruppen
Moin, gibt es eine Möglichkeit über die Programmschnittstelle Elementgruppen aufzulösen? Vielen Dank schon einmal im voraus
Lack of options for MODRTU32 Driver via API
When importing variables to Zenon via API (add-in framework), I came across a lack of options for Coil and Input Status variables in the Modbus RTU and Open Modbus TCP (MODRTU32) driver. Attached is a brief report of the problem and a suggestion to change
querying the lot in the archive
Hello, I have an archive as in the attached picture, before saving a new lot to the archive, I want to find out with addin whether there is that lot in the archive before, thanks in advance to the people who will help.
EditorServiceExtension richtig stoppen
Hallo, wir arbeiten mit der Zenon 8.20 und dem Neusten Zenon Build. Wir haben eine EditorServiceExtension, welche auotmatisch gestartet wird. Dieses arbeitet ordnungsgemäß, wenn der Zenon Editor gestartet bleibt. Bei einem Neustart des Zenon Editors funktioniert
Zugriff auf Zenon API von externem Programm
Hallo zusammen, ich stehe gerade vor dem Problem, dass ich mit einem externen Programm (Konsolenanwendung, etc.) auf die Service-Engine zugreifen muss. Ich habe hierbei schon die alten Forenbeiträge zu der VBA-Schnittstelle gesehen. Nun stellt sich
Zenon suddenly stopping to fire VariableChange Events
Using the ZenOn 8.10 interop.zenOn.dll and therefore the COM interface: I've followed the online help and came to the conclusion that after a few tries (~20), ZenOn stops to fire VariableChange Events. I've implemented the event subscribing like this:
add-in
HELLO FRIENDS I NEED TO CREATE A COMBINED ELEMENT, AND I WANT TO PUT MULTIPLE CASES INSIDE THE CONFIGURATION, ON A BOOLEAN VARIABLE WITH EIGHT FORMULAS, EXAMPLE SOME CASES ALARM WITH ACKNOWLEDGE ALARM WITH PRIORITY 2 WITH ACKNOWLEDGE ALARM WITHOUT ACKNOWLEDGE
unable to create variable via zenon addin
i attempt to create a variable via zenon addin using code below using target framework .net 4.8 context.Workspace.ActiveProject.VariableCollection.Create("var_1", context.Workspace.ActiveProject.DriverCollection["Intern"], ChannelType.SystemDriverVariable,
Next Page