Using the Scada.Addin.Contracts API For Custom Archive Utility(s)
Hi There, In our design we have lots of duplicate equipment (solar farm inverters) and we would like to create an On Change Archive for each one. I am in the process of creating a duplication utility that uses substitution in a similar way that Zenon
Aktiviertes Projekt im IEditorApplication auslesen
Moin, ich habe mal eine Frage zur Programmierung eines Wizards für den Editor. Hierfür müssen wir uns die Run Prozedur anschauen Public Sub Run(context As IEditorApplication, behavior As IBehavior) Implements IWizardExtension(Of IEditorApplication).Run
Listbox selection
In my list box i would like to highlight the selected entry I want it to stay "selected" until the user clicks again or selects another entry. When an entry is selected I can change the color but once its unclicked the entry reverts back. Is there a way
Visual Studio, Config files and Zenon 7.6/8.0
I have an app.config file which i use in my addin project. I am building my addin with visual studio and have set the properties of the app.config to copy always. When I build with Zenon 7.6 as reference in the project. The file is copied to the bin/Debug
Creating variables in Scada addin.
Hi, I've been trying to create an intern variable using Scada addin I'm VariableCollection Create method like this: IVariableCollection myVariables = context.VariableCollection; IDataType myDatatype = context.DataTypeCollection["BOOL"]; // type of a variable
Listbox selection
Hi, How can I determine the selected item in a listbox ? This is a migrated post! Originally posted on 12.12.2019 by user roger_novarctech. Please be aware that information can be outdated.
Target other .NET Framework version with the Add-In Framework
Hi, if I create a new add-in project with the COPA-DATA Developer Tools, the newly created project targets .NET 4.5. Can I target a higher .NET framework (e.g. 4.6.2 or 4.7.2) or does the addin framework in zenon requires exactly the .NET 4.5 framework?
Threaded Project Wizard extension
Hello, I ran into a problem, when I launch an addin from zenon runtime. runtime freezes. It makes sense, because both the addin and the runtime run in foreground thread. So I read that I should run addin on different thread, however I couldn't find any
Populating ListBox with a list created in ScadaAddin.
Hi, I was wondering is it possible to populate a ListBox element in Runtime with a list created in ScadaAddin. And if it is possible then how should I do it? Thanks in advance. This is a migrated post! Originally posted on 18.11.2019 by user lsimas3.
AddIns and config files
hi, I wan to use an app.config file for my c# addin. I have added the key and value under app settings in the file and my code is referencing them as keyval = ConfigurationManager.AppSettings["key"]; In the runtime reading keyval is always null Visual
Using Zenon 8.20 variables in scadaAddin script
Hi, I just started working with scada addins and came up with a little problem: I am trying to write a script that takes variable values that are already imported in Zenon 8.20 and send them to database. I tested SQL querry part of the script and it works
Converting Standard Recipes to use with a Recipe Group Manager
I want to convert all my Standard Recipes to use them with a Recipe Group Manager. If I create a Group Manager (call it 'System'), in a C# addin I can get the standard recipe from the standard Recipe collection in the context and I can get the RecipeGroupManager
Unknown zenon Runtime error messages
Hello COPA-DATA, i am writing because we are getting some unknown error messages in log. It is possible somehow connected with the our AddIn. The AddIn receives some Http requests and maybe this could be important information. Please let me know if you
Screen Type specific functions
Is it possible to find out what the screen type specific functions are doing ? Ie what variables they are writing etc I would like to effectively do what set procedure does in the recipes screen type. In the editor when i dbl click on the element I see
How turn on/off the revision for external variables
Hello COPA-DATA, i would like to sent the write request to a PLC device to change the status of an external variable to REVISION. We found in documentation for the AddIn only the option to SetValue for an IVariable. This option works well for the internal
Logging in the AddIn Framework
Is there a preferred method or toolset for logging when using AddIns. I am using C# with visual studio and very primitive logging ie writes to a file. Im wondering if anyone uses log4net nlog or even windows event log if anything. This is a migrated post!
Variable Change Event vb.net Visual Studio 2015
Hallo, Ich realisiere gerade eine WebSocket Schnittstelle als ProjectServiceExtension mit dem Zenon AddIn für Visual Studio. Ich muss bei einer Wertänderung einer Statusvariable einen Befehl Richtung WebSocket Server schicken. Wie kann ich ein Variable
Do not reload AddIn - With function "Reload project online"
zenon 7.60, AddIn Runtime service Hello COPA-DATA, i am writing because we have some problem with forced reload of AddIn. When the function "Reload project online" is triggered, it will restart the runtime along with the AddIns. I am afraid that we can
Rename variable based on structure datatype in editor wizard
Hello, Is it possible to rename variables based on structure datatypes by using the addin-framework? Simple datatypes like i.e. bool is working, but when retrieving all variables I only get the subvariables from the structures. These cannot be renamed
SystemModel von einen Bild in der Runtime auslesen
Hallo! Ich suche eine Möglichkeit die einem Bild zugeordneten Systemmodelleinträge in einem RT Addin auszulesen. GetDynamicProperty ist bei IScreen in der Runtime wohl nicht verfügbar... Hat jemand eine Idee wie man an die Info in der Runtime trotzdem
AddIn build fails using SQLite DLLs
Hi to all, maybe this problem is a bit special, but here we go: We have several AddIns using additional libraries, such as SAP (sapnco connector using sapnco.dll) and everything is working great. But when I try to use the SQLite Package, there is always
Übergabe von Parametern vom Element an AddInFramework C#
Hallo, ich habe in meinem Zenon Projekt viel mit VBA gearbeitet. Wir wollen aus vielen Gründen jetzt von VBA weg. Deshalb habe ich begonnen meine Skripte ins Add-In Framework (C#) um zu ziehen. Jetzt stehe ich vor dem Problem, das ich viele Makros habe
How to get LanguageTable in runtime
Hi there, Is there some way to get LanguageTable in Runtime? I have tried few thinks, but no luck so far. Any tip? My AddIn project is "IProjectServiceExtension". ILanguageTable languageTable = m_Project.Parent.Parent.Workspace.ActiveProject.LanguageTable;
How change the state of variable in AddIn Runtime service
Hi copa-data, (working with zenon 8.0, AddIn Runtime service) i am trying to change the state of variable, specifically the status bit 9 REVISION. I found in documentation one method of IVariable to set a value with lowerState (http://onlinehelp.copadata.com/help/760/addin/html/Variable-IVariable.htm)
IoC inside AddIn
Hello everyone, looking for help regarding to integration of Zenon AddIn. We are creating a Addin that shall do several stuff like running WebSocket server, Http Api server and of course consume some data from Zenon itself, like Variables or Language
EveryWhere Server Create Variable with ODATA-Request
Guten Tag, ich teste gerade den everywhere-Testserver mit dem Postman Die Zugriffe funktionieren soweit, ich scheitere aber bein Anlagen einer Online-Variable. Könntet ihr mir bitte ein Beispiel eines XML-Create-Post-Requests zeigen ? Danke This is a
DynamicProperty bei Send Mail Funktion wird nicht übernommen.
Hallo, ich versuche den Text einer Send Mail Funktion vor dem Versenden abhängig vom Alarm zu bearbeiten. Ich nutze hierfür C#. Wenn ich es richtig sehe ist der Grenzwerttext so zu erreichen: m_Project.FunctionCollection["FU_Send_Alarm_Mail_Grenzwert_"
Filter the list of Recipes
How can I filter the list of recipes displayed ? I want to fllter by name ie if the contains certain strings or by the value of one of the variables in the recipe. ie all the recipes that contain the string "Big" or "Med" or "Small" alternatively I could
Using the Scada.Addin.Contracts API For XML Imports
Hi Guys, I have run into some issues with the Scada.Addin.Contracts API / XML Import / Exports. Regarding the format of the XML File format for driver and other config xml files, Regarding how the DNP3_TG driver imports. I created two GitHub issues here
zenLogSrv aus AddIn benutzen (eigenen Log-Eintrag schreiben)
is it possible to write a customer log entry into the zenon log system ( :( This is a migrated post! Originally posted on 29.04.2019 by user its_me. Please be aware that information can be outdated.
OnlineContainer Changed-Event
Moin, ich habe einen OnlineContainer mit Variablen erstellt. Eine Variable davon ist auf dem aufrufenden Bild bereits verknüpft. Nun wird das Changed-Event nicht für diese Variable ausgelöst. Gibt es hierfür einen Grund? Für alle anderen Variablen wird
Add-In Debug Target
Hallo, ich habe mehrere Projekte im Arbeitsbereich und möchte ein Addin in einem Unterprojekt Debuggen. Beim Debuggen kann ich in den Projekteinstellungen von Visual Studio das zu verwendende Projekt in der Runtime auswählen (Debug Target). Leider wird
Project wizard extension in eigenem Thread ausführbar?
Hallo, Ich nutze VS2017 um ein "project wizard extension" zu erstellen. Im wesentlichen führe ich eine Bildumschaltefunktion aus und mache anschließend einen Screenshot. Im debug-Modus aus VS2017 heraus funktioniert alles einwandfrei, weil scheinbar das
Service - memory leak
Hello, Our service reads some data from archive each minute (using Thread). But when this service is running, Runtime memory increases continuously. Could someone help me to detect, what is wrong with this part of code: public class ServiceExtension :
Automatischen Start von "Project Configuration Wizard" abschalten
Hallo zusammen! Ich möchte gerne den automatischen Start des "Project Configuration Wizard" nach dem Anlegen eines neuen Projektes im Editor abschalten. Hat jemand eine Idee wie das zu bewerkstelligen ist? Das Addin "AddinProjectWizardWinforms" möchte
How To's available on GitHub
At https://github.com/copa-data there are How To's and training samples available. This is a migrated post! Originally posted on 22.08.2017 by user gerald.lochner. Please be aware that information can be outdated.
How to check if Runtime runs as Server or Client in Addin
I am using a Runtime Service in my project. I would like to execute this service only at the Server of this Runtime. Is this possible? This is a migrated post! Originally posted on 25.08.2017 by user rob. Please be aware that information can be outd
COPA-DATA Developer Tools für Visal Studio 2017?
Hallo! Ich wollte hier mal kurz nachfragen ob es schon einen Aussicht für die Nutzung von COPA-DATA Developer Tools unter Visual Studio 2017 gibt? Da ich nur Visual Studio 2017 auf dem Rechner habe bin ich momentan etwas ausgebremst, da ich mich eigentlich
WPF and Adorners
Hello, My task is to implement a .NET based WPF control including a more or less complex chart. The chart contains a zoom and pan functionality for zooming in, zoom out, scoll and pan within the chart area by using the left/right mouse buttons. In the
Import historischer Daten in zenon Archiv
Hallo, aktuell entwickle ich .NET Module (VSTA und WPF) für die zenon 7.60 Umgebung unter Windows 10, die Archivdaten über mehrere Monate auswertet. Der Kunde hat noch keine realen Archivdaten verfügbar (CD Kunde seit Anfang des Jahres) und wird die Lösung
Next Page