Unable to Set Alignment of Zenon Variable
Hi, When setting the Alignment property of an IVariable (creating the variable in the Zenon project (IProject) with AddIn in C#), this exception is thrown (below). Also the Alignment property seems to not be editable in the Zenon editor either. This functionality
Dynamic Screen Switch Function
Hi, I'm trying to find a way to build a "Screen Switch Function" on the fly in an Add-In service. Considering the following configuration: [AddInExtension("Temp Service", "Service extension description", DefaultStartMode = DefaultStartupModes.Auto)] public
Zenon REST API (C#)
Would like to check how can i integrate Zenon Data via REST API integration with other IT systems ? Regards, Joseph This is a migrated post! Originally posted on 10.05.2021 by user JosephChia. Please be aware that information can be outdated.
ERROR: "No Target for debugging configured in the settings."
I compiled a Runtime Add-In and imported it in the zenon editor. I tried to run the debugger i Visual Studio but instead get the following error: ERROR: No Target for debugging configured in the settings. To set a Debug Target, open tab "Add-In" in project
Änderung Betriebsmittelkennung in Runtime
Hallo, ich ändere die Betriebsmittelkennung (ResourcesLabel) und Kennung (Identification) einiger Variablen mit einem Service Add-In (C#) in der zenon Runtime (Version 8.00). Leider werden die „nderungen bei einem Neustart der Runtime nicht gespeichert,
Smart objects
Hi, I'm trying to assign the variable mapping of my project smartobjects by C#. The help window in zenon tells me the "VarMapping" should be available in the API, but i can seem to find a way to access it. On zenon 10. Any assistance would be appreciated!
Memoryleaks
Hello! We are running several Addins in our Runtimes and we are always experiencing a slow rising RAM usage from the runtime when have addins active. Anyone else experienced that issue aswell? When analyzing the Memory, it showed us only ~10MB used by
The value of the Zenon variable is not changed from C # code.
Hello, I'm trying to set the value of the Zenon variable in C # code in the following way: zVariable.SetValue(newValue, Constants.STATE_SPONT, (int)InternalHelpers.TimeConversion.SystemToZenOn(dt), 0); _utils.AddLine($"Variable: {zVariable.Name} Wert:
How to add limit value to variable by Editor wizard?
Hi all. I would like to make internal bool variable with Limit Value[1] and Limit Value [2] activated and with limit value text. How to add Limit value text to variable limit? I have add-in Editor wizard for creating variables, but I'm not sure how to
Exchange driver 3s_ARTI with 3s_V3?
Hi all, I would like to know which is the easiest way to convert existing variables for 3s_Arti_NG driver which use Symbolic name to 3S_V3 driver which use Symbolic address. My 1st thinking goes to editor Add-in which will 1. goes throught all variables
PrintDialog - scadaAddin
Hi all. How to make runtime add-in, which will open the Print dialog settings window (MS Windows standard dialog) on button click? Thanks a lot in advance, MK This is a migrated post! Originally posted on 09.11.2020 by user milosh. Please be aware that
OnlineVariableContainer Bulkmode not triggering
Hello! So we are working with OnlineVariableContainers to react to some Variablechanges. We Subscribe to our Variables like: project.OnlineVariableContainerCollection.Delete(containerName); container = project.OnlineVariableContainerCollection.Create(containerName);
assign variables in structured data type
Hello, I am trying to write a new value into a structured (an array )variable with C # that already exists in Zenon and has a user-defined data type. I do following: // create variable with var. name from Zenon
const string PV_Anlagen = "PV-Anlagen";
...
//Create
Using the Remote Transport in the Add-In interface
I noticed using the IRemoteTransport interface that the Event RemoteTransportTransferCompleted probably does not work as intended. In the project RemoteTransportTest.zip the mentioned Event is not getting triggered and the runtime does not start. While
Wert einer Zenonvariablen in eine C#-Variable kopieren
Hallo, ich möchte den Wert einer zenon-Variablen (zziNotificationType) in eine Variable im C# ( iAWMeldeart) kopieren. Hierzu folgender Code: C# Code: iMeldeart = context.VariableCollection["zziNotificationType"]; int iAWMeldeart; iAWMeldeart = (int)iMeldeart.GetValue(0);
ProductionFacilityScheduler - can't set CountryName property
Hello all, I've found yet another problem with ProductionFacilityScheduler object in AddIn Framework. Trying to set the value of CountryName property throws the exception (Unable to write read-only property) even though that Help hints that technically
Multi-Threading Sub Thread bricht ab
Hallo Zusammen, ich versuche mich gerade daran Aufgaben in verschiedenen Threads bearbeiten zu lassen, um die Zenon Runtime nicht zu blockieren. Hintergrund ist folgender, ich habe eine Funktion die mir einen Report (von einem Energiezähler) als PDF exportiert.
Zeitbereich für Reports komfortabel in Runtime anpassen
Hallo, ich stelle Energieverbräuche dar, und nutze hierfür den Reportviewer. Ich suche eine komfortable Möglichkeit um z.B. in einer Wochenansicht mit einem Vor- und Zurückbutton den Zeitbereich um die Dargestellte Zeit (hier 1 Woche ) zu verschieben.
Zu viele BulkChanged Events
Hintergrund: In einem Projekt benötige ich beim RT Start (bzw. nach dem Nachladen und auch später dann unregelmässig) die Werte einiger Variablen. Die Wertänderung, also das Changed Event benötige ich aber eigentlich nicht. Jetzt hab ich mir eine leicht
Create Zenon Logic
Hi, It's possible to create a Zenon logic project and deploy my logic inside it with API? Thanks in advance. This is a migrated post! Originally posted on 19.05.2020 by user matheusmoller. Please be aware that information can be outdated.
AddIn Nachkommastellen einer Variable ändern
Hallo an alle, ich versuche gerade die Nachkommastellen einer Variable in der Runtime zu verändern. // Test Nachkommastelle var wert = context.VariableCollection["Panel.Sensor.Si_Nachkommastellen_vv"].GetValue(0); IVariable tarVar = context.VariableCollection["Panel.Sensor.Sr_Istwert_vv"];
Zugriff auf den Grenzwerttext einer Rema
Hallo, ich möchte in einer ProjectWizardExtension auf einen bestimmten Grenzwert einer Variablen zugreifen und diesen dann in eine andere kopieren. Soll heißen: In einer Integer-Variablen wird der Wert 15 reingeschrieben-> Der Grenzwerttext von Position
Import XML - Zenon Logic
Hi, Is it possible to import an XML inside Zenon Logic with the API? Attached is a screenshot of the action I would like to perform. Many thanks in advance. This is a migrated post! Originally posted on 22.03.2020 by user Alexanrde78910. Please be aware
importing a CSV file.
Hi, I'm Lee. Wanna Do List. 1. Make a new CSV file(excel file). 2. Fill new CSV file's column from a another CSV file. 3. Save the new CSV file. 4. Import the new CSV file to Zenon(variable side). Wanna take a Answer List. 1. Is it possible in Zenon using
Editor Aktualisierung unterdrücken
Hi, ich habe einen Editor Wizard mit VS2017 in C# erstellt, der mir automatisch Variablen abhängig von SPS Programmen erzeugt. Vorher hatte ich ein ähnliches Makro in VBA. Das Problem ist, dass der Code nun deutlich langsamer ist. Ich meine damals hat
Wizard im Zenon Editor automatisch starten
Hallo, wir stehen aktuell vor folgender Herausforderung, die wir umsetzen wollen / müssen. œber die Zenon Runtime soll der Zenon Editor gestartet werden. Gleichzeitig sollen dem Benutzer in der Runime mehrere Möglichkeiten zur Auswahl stehen, verschiedene
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
Next Page