Search:

Type: Posts; User: christian.bauer

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    15,924

    Re: Signature Test Thread

    test 123
  2. Replies
    6
    Views
    13,763

    Re: Function parameters - dynamic change

    Hi dcs.engineer,

    this functionality is possible with the help of VBA/VSTA.
    During the runtime, it's possible to change the (dyn)properties of a Screen Switch function temporarily and execute it...
  3. Re: how to get selected item from commbobox ? and add?

    Hi backjahyun,

    here you can find the events which are triggered by a Combobox:

    https://msdn.microsoft.com/en-ca/library/system.windows.forms.combobox_events(v=vs.110).aspx

    May the...
  4. Re: How can I use different .NET Framework version?

    Hi backjahyun,

    if you use a WPF element in zenon, you can also use newer .NET Framework versions.
    See zenon help:
    Manual -> WPF element



    BR
    Christian
  5. Replies
    2
    Views
    6,250

    Re: how to use clr option in vsta?

    Hi backjahyun,

    what kind of clr option do you mean?
    If you want to clear the Output window in zenon Editor, this is not possible.


    BR
    Christian
  6. Replies
    9
    Views
    14,572

    Re: How do I use Variables?

    Hi,

    in general, you can find lots of information in the Microsoft Developer Network (MSDN).
    In the following link, it is mentioned how you can handle the selected item of a Combobox:...
  7. Replies
    9
    Views
    14,572

    Re: How do I use Variables?

    Hi backjahyun,

    in the following zenon help chapter, you get some further Information about the API-function.

    But basically it can be done as the following (of course, just in the runtime):
    ...
  8. Re: BacNet Prioritäten Array in VBA auslesen

    Hallo,

    damit man Variablen über VBA/VSTA lesen kann, müssen diese "advised" sein.
    Eine Variante ist die Einstellung "permanent lesen". In VBA selbst kann man das über einen sogenanneten Online...
  9. Replies
    1
    Views
    9,101

    Re: Using Variables form Zenon in C#

    Hi DavidMarek,

    you did not define you local variable, so therefore you tried to access a null reference which is not possible.
    A proper way can look like this:

    public void...
  10. Replies
    1
    Views
    8,252

    Re: Zenon Event bei Rt Function

    Hallo Brenner,

    es gibt ein Event in VBA und VSTA, welches kurz vorm Ausführen einer zenon Funktion ausgelöst wird.
    In folgendem Hilfekapitel gibt es weitere Infos und ein VSTA Beispiel:
    Manual...
  11. Re: Stopping runtime from windows via VBS

    Hi ruslan_zakirov,

    may you just execute the zenon function "exit runtime" in your VBA code. This should actually close the zenon runtime as well as all processes which belongs to it.


    BR...
  12. Replies
    2
    Views
    9,642

    Re: Variablen aktiv/inaktiv schalten

    das kann man natürlich machen, aber funktioniert über die API genauso wie in zenon nur im zenon Editor und bei Variablen Arrays. In der Hilfe unter folgendem Kapitel findest du auch ein Code...
  13. Replies
    1
    Views
    8,361

    Re: Change RT Path

    Hi jwick8801,

    Yes, this can be done with the help of DynProperties.


    Public Sub Macro_changeProps()

    Me.ActiveDocument.set_DynProperties("WorkingPath", "C:\Temp\myVSTAPath")

    ...
  14. Replies
    1
    Views
    8,240

    Re: Hex - Color für Limit konvertieren

    Hallo schirgitom,

    unter folgendem Link solltest du ein paar Möglichkeiten finden:

    http://stackoverflow.com/questions/1139957/c-sharp-convert-integer-to-hex-and-back-again

    zusätzliche Info:...
  15. Replies
    2
    Views
    9,275

    Re: Eigenschaft "RangeFromVar" anpassen

    Hi,

    diese Eigenschaft kann man über die zenon API bearbeiten, allerdings muss man im Anschluss den RGM speichern.


    Public Sub setRGMProp()

    Dim myRGM As RGMRecipeGroup
    Dim myRGMVar As...
  16. Replies
    6
    Views
    13,250

    Re: Access to Zenon Library with C/C++?

    Hi,

    you need to include "zenon programming interface library" as a reference.
    Afterwards, you can access the zenon runtime the following way:


    //get the project name of the runtime
    ...
  17. Re: VSTA Code not the same in RT than in Develeopment

    Hi,

    did you write your VSTA in the proper VSTA editor? Did you load the projectAddin (select zenon project -> programming interface -> VSTA)
    To open VSTA editor in zenon via "File -> Open VSTA...
  18. Replies
    1
    Views
    8,195

    Re: Zugriff auf Farbpalette

    Hallo nollh,

    auf die Farbwerte einer Farbpalette kann man ebenfalls über DynProperties zugreifen. Dabei bekommt man pro Palette einen String zurück, welcher alle Farben der Palette beinhaltet....
  19. Replies
    14
    Views
    15,271

    Re: .NET Framework version

    Hi loanvar,

    Due to the license terms and conditions of the .NET Framework 4.0 and higher, zenon 7.11 works with .NET Framework 3.5.


    BR
    Chris
  20. Replies
    2
    Views
    9,607

    Re: Bildumschaltfunktion für Zeitfilter

    Hallo Tobi,

    wenn bei der Bildumschaltfunktion ein relativer Zeitfilter ausgewählt ist, sollte man nur einen Parameter eingeben müssen, und zwar wie lange man in die Vergangenheit blicken möchte....
  21. Replies
    5
    Views
    12,209

    Re: PictSwitch and Trend data

    Hi brc,

    yes, it is possible to add curves in the runtime.
    Therefore, you have to open the VSTA-editor with the "ProjectAddin" and create a macro, which modifies your runtime function to a trend...
  22. Replies
    16
    Views
    24,607

    Re: CelItemAdded Event in VSTA

    Hi parisamoosavi,

    the problem is, that due to any reason, the project GUID is not added in the "ThisProject.Designer.xml"/"ThisProject.designer.cs" files, and may somewhere else, because adding...
  23. Replies
    16
    Views
    24,607

    Re: CelItemAdded Event in VSTA

    Hi,

    with your workspace backup I had the same problem.
    So I created a new project inside the workspace, added the VSTA code and everything works fine. :confused:

    May you can try this as well...
  24. Replies
    16
    Views
    24,607

    Re: CelItemAdded Event in VSTA

    Hi,

    it can be empty if you did not create the runtime files yet.
    If you press in zenon editor CTRL+ALT+E when your project is selected, you will find in zenon -> system folder a vsta.zip file as...
  25. Replies
    1
    Views
    8,202

    Re: Automatische/Manuelle Adressierung

    Hi wenzm,

    das Umstellen auf Manuelle Adressierung kann man in VBA mit folgendem dynProperty lösen:


    'change Offset calculation to "Manual addressing"
    myVar.DynProperties("OfsSource") = 2

    ...
Showing results 1 to 25 of 44
Page 1 of 2 1 2