WPF : XAML + Code-behind C#
Hey ! I'm trying to implement this : http://www.wpf-tutorial.com/audio-video/playing-video/ I deleted "x:class" in XAML file and trying to setup a clr-namespace. C# Code: xmlns:myns="clr-namespace:MyBlendProject.UserControl1;assembly=MyBlendProject" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Number of Active Client @ Webserver
Hallo liebe Community! Ist es zufällig irgendwie möglich die "Number of Active clients" vom Webserver programmatisch auszulesen? Vielen Dank für die Info, LG Thomas This is a migrated post! Originally posted on 09.02.2015 by user schirgitom. Please be
Writing and reading bits from\to Word
It's my first post on this forum, so maybe I haven't noticed a post answering to my question, if it have been already written. I've read posts of using Zenon Logic and Combined elements etc. to read bits from word, but it haven't solved my issue if I
Setting values in Editor and using them in Runtime
Hallo every body, I have some problems with settings values!!! I have a dll which I developed in Visual Studio 2010 with C#. This Dll has a Form in which I can set some values in Editor and I will use this values in runtime.. To save some configuraion
WPF Element Indicating Instrument
Hi There, I have managed to get all the WPFs working well except this one: WPF Element Indicating Instrument I cant find where to link my variable so that the indicator changes. I read a previous post that suggests the WPF was not formatted correctly
Tooltip
Hi, Is it possible to set the tooltip of an object using VSTA in runtime? I'm using VB.net. I have got the mouse over event working but object.tooltip is read only. This is a migrated post! Originally posted on 17.01.2015 by user allmendinger. Please
Sprachübersetzung mit VSTA
Hallo, könnten sie mir an Hand eines Beispiels zeigen, wie die Sprachübersetzung im VSTA zur Laufzeit der Runtime anzuwenden ist? Eine weitere Frage wäre, wenn ich mehrere Sprachdateien in meinem Projekt habe, wie ich kann ich über VSTA ermitteln, welche
VSTA ProjectAddin not being executed?
I'm trying to implement OnlineContainer functionality to perform certain actions if a variable received from the PLC is changed. I've copied and implemented the code from the tutorial in this forum. However, the code isn't being executed. I've tried adding
Remanente Variablen per VSTA schreiben
Hallo, laut der Dokumentation werden Variablen mit der Eigenschaft"remanent" erst beim runterfahren der RT in ein File geschreiben. Leider hat dies zur Folge, dass bei einem Spannungsausfall „nderungen noch nicht gespeichert sind. Kann ich das sicher
PictSwitch and Trend data
Hi We have a picture switch function that points to an Extended Trend picture. When we assign it in the editor, we can add/remove curves, but is there any way to do this runtime? Is it possible to edit the picture switch function through vsta? This is
Änderungen werden für die Runtime nicht erzeugt
Hallo, wir haben folgendes Problem: Die in VB.NET entwickelte Anwendung wird in der Runtime nicht ausgeführt (in anderen Projekten funktioniert VB.NET einwandfrei). Werden „nderungen im VB.NET Project Addin getroffen, gebuilded und anschließend die Runtimedateien
Wpf
Hi, How can I create a Dll which use WPF inteface ? Bests, Parisa This is a migrated post! Originally posted on 04.12.2014 by user parisamoosavi. Please be aware that information can be outdated.
CelItemAdded Event in VSTA
Hello everybody, How can I recieve a message, when an Item add to Cell? Like in VBA: C# Code: Public WithEvents celObject As Cel Private Sub celObject_CelItemAdded(ByVal obItem As ICelItem) MsgBox obItem.Text End Sub Private Sub celObject_CelListSelectionChanged(ByVal
Msgbox nach x Sekunden beenden?
Hallo. Ich habe ein Problem. Wenn nach Absetzen eines bestimmten Befehls ein dazugehörende externer Eingang nicht gesetzt wird, melde ich das mit einer Msgbox. Wenn der Bediener die Meldung nicht wegklickt und der automatische LogOut nach Zeit x durchgeführt
Manipulation 'Screen switch'-Rt-Function via C#
Hallo, ist es möglich bei einer RtFunction vom Typ 'Screen switch' den 'Picture'-Namen zu manipulieren. Hintergrund ist der, ich möchte mit nur einer RtFunction verschiedene aufgebaute Popups öffnen. Zusätzlich tausche ich über Substitution den Index
Problem with VSTA
Hi, When I want to open VSTA editor in Zenon I see this windows and I can not save it. bests, Parisa This is a migrated post! Originally posted on 19.11.2014 by user parisamoosavi. Please be aware that information can be outdated.
Extra Properties
Hello, I want to develope an activex oder it's better to say an usercontrol in C# and I want to set some extra properties with "Properties Button". But I don't know how to define a form in Visual Studio which kann be used and displayed with this Button.
Configuring WPF Element
Dear Support Team, I try to configuring the WPF element in Zenon. I downloaded the Vertival Bargraph, Horizondal Bargraph and Indicating_instrument from Copa Data website. I assigned variable to the Vertical and Horizondal Bargraph and it is working good.
Get Driver IP Programmatically
Hi, is there a way to get the IP from a Driver in Zenon? Until now I can just get the name of the driver from where a variable come from, but I would like to get the IP of this driver. I also checked the DynProperties of the Drivers and there is just
Error-com exception was unhandled
Hi support team, while executing code in VSTA we came across the error. I am attaching the snap of error.also the snap of referred code. Please help if somebody have idea about the error. This is a migrated post! Originally posted on 20.10.2014 by user
get Alarmclass name at RT start
Hello, is there a way to get the name (and not the ID) of the alarmclass designated for a variable when it reaches a Limit at the RT? I have to alarm classes in my Project: 0 - Info 1 - Error myVar has at Limit 1 the Alarm 1 - Error. With this I get the
API Interfacing with Zenon
Dear All, I am using Zenon 7.00. We are trying to interface the Zenon variable with VBDotNet. How can we get the API (.dll file) file for interfacing with zenon and VBDotNet....? Your quick reply is very helpful for us to work on this task... Best Regards,
BacNet Prioritäten Array in VBA auslesen
Hallo, ich habe nochmal eine Frage bezüglich BacNet. Ich möchte das Prioritätenarray einer Analogen Ausgangsvariable in VBA auslesen. Die Variable wurde direkt vom Treiber importiert mit dem Property Priority-Array. Nun bin ich überfragt wie es möglich
VSTA Editor lässt sich nicht mehr öffnen
Hallo, Ich kann in einem Projekt (in allen Anderen ist es möglich) den VSTA Editor auf einmal nicht mehr öffnen. Habe schon alles versucht, Neustart, usw. Habe anscheinend das selbe Problem wie der Herr: http://www.copadata.com/forums/showthread.php?t=2872
Passwords.CheckLogin() - parameter problem
Hi all For user administration via VSTA I want to check a password entry in order to open a user edit dialog. I want to check if the password is correct, but not to login the entered user... The online help tells a lot about the Passwords.CheckLogin()
Web services-WSDL
Hi support team, We are working on a project where customer has the following requirements for Interfacing with ZENON. Customer is using SOAP based Web Services that required communicate with ZENON System. Can you please let us know if the ZENON supports
Events wont Debug in the RT
Hello, I have an issue with the debugging of an event. My code works without error and the event works too when I start the runtime and the event happens. When I start the debug session in the Runtime, the events wont run anymore. When I start the debug
Get Tagname of variables at RT in all available languages
Hello, I am using zenon 7.11 and C# and here is my problem: I have a variable (A) with a Tagname with a Key Text (@AText) . I have 3 language text files (german, english and spanish) in my sql folder of the project (C:\ProgramData\COPA-DATA\SQL2012\GUID
SetMemCfg & milliseconds
Hello support team. In this post http://www.copadata.com/forums/showthread.php?t=2036&highlight=dwTimestamp I found content description of online variable value for shared memory. As I can see, it has not field for milliseconds. So is it impossible to
Get the value of a boolean variable
Hi, For some reason the following method C# Code: this.Variables().Item("intern_rcp_Misplaced Pack Position").get_Value(0)) returns the value -2147483648? However the variable is a boolean so I would expect to see a 0 or 1. I have had this before on other
Changing a RGMRecipe Items value using VSTA
Hi, The method set_DynamicProperties of the RGMRecipeValue object does not seem to alter the value. I have written the following code; C# Code: public void Macro_editRecipeItem() { String newRecipeName; newRecipeName = this.Variables().Item("rcpNewRecipeName").get_Value(0).ToString();
(Ziel-) Variablen eines verknüpften Symbols auslesen
Hallo! Lässt sich innerhalb von VSTA die Verknüpfung auf (Ziel-) Variablen eines Bildelementes (Verknüpftes Symbol) erfahren? Um das Problem genauer zu beschreiben: Ich verwende nur einen Teil eines festen Variabelstamms. Derzeit wird der komplette Stamm
Systemvariable - Message Control gesperrt / freigegeben
Hallo zusammen, es gibt bei Message Control ja die generelle Möglichkeit über die Funktionen „Sende Nachricht aktivieren“ und „Sende Nachricht deaktivieren“ das Message Control zu sperren bzw. freizugeben. Leider habe ich aber keine Möglichkeit
Zugriff auf Variablen von anderen Ebenen
Hallo! Ich hab derzeit Probleme mit dem Einbinden von Variablen aus einer anderen Ebene. Leider habe ich dafür keine Beispiele und muss es mir daher aus den Fingern ziehen. Dabei versuche ich Variablen aus der Projektebene in der Geräteebene abzufragen.
Password().CreateUser
Hallo Zusammen, in VSTA gibt es die Passwords().CreateUser() Methode um einen User anzulegen. Dieser User ist aber dann kein Admin. Gibt es eine Möglichkeit einen Admin über VSTA anzulegen ? Danke für Tips. Gruß Armin This is a migrated post! Originally
Erstellen eines Application Objekts
Hallo, ich stehe vor dem Problem innerhalb einer Windows-Form auf die Klasse ThisProject, zur Verwendung von „this“, zugreifen zu wollen (Quellcode in C#). Mir wurde nun erklärt, dass dies mit der Erstellung eines eigenen zenon.application Objekts
Übergang der Ausführung vom Clienten auf Server
Hallo, ich habe eine Frage bezüglich der Ausführung einer Funktion. Wir haben eine WindowsForm entworfen, die auf dem Clienten ausgeführt wird. (funktioniert) Hier wurde beim Makroaufruf Client ausgewählt. Nun sollen die eingegeben Daten jedoch am Server
Datenpunkt einem bestehenden Rezept hinzufügen
Hallo, ich möchte einem bestehenden Standard-Rezept ein Datenpunkt über C# hinzufügen. Leider funktioniert dies nicht, weil mir nicht ganz klar ist was ich hier (???) übergeben muss. Laut Hilfe ist dieser Parameter optional, laut C# werde ich aber aufgefordert
IMportDirect Parameter
Ich bins schon wieder Die Parameter der Funktion: ImportDirect(BSTR bsFileName, VARIANT_BOOL bIECDTOvw, VARIANT_BOOL bUDTOvw) sind - soweit ersichtlich - nirgends beschrieben und für den Laien auch nicht Dechiffrierbar :confused: was bedeuten diese beiden
Alarm Gruppen anlegen
Hallo ich hab irgendwo in der Hilfe gelesen, dass die AlarmGruppen nicht als Objekt verfügbar sind. Ich habe auch keine andere Möglichkeit gefunden, via VBA/VSTA Alarmgruppen anzulegen. Ich würde gerne Alarme aus einer Struktur aktivieren, einen Text
Next Page