Zenon WPF Element V.8.10

Total Page:16

File Type:pdf, Size:1020Kb

Zenon WPF Element V.8.10 zenon manual zenon WPF Element v.8.10 © 2019 Ing. Punzenberger COPA-DATA GmbH All rights reserved. Distribution and/or reproduction of this document or parts thereof in any form are permitted solely with the written permission of the company COPA-DATA. Technical data is only used for product description and are not guaranteed qualities in the legal sense. Subject to change, technical or otherwise. Contents 1 Welcome to COPA-DATA help ................................................................................................................ 5 2 WPF element ............................................................................................................................................... 5 3 Basics ............................................................................................................................................................. 6 3.1 WPF in process visualization ........................................................................................................................ 7 3.2 Referenced assemblies ................................................................................................................................... 8 3.3 Workflows ......................................................................................................................................................... 10 3.3.1 Workflow with Microsoft Expression Blend ................................................................................................ 11 3.3.2 Workflow with Adobe Illustrator .................................................................................................................... 11 4 Guidelines for designers ......................................................................................................................... 12 4.1 Workflow with Microsoft Expression Blend .......................................................................................... 12 4.1.1 Create button as an XAML file with Microsoft Expression Blend ...................................................... 12 4.2 Workflow with Adobe Illustrator .............................................................................................................. 16 4.2.1 Bar graph illustration ........................................................................................................................................... 16 4.2.2 WPF export .............................................................................................................................................................. 18 4.2.3 Animation in Blend ............................................................................................................................................... 20 5 Guidelines for developers ...................................................................................................................... 24 5.1 Creation of a simple WPF user control with code behind function ............................................ 24 5.2 Debugging the WPF user control in the Runtime ............................................................................. 29 5.3 Data exchange between zenon and WPF user controls .................................................................. 34 5.3.1 Data exchange using dependency properties .......................................................................................... 34 5.3.2 Data replacement via VSTA .............................................................................................................................. 38 5.4 Access to the zenon (Runtime) object model from a WPF user control ................................... 39 5.4.1 Access via VSTA "variable link" ........................................................................................................................ 39 5.4.2 Access via marshaling ......................................................................................................................................... 44 6 Engineering in zenon ............................................................................................................................... 47 6.1 CDWPF files (collective files) ...................................................................................................................... 48 6.2 create WPF element ...................................................................................................................................... 49 6.3 Configuration of the linking ....................................................................................................................... 49 6.3.1 Properties ................................................................................................................................................................. 51 6.3.2 Events ........................................................................................................................................................................ 58 6.3.3 Transformation ...................................................................................................................................................... 59 6.4 Validity of XAML Files ................................................................................................................................... 62 6.5 Pre-built elements .......................................................................................................................................... 63 6.5.1 Analog clock - AnalogClockControl .............................................................................................................. 64 6.5.2 Bar graph vertical - VerticalBargraphControl ............................................................................................ 65 6.5.3 Progress bar - ProgressBarControl ................................................................................................................ 66 6.5.4 COMTRADE-Viewer.............................................................................................................................................. 66 6.5.5 Energy class diagram........................................................................................................................................... 78 6.5.6 Pareto diagram ...................................................................................................................................................... 79 6.5.7 Circular gauge control ........................................................................................................................................ 82 6.5.8 Sankey Diagram .................................................................................................................................................... 86 6.5.9 Temperature indicator - TemperatureIndicatorControl ........................................................................ 87 6.5.10 Universal slider - UniversalReglerControl ................................................................................................... 88 6.5.11 Waterfall chart ........................................................................................................................................................ 90 6.5.12 BACnet WPF Control ........................................................................................................................................... 92 6.6 Display of WPF elements in the zenon web client.......................................................................... 107 6.6.1 Engineering in the zenon Editor ................................................................................................................... 108 6.6.2 VSTA code (complex) ........................................................................................................................................ 108 6.6.3 VSTA code (simplified) ...................................................................................................................................... 110 6.7 Examples: Integration of WPF in zenon .............................................................................................. 111 6.7.1 Integrate bar graph as WPF XAML in zenon ............................................................................................ 111 6.7.2 Integrate button as WPF XAML in zenon .................................................................................................. 115 6.7.3 Integrate DataGrid Control in zenon .......................................................................................................... 121 6.8 Error handling ............................................................................................................................................... 128 Welcome to COPA-DATA help 1 Welcome to COPA-DATA help ZENON VIDEO-TUTORIALS You can find practical examples for project configuration with zenon in our YouTube channel (https://www.copadata.com/tutorial_menu). The tutorials are grouped according to topics and give an initial insight into working with different zenon modules. All tutorials are available in English. GENERAL HELP If you cannot find any information you require in this help chapter or can think of anything that you would like added, please send an email to [email protected]. PROJECT SUPPORT You can receive support for any real project you may have from our Support Team, who you can contact via email at [email protected]. LICENSES AND MODULES If you find that you need other
Recommended publications
  • Escuela Politecnica Nacional
    ESCUELA POLITECNICA NACIONAL FACULTAD DE INGENIERIA DE SISTEMAS DESARROLLO DE UNA APLICACIÓN PARA APRENDIZAJE Y RECONOCIMIENTO DE LENGUAJE ESCRITO PARA NIÑOS CON SINDROME DE DOWN PROYECTO PREVIO A LA OBTENCIÓN DEL TÍTULO DE INGENIERO EN SISTEMAS INFORMÁTICOS Y DE COMPUTACIÓN JOHANA MARISOL TERÁN BOLAÑOS [email protected] MARÍA DE LOS ÁNGELES YUGCHA JACHO [email protected] DIRECTOR: ING. MYRIAM HERNÁNDEZ [email protected] Quito, Febrero de 2009 I DECLARACION Nosotros, Johana Marisol Terán Bolaños y María De Los Ángeles Yugcha Jacho , declaramos bajo juramento que el trabajo aquí descrito es de nuestra autoría; que no ha sido previamente presentada para ningún grado o calificación profesional; y, que hemos consultado las referencias bibliográficas que se incluyen en este documento. A través de la presente declaración cedemos nuestros derechos de propiedad intelectual correspondientes a este trabajo, a la Escuela Politécnica Nacional, según lo establecido por la Ley de Propiedad Intelectual, por su Reglamento y por la normatividad institucional vigente. _______________________________ ___________________________________ Johana Marisol Terán Bolaños María De los Ángeles Yugcha Jacho II CERTIFICACION Certifico que el presente trabajo fue desarrollado por Johana Marisol Terán Bolaños y María De Los Ángeles Yugcha Jacho , bajo mi supervisión. ___________________________________ Ing. Myriam Hernández DIRECTORA DEL PROYECTO III AGRADECIMIENTOS Agradezco primeramente a Dios, por que es el mi motor de vida, con su fortaleza y sabiduría logre pasar una primera etapa. A mis padres por darme la vida y estar aquí, especialmente a mi Madre querida que es lo más importante de mi vida a quién amo mucho que sin la ayuda y el apoyo de ella no podría estar donde estoy.
    [Show full text]
  • Escuela Politécnica Del Ejército Sede Latacunga
    ESCUELA POLITÉCNICA DEL EJÉRCITO SEDE LATACUNGA CARRERA DE INGENIERIA DE SISTEMAS E INFORMÁTICA TEMA: “DISEÑO Y CONSTRUCCIÓN DE SITIOS WEB MEDIANTE LA TECNOLOGÍA RICH INTERNET APLICATIONS (RIA).” CASO PRÁCTICO: DISEÑO DEL SITIO WEB DE LA EMPRESA BABEL SOFTWARE DEL ECUADOR. PROYECTO PREVIO A LA OBTENCIÓN DEL TÍTULO DE INGENIERO EN SISTEMAS E INFORMÁTICA JUAN GABRIEL PEÑAHERRERA SANDOVAL DIEGO ISMAEL VELASCO SÁNCHEZ Latacunga, Agosto 2009 ESCUELA POLITÉCNICA DEL EJÉRCITO CARRERA DE INGENIERIA DE SISTEMAS E INFORMÁTICA CERTIFICADO ING. JAVIER MONTALUISA (DIRECTOR) ING. JOSÉ CARRILLO (CODIRECTOR) CERTIFICAN: Que el trabajo titulado “DISEÑO Y CONSTRUCCIÓN DE SITIOS DE WEB MEDIANTE LA TECNOLOGÍA RICH INTERNET APLICATIONS (RIA). CASO PRÁCTICO: DISEÑO DEL SITIO WEB DE LA EMPRESA BABEL SOFTWARE ECUADOR.” realizado por los señores: Juan Gabriel Peñaherrera Sandoval y Diego Ismael Velasco Sánchez ha sido guiado y revisado periódicamente y cumple normas estatutarias establecidas por la ESPE, en el Reglamento de Estudiantes de la Escuela Politécnica del Ejército. Debido a que constituye un trabajo de excelente contenido científico que coadyuvará a la aplicación de conocimientos y al desarrollo profesional, SI recomiendan su publicación. El mencionado trabajo consta de UN empastado y UN disco compacto el cual contiene los archivos en formato portátil de Acrobat. Autorizan a los señores: Juan Gabriel Peñaherrera Sandoval y Diego Ismael Velasco Sánchez que lo entreguen al Ing. Edison Espinosa, en su calidad de Director de Carrera. Latacunga, 31 de agosto
    [Show full text]
  • A Cost Effective Solution for Development Environment for Data Acquisition, Monitoring and Simulation of PLC Controlled Applications
    Telfor Journal, Vol. 6, No. 1, 2014. 75 A Cost Effective Solution for Development Environment for Data Acquisition, Monitoring and Simulation of PLC Controlled Applications Ognjen Bjelica and Srđan Lale output states. However, this can take a long time and more Abstract — It is very important to test and monitor the costs depending on the complexity of the system. Also, operation of Programmable Logic Controller (PLC) in real this solution isn’t modular because it is difficult and time time (online). Nowadays, conventional, but expensive consuming to rebuild the model if some changes are monitoring systems for PLCs, such as Supervisory Control necessary. and Data Acquisition (SCADA) systems, software and hardware simulators (or debuggers), are widely used. This The most complex system for monitoring and control of paper proposes a user friendly and cost-effective industrial processes which is widely used nowadays is development environment for monitoring, data acquisition Supervisory Control and Data Acquisition (SCADA) and online simulation of applications with PLC. The purpose system [2], [3]. This system requires the use of of this solution is to simulate the process which is controlled communication protocols between the client on one side by the PLC. The performances of the proposed development and PLC and other parts of control system on the other environment are presented on the examples of washing machine and dishwasher simulators. side. Although the SCADA is a standard monitoring and Keywords — Data acquisition, monitoring, PLC, data acquisition system in industry, it isn’t easy to make, simulation. so it isn’t appropriate in simple control systems, when it is necessary to make a simple cost-effective monitoring I.
    [Show full text]
  • The Following Documentation Is an Electronically‐ Submitted Vendor Response to an Advertised Solicitation from the West
    The following documentation is an electronically‐ submitted vendor response to an advertised solicitation from the West Virginia Purchasing Bulletin within the Vendor Self‐Service portal at wvOASIS.gov. As part of the State of West Virginia’s procurement process, and to maintain the transparency of the bid‐opening process, this documentation submitted online is publicly posted by the West Virginia Purchasing Division at WVPurchasing.gov with any other vendor responses to this solicitation submitted to the Purchasing Division in hard copy format. Purchasing Division State of West Virginia 2019 Washington Street East Solicitation Response Post Office Box 50130 Charleston, WV 25305-0130 Proc Folder : 702868 Solicitation Description : Addendum No 2 Supplemental Staffing for Microsoft Applicatio Proc Type : Central Contract - Fixed Amt Date issued Solicitation Closes Solicitation Response Version 2020-06-10 SR 1300 ESR06092000000007352 1 13:30:00 VENDOR VS0000022291 Speridian Technologies LLC Solicitation Number: CRFQ 1300 STO2000000002 Total Bid : $425,000.00 Response Date: 2020-06-09 Response Time: 13:23:37 Comments: FOR INFORMATION CONTACT THE BUYER Melissa Pettrey (304) 558-0094 [email protected] Signature on File FEIN # DATE All offers subject to all terms and conditions contained in this solicitation Page : 1 FORM ID : WV-PRC-SR-001 Line Comm Ln Desc Qty Unit Issue Unit Price Ln Total Or Contract Amount 1 Temporary information technology 2000.00000 HOUR $85.000000 $170,000.00 software developers Comm Code Manufacturer Specification
    [Show full text]
  • Zenon Manual Controls
    zenon manual Controls v.7.11 ©2014 Ing. Punzenberger COPA-DATA GmbH All rights reserved. Distribution and/or reproduction of this document or parts thereof in any form are permitted solely with the written permission of the company COPA-DATA. The technical data contained herein has been provided solely for informational purposes and is not legally binding. Subject to change, technical or otherwise. Contents 1. Welcome to COPA-DATA help ...................................................................................................... 5 2. Controls ...................................................................................................................................... 5 3. General ....................................................................................................................................... 6 3.1 Access zenon API ......................................................................................................................................... 6 3.2 Methods ...................................................................................................................................................... 8 3.2.1 CanUseVariables ........................................................................................................................... 8 3.2.2 MaxVariables ................................................................................................................................ 9 3.2.3 VariableTypes ..............................................................................................................................
    [Show full text]
  • Windows Phone 7 Fundamentals Entscheidungshilfe, Einführung Und Stolperfallen
    Sascha Wolter | wolter.biz Windows Phone 7 Fundamentals Entscheidungshilfe, Einführung und Stolperfallen .NET Usergroup Rhein/Ruhr, Januar 2010 Microsoft .NET Application Platform Deliver applications across the UX Continuum Consistent Tools & Application Model Develop Deploy Design Browser User Experience Continuum Client New Start Philosophy Customer Design Experience Platform Different, For Good Reasons Showcase • http://www.microsoft.com/windowsphone/de- de/apps/default.aspx • http://www.zune.net/de- DE/products/software/download/default.htm About me Sascha is a professional developer and interaction designer of rich applications with focus on the Adobe Flash Platform (incl. AIR, Flash and Flex) and Microsoft .Net Continuum (incl. Silverlight and Windows Phone 7). He also works as a consultant, trainer, software- architect and author on a freelance basis and contributes articles to a number of magazines. His books and DVDs on Flash are best selling publications in Germany. He has been giving lectures at conferences like “Flash on the Beach” and “Flashforward” for several few years now. Sascha is also the founder of the leading German Adobe User Group flashforum.de with more than 100,000 members. Web: http://www.wolter.biz/ Facebook: http://www.facebook.com/saschawolter LinkedIn: http://www.linkedin.com/pub/sascha-wolter/5/a38/493 twitter: http://twitter.com/saschawolter XING: http://xing.com/profile/sascha_wolter3 Mail: [email protected] Sascha Wolter | wolter.biz Arbeitet mit bestehenden Systemen Declarative Programming Through XAML
    [Show full text]
  • Glenn County Business Associate Agreement
    GLENN COUNTY Information Services Committee 516 West Sycamore Street Willows, California 95988 Telephone (530) 934-6476 FAX (530) 934-6421 June 19, 2017 TO: Prospective Contractors FROM: Glenn County Information Services Coordinating Committee SUBJECT: Request for Proposal for Technical Consulting Services The County of Glenn is requesting proposals from highly qualified consultants with demonstrated expertise in providing technical support services which may include information technology planning, coordination and implementation and information technology infrastructure services. 1.0 Introduction: Summary of the intended procurement 1.1. The County of Glenn has maintained a Support Service Contract with a local vendor since 2003. The contract is scheduled to expire in August of 2017. The County of Glenn seeks a highly qualified consultant that can 1) provide scheduled and emergency on-site and remote technical consulting, 2) Information Technology (“IT”). analysis, planning and program coordination, and 3) other duties as assigned by the Glenn County Information Services (“IS”) Committee. 1.2 The County of Glenn intends to award a contract for the proposed consulting services, as further described in Section 2 of this RFP, that are expected to be performed for a three year term which shall be from September 1, 2017 through August 31, 2020; annual renegotiation of the contract will be at the discretion of the County and shall be based on changes to County staffing levels, network size/needs and/or funding levels. 1.3 This RFP has very specific vendor qualification requirements. Proposals will only be accepted from firms that meet those requirements. See Section 3, Qualifications, for more information.
    [Show full text]
  • Silverlight Migration Strategies Whitepaper
    Silverlight Migration Strategies Whitepaper SILVERLIGHT MIGRATION STRATEGIES A Whitepaper by Wintellect, LLC Authors: Noel Stieglitz Version 1.0 Information in this document is subject to change without notice. Any example companies, organizations, products, people, and events depicted herein are fictitious. No association with any real company, organization, product, person or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Wintellect, LLC. Wintellect may have patents, patent applications, trademarked, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Wintellect, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. Other product and company names herein may be the trademarks of their respective owners. Silverlight Migration Strategies Whitepaper Page 1 of 34 http://www.wintellect.com/ Silverlight Migration Strategies Whitepaper CONTENTS Introduction and Motivation ...................................................................................................................................
    [Show full text]
  • Zenon WPF-Element
    zenon manual zenon WPF-Element v.7.60 ©2017 Ing. Punzenberger COPA-DATA GmbH All rights reserved. Distribution and/or reproduction of this document or parts thereof in any form are permitted solely with the written permission of the company COPA-DATA. Technical data is only used for product description and are not guaranteed qualities in the legal sense. Subject to change, technical or otherwise. Contents 1. Welcome to COPA-DATA help ...................................................................................................... 5 2. WPF element ............................................................................................................................... 5 3. Basics .......................................................................................................................................... 6 3.1 WPF in process visualization ....................................................................................................................... 7 3.2 Referenced assemblies ............................................................................................................................... 8 3.3 Workflows ................................................................................................................................................. 10 3.3.1 Workflow with Microsoft Expression Blend ............................................................................... 11 3.3.2 Workflow with Adobe Illustrator ...............................................................................................
    [Show full text]
  • Microsoft Visual C# 2013 Step by Step
    Microsoft Visual C# 2013 Step by Step John Sharp Copyright © 2013 by John Sharp All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. ISBN: 978-0-7356-8183-5 Third Printing: January 2015 Printed and bound in the United States of America. Microsoft Press books are available through booksellers and distributors worldwide. If you need support related to this book, email Microsoft Press Book Support at [email protected]. Please tell us what you think of this book at http://www.microsoft.com/learning/booksurvey. Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty/ Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other marks are property of their respective owners. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events depicted herein are fi ctitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred. This book expresses the author’s views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book. Acquisitions and Developmental Editor: Russell
    [Show full text]
  • Evaluating Domain-Driven Architectural Designs and Non-Functional Architectural Attributes for Windows Phone 8 Mobile Applications
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Göteborgs universitets publikationer - e-publicering och e-arkiv Evaluating Domain-Driven Architectural Designs and Non-Functional Architectural Attributes for Windows Phone 8 Mobile Applications Bachelor of Science Thesis in Software Engineering and Management MOZHAN SOLTANI RETTA SHIFERAW SIYOUM University of Gothenburg Chalmers University of Technology Department of Computer Science and Engineering Göteborg, Sweden, June 2013 The Author grants to Chalmers University of Technology and University of Gothenburg the non-exclusive right to publish the Work electronically and in a non-commercial purpose make it accessible on the Internet. The Author warrants that he/she is the author to the Work, and warrants that the Work does not contain text, pictures or other material that violates copyright law. The Author shall, when transferring the rights of the Work to a third party (for example a publisher or a company), acknowledge the third party about this agreement. If the Author has signed a copyright agreement with a third party regarding the Work, the Author warrants hereby that he/she has obtained any necessary permission from this third party to let Chalmers University of Technology and University of Gothenburg store the Work electronically and make it accessible on the Internet. Evaluating Domain-Driven Architectural Designs and Non-Functional Architectural Attributes for Windows Phone 8 Mobile Applications © MOZHAN SOLTANI, June 2013. © RETTA SHIFERAW SIYOUM, June 2013. Examiner: MICHEL CHAUDRON University of Gothenburg Chalmers University of Technology Department of Computer Science and Engineering SE-412 96 Göteborg Sweden Telephone + 46 (0)31-772 1000 Department of Computer Science and Engineering Göteborg, Sweden June 2013 Evaluating Domain-Driven Architectural Designs∗ and Non-Functional Architectural Attributes for Windows Phone 8 Mobile Applications Mozhan Soltani Retta Shiferaw Siyoum Software Engineering and Management Software Engineering and Management Dept.
    [Show full text]
  • Understanding and Supporting End-User Debugging Strategies
    AN ABSTRACT OF THE DISSERTATION OF Valentina I. Grigoreanu for the degree of Doctor of Philosophy in Computer Science presented on December 1, 2009. Title: Understanding and Supporting End-User Debugging Strategies Abstract approved: ______________________________________________________ Margaret M. Burnett End users’ programs are fraught with errors, costing companies millions of dollars. One reason may be that researchers and tool designers have not yet focused on end-user debugging strategies. To investigate this possibility, this dissertation presents eight empirical studies and a new strategy-based end-user debugging tool for Excel, called StratCel. These studies revealed insights about males’ and females’ end-user debugging strategies at four levels of abstraction (moves, tactics, stratagems, and strategies), leading to specific implications for the design of tools. Particular results include a set of ten debugging stratagems, which generalized across three environments: the research spreadsheet environment Forms/3, commercial Windows PowerShell, and commercial Microsoft Excel. There was also evidence of the stratagems’ generalization to a fourth set of environments: interactive application design environments, such as Dreamweaver, Flash, and Blend. Males and females statistically preferred and were effective with different stratagems, and females’ stratagems were less well-supported by environments than males’ were. In addition to what stratagems our participants used, we also investigated how these stratagems were used to find
    [Show full text]