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
Accessing variables in Runtime wizard and service
Hello, I have been trying to migrate some of the VSTA functionality to the Add-In Framework for Visual Studio 2017 in Zenon 7.60 but I am not sure how to do this. I was looking for the same functionality as it was avaliable in the VSTA to access, read/write
List of running Addins
Hello, is it possible to access a list/container of the running RunTime AddIn's resp. a reference to the running AddIn objects. Best regards This is a migrated post! Originally posted on 18.10.2017 by user Ruebezaehler. Please be aware that information
Multithreading Thread safety
Guten Tag, ich plane eine "PROJECT SERVICE EXTENSION", in welcher das Lesen von Variablen, als auch das Schreiben auf Variablen in einem anderen als dem UI-Thread geschehen soll. Koennen die GetValue/SetValue direkt benutzt werden oder muss das Lesen
Projectcollection of Runtimeproject
Hey, iÂ'm looking for a possibility to get the properrty of a project in a project in a ProjectServiceExtension. C# Code: foreach (IProject item in context.Parent.Parent.ProjectCollection) { } I just get the Mainproject, nothing else ?!?! This is a migrated
OnlineContainer ActivateBulkMode
Hi, ich habe mir die AddIn Beispiele zu OnlineContainer angesehen und denke, dass ich den roten Faden sehe. Im Detail sind mir aber einige Dinge unklar: 1) ActivateBulkMode: Wird hier die Notification auf BulChanged aktiviert? Doku dazu :-( 2) Activate:
Events in AddinProjectWizardWinforms?
Hallo zusammen! In der Version 7.60 wurde der Wizard "Project Wizard" aus VSTA in ein Addin ausgelagert. Ich Frage mich jetzt wie wird der Wizard nach dem Erstellen eines neuen Projektes im Editor automatisch gestartet? Gibt es in einer WizardExtension
UnitTests in Visual Studio 2017
Hallo, wie kann ich bei UnitTests auf das Objekt IWorkspace zugreifen? Folgendes Szenario: Meine Visual Studio Solution beinhaltet ein Addin-Projekt und ein UnitTest-Projekt. Ich möchte Funktionen aus dem Addin-Projekt, die auf die Schnittstelle IWorkspace
Anwendung von "FktLevelList" und "ZoomSteps" in Editor Wizard?
Hallo! Wir erstellen unsere Projekte per Wizard. Dabei gehen wir gerne den Weg über XML-Vorlagen, die wir per Wizard anpassen und dann importieren. Für die Zoomstufen und die Zuordnung der Berechtigungsstufen zu Funktionsberechtigungen in einem Projekt
ThreadSafety OnlineContainer
Ich habe mir das Beispiel zu VariableSubscription aus https://github.com/copa-data angesehen. Bei einer „nderung der Variablen wird folgender Handler aufgerufen: [FONT=courier new][SIZE=2]private void Container_BulkChanged(object sender, BulkChangedEventArgs
Runtimeservice Reloading - Event
Hallo ich habe das Problem, dass das Projekt reloading Event im Runtimeservice nicht ausgelöst wird. public void Start(IProject context, IBehavior behavior) { try { zprj = context; zprj.Reloaded += Zprj_Reloaded; zprj.Reloading += Zprj_Reloading; } catch
ProjectServiceExtension Stop() - Freigeben verwendeter Ressourcen
Hallo, ich implementiere ein AddIn als ProjectServiceExtension und erzeuge im Start(..) einen Container für OnlineVariablen und Registriere hierzu ein Event. context.OnlineVariableContainerCollection.Create(AddInOnlineContainer_name); Beim beenden des
ProjectServiceExtension - Registrieren VariableChangeEventHandler
Hallo, ich implementiere ein AddIn als ProjectServiceExtension und verwende einen Container für OnlineVariablen. Hierzu möchte ich das Change-Event nutzen. AddInOnlineContainer.Changed += Leider gibt es den aus VSTA bekannten Eventhandler nicht im AddIn.
Next Page