Symnbol Access by VBA
Hello, how can I access elements in a symbol by VBA? I was trying something like: thisProject.DynPictures.Item("VERWALTUNG").Elements.Item("Wafer_Anzeige").Elements.Item("Wafer").AktiveX to access a an activeX element in an embedded symbol - without success.
Name und Ort vom Commandbutton
Ich benötige ein VBA-Makro mit dem ich den Namen des Commandbutton der gerade gedrückt wurde auslesen kann. Ich probierte es indem ich mit einer Schleife alle Elemente auf einem Picture auf ihr Fucus prüfte. Leider findet er kein Element. Bei der Frage
Help with OnlineVariables in VBA
Hello I am using VipWin 6.01 softver for my SCADA project and i am trying to create OnlineVariables in VBA for this project. My variables are Boolean, and i have 6 variables i want to track from VipWin to VBA. I try everything, including this code http://www.copadata.com/forums/showthread.php?t=41
control menu from VBA
Is it possible to control the menu.properties from VBA?. for example I want to activate deactivate a menu option depending on value of a variable thanks in advance This is a migrated post! Originally posted on 07.02.2011 by user joulz. Please be aware
ActiveDirectory User
Hallo zusammen, wie kann man im UserChange-Event.unterscheiden, ob es sich bei dem gerade angemeldeten Benutzer um einen AD-User oder einen aus der lokalen Benutzerverwaltung handelt? Gruß Max This is a migrated post! Originally posted on 02.02.2011 by
ActiveX question.
Hello to all. I need your help. I have created a VolumeBar ActiveX in Delphi , but I need to insert the value of the movement of the volume bar can be set from an external variable,in this case from the zenOn project variable. When I want to select the
Gezielte Generierung vom Alarm - Ticket Erstellung
Hallo, Im Bild habe ich Standartzustande vom graphischem Element z.B. LED Kombi Element dargestellt. Dieses kann vier Zustande haben. 1. rotblinkend falls Alarm vorkommt und nicht quittiert wurde, 2. rot ohne Blinken - falls Alarm ansteht und quittiert
Problem of VBA environments: in conflict with MS-Office?
I encounter a problem after re-install my PC: the zenon editor (6.22 SP1) can’t start correctly after the installation of MS-Office.. 1. I re-install my PC by using a Windows XP SP3; 2. Everything is OK when the installation of ZenOn 6.22 SP1, the editor
Online Container zertören
Hallo es gibt ja zwei Wege einen Online Variable in dem System abzumelden Wenn ich es richtig verstehe muss folegen Reeihenfolge eingeahlten werden. 1) Container undefin setzten 2.) Alle Elemente aus dem Container entfernene 3.) Container zerstören Wol
DragDrop operation
I try to realize Drag&Drop functionality for symbol element in Zenon Runtime mode. I have read post http://www.copadata.com/forums/showthread.php?t=486&highlight=dragdrop for example. I wrote macros for DragBegin and it works. But when I clicked leftbutton
Access to Excel from SCADA Runtime
Hello :) I've got one more problem. Please help. I have to read data from xls-file in Rumtime mode. At once the Excel application must not open. I've found a library "Excel" in VBA but I don't know how to use it. Could you help me? This is a migrated
Variablen XML-File über Wizard importieren
Hallo ich habe ein Problem beim Variablen Import über einen Wizard . Ich habe ein Projekt mit mehreren BUR20032-Treiber. Der Treiber existiert im Project, der Aufruf des Property wird jedoch ignoriert. Kann z&.22 nicht automatisch die Variablen den entsprechenden
Zoom Objektliste
Hallo, ich nutze zur Zeit zenOn 6.22. Dort besteht die Möglichkeit mit Zoom Objektlisten zu arbeiten. Nach einem Klick auf ein Objekt aus dieser Liste, springt die Weltübersicht direkt zu diesem Objekt. Nun meine Frage. Ist es möglich diese Liste in eine
Error during the first macro activation
Hello! I need a help again. An error "Type mismatch" is appeared during first activation of VBA macro in Runtime mode. It has happened when I tried to convert variable with type of double to string : b = thisproject.variables.item(i).value a=str(b) And
Font List Import
Guten Morgen, zur Zeit verwende ich Zenon 6.22. Ist es über VBA möglich Schriften zu importieren ? Ich hab für alle anderen Dinge eine Import Funktion unter VBA gefunden, nur nicht für Fontlisten. Vielleicht habe ich es auch nur übersehen. Für einen kleinen
Pop-up vermeiden
Hallo Zusammen, ich bearbeite mittels VBA die Sprachtabellen meines Projekts. Jedes Mal wenn ich eine Sprachtabelle speichere, erscheint folgendes PopUp. Gibt es eine Möglichkeit das –ffnen dieses PopUp zu vermeiden? Grüße rln This is a migrated post!
Elemente eines Symbols manipulieren
Hallo Zusammen, Kann man selbst erzeugte Symbole nachträglich mittels VBA Wizard manipulieren, bzw. aktualisieren?? Ich versuche durch VBA verschiedene Elemente eines bestehenden Symbols der Projekt-Symbolbibliothek, z. B. ein Combielement, zu manipulieren.
UserLevel0- 3 bei Verwendung von Benutzergruppen
VBA - UserLevel bei Gruppenzuordnung (V6.50) VBA Information UserLevel0 - UserLevel3 geben keine Berechtigungsinformationen zurück, wenn die Benutzerrechte über Gruppen zugeordnet werden. Werden die Berechtigungen je Benutzer einzeln vergeben können die
Mit VBA auf Sprachtabelle in der Runtime zugreifen
Hallo miteinander, wie kann ich am einfachsten in der zenon- Runtime auf die Sprachtabelle zugreifen. Mein Ziel ist es den sprachabhängigen Text auf eine VBA Stringvariable zuschreiben. Gruß stimpfig This is a migrated post! Originally posted on 29.09.2010
How variable get or find COA and IOA
How variable get or find COA and IOA COA and IOA fields ASDU for protocol IEC60870-5-104 ; This is a migrated post! Originally posted on 21.09.2010 by user aleks2. Please be aware that information can be outdated.
Wizard in ZenWorkspace_OnPreBuild ausführen
Hallo, ich möchte vor jedem Erzeugen der Runtime Dateien automatisch einen Wizard ausführten, der das Projekt durchsucht und eine Projektdatei aktualisiert. Das Starten mit ZenWorkspace_OnPreBuild klappt nicht wie erhofft, weil die Progressbar des Editors
VBA macro LeftClickUp for button doesn't work.
Hello! I need your help again... I've got a silly question today: I made a macro in SCADA Editor: MYPROJECT\Programming Interface\VBA macros Macro Modules\ModuleElement\LeftClickUp\LeftClickUp_MyProc Then I've put a button onto my screen and set my macro
Project compilation from VBA
Hello. Please help. I have to compile my SCADA-project from VBA-macro in Editor mode. I tried to do this with a method described below ( I've found this method in the SCADA help). But it doesn't work and falls out with error 748 "Method or property is
VBA Makro geöffnete Bilder schliessen
Hallo ist es möglich, das man im Editor über ein VBA Makro alle geöffneten Bilder schließt. Kann man anders herum aus einen Wizard ein ZenOn Bild im Editor öffnen Grüsse Frank (Editor Version Z6.22.1) This is a migrated post! Originally posted on 31.08.2010
Default Zustand eines Remas
Hallo, ich versuche den Grenzwerttext des Defaults Zustands eines Remas per VBA zu bearbeiten. Ich habe nichts in der Hilfe gefunden, ist diese Bearbeitung möglich? Freundliche Grüße, rln This is a migrated post! Originally posted on 24.08.2010 by user
Zugriff mit VBA auf Werte aus Harddisk Datenspeicherung
Hallo, ich habe eine Reihe von Variablem mit aktivierter und parametrierte Harddisk Datenspeicherung. Nun möchte ich per VBA auf die Harddisk-Archive der einzelnen Variablen zugreifen, einzelne Werte von bestimmten Zeitpunkten auslesen und diese Werte
Access properties in symbols
I would like to check the properties of all the elements in a project with a wizard. With symbols (element.type = 129) I would like to see the type of the elements grouped in the symbol (as I can do watching the exported XML page that contains it) but
Access array variable from VBA
Hi Is it not possible to access an array variable at top level from VBA and use SubItem? I have a variable testarray with Array Dim 1: 4 In VBA: VBA Code: Dim var As Variable Set var = ThisProject.Variables.Item("testarray") var is Nothing When I change
VBA Engineering and Active X
Hi, Can I use VBA technology in Zenon to create custom macros, calculations and reports? And does Zenon shows flexibility in executing any Microsoft or third party Active X Controls? Regards This is a migrated post! Originally posted on 09.03.2010 by
Mit Java COM-Interface zenOn starten
Hallo, ich habe folgendes Problem: Ich möchte zenOn Editor mithilfe von einer COM-Schnittstelle (jawin) starten und damit arbeiten. Es funktioniert aber nur soweit, dass ich zenOn NUR starten kann, das aber dafür benutzte Programm aber dann nicht terminiert.
Text button DynProperties[GET] text1 problem
Hello, i need to get Text line 1 and 2 from Text button and put new ones, what is wrong in my syntax because I always get empty value. Thanks. VBA Code: Public Sub LeftClickUp_1(obElem As Element) Dim ss As String thisProject.DynPictures.Item("EVENT_List_expert").Elements.Item("Text
Wie kann ich im VBA für TextOut den Font ändern?
In der Zenon Hilfe steht unter VBA->Draw->Textout folgender Hilfetext: The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color. Wie kann ich den Font bzw. die Schriftgröße
Variablen Array Zugriff
Hallo, ich hab eine Strucktur mit 3 Elementen generiert. Die Elemente sind vom Typ string mit den Namen ID, Name, Charge. Ich habe ein Array Definiert, das von diesem Neuen Typ ist und den Namen Daten hat. Nun würde ich gerne auf die einzelnen Elemente
Change RtFunctions parameters in VBA
Hello! I want to get rid of the "Linked variable not found:" messages without erasing the functions. It is not possible to change the ParamString because it's "Read only" so i tried to set the type to a beep sound, which seemed to work, but there was
Template copy across projects
Hi I have the following code which does not work. VBA Code: Public Sub CopyDepToDep() Dim dep1 As Project Dim dep2 As Project Dim temp1 As Template Dim temp2 As Template Set dep1 = MyWorkspace.Application.Projects.Item("DEP01") Set dep2 = MyWorkspace.Application.Projects.Item("DEP02")
AutoLogout
Hello, I try to change the AutoLogout mode during runtime. VBA Code: Public Sub enableautologoff() thisProject.DynProperties("AutoLogout") = True thisProject.DynProperties("AutoLogoutTime") = 1 thisProject.Variables.Item("logoutstate").Value = "Enabled"
References from VBA
Hello! Please help me to get access to References. I have to set programmatically some references in SCADA VBA. I can do it in Microsoft Excel via "ActiveWorkbook.VBProject.References" but cannot in VBA SCADA :confused: This is a migrated post! Originally
Alarm XML Export
Guten Tag! Ich habe folgendes Problem. œber die XML-Exportfunktion exportiere ich im Moment meine Alarmwerte in das XML- Format. Das ganze manipuliere ich in VBA mit folgendem Code: With zFCT .DynProperties("Filter[0].TimeFilter[0].ARVTime1") = start
Problem with archives in VBA
Hello! I'm trying to display a graph, using an archive. The values and the date come from an Oracle database and must be displayed at the right time. Everything seems to work, except the ApplyChanges VBA Code: Public Sub ModifyArchive() Dim obArchive
Connect VBA to Oracle
Hello, I would like to connect ZenOn VBA to an Oracle 11g database, but I can not even find an ODBC Oracle driver that is compatible with the ZenOn 6.22 SP1 version. Is that connection possible via ODBC? Is there a driver which works? Thanks for answering
Next Page