26 February 2009Dietrich Beck Update on Conventions Why (not) Using Conventions LabVIEW Style Guide CS Coding Conventions CS Color Schemes.

Slides:



Advertisements
Similar presentations
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Advertisements

Based on LabVIEW 2011 Student Edition
Javascript Code Quality Check Tools Javascript Code Quality Check Tools JavaScript was originally intended to do small tasks in webpages, but now JavaScript.
P5, M1, D1.
1 Human-Computer Interaction Screen Layout and Colour.
Most-to-Least Legible Color Combinations for Viewing on Slide Shows Color and contrast are very important tools in communication. They can be used to enhance.
Arthur Fink Page 1 Notes on Designing User Interfaces for OpenEdge GUI for.NET Arthur Fink Arthur Fink Consulting © 2008 by Arthur Fink.
© 2011 PetroSkills, LLC. All rights reserved Launch your PetroSkills company web browser. 2. Enter your User ID and Password. 3. Click the Login.
CSCU 411 Software Engineering Chapter 2 Introduction to Software Engineering Management.
Configuration Management Managing Change. Points to Ponder Which is more important?  stability  progress Why is change potentially dangerous?
Arthur Fink Page 1 Thinking about User Interface Design for OpenEdge GUI for.NET (or any other environment) by Arthur Fink
National Instruments Confidential. 2 LabVIEW Development Tips and Tricks Revealed Carl Ljungholm - LabVIEW Product Support Engineer Travis Hailey - LabVIEW.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
PaperScope: Visually Exploring the ADS Mark Holliman VOTECH Web Developer University of Edinburgh ADASS XVII, London,
Open and save files directly from Word, Excel, and PowerPoint No more flash drives or sending yourself documents via Stop manually merging versions.
Accessible Word Document Training Microsoft Word 2010.
C-TPAT Security Link Portal Online Application. Online C-TPAT Application - Part 1. Part 1 of the Online C-TPAT Application process: Complete the Company.
 Aims  To have an understanding of the significance of safety signs  Objectives  To label at least three signs  List at least three signs that you.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
CS 4310: Software Engineering
Configuration Management Managing Change. Points to Ponder Which is more important?  stability  progress Why is change potentially dangerous?
Tips and Tricks to Speed LabVIEW Development Useful Nuggets to Save You Time ni.com/labviewzone.
Commercial Database Applications Testing. Test Plan Testing Strategy Testing Planning Testing Design (covered in other modules) Unit Testing (covered.
Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.
Introduction to LabVIEW
Microsoft Wang Li, Wang Yini, Li YIcheng.  This is a presentation about Microsoft Windows7 guidelines  Wang Li K8wali00  Li Yicheng K8liyi00  Wang.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
SafeAssign Lee Henrikson March 7, Agenda What is SafeAssign Features How to use Troubleshooting Issues to consider Documentation.
Testing in Extreme Programming
Configuration Management (managing change). Starter Questions... Which is more important?  stability  progress Why is change potentially dangerous?
1 Software Development Configuration management. \ 2 Software Configuration  Items that comprise all information produced as part of the software development.
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
Support.ebsco.com EBSCOhost Visual Search Tutorial.
T-unit: Tcl Unit Test Package Automated Unit Test Package For Tcl Procedures Final Presentation Joseph Boyle Loyola Marymount University.
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 2 Creating a User Interface.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
This chapter is extracted from Sommerville’s slides. Text book chapter
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
Software Quality Assurance
Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 3. Defining the System 4. Managing Scope 5.
By The Supreme Team CMPT 275 Assignment 2 May 29, 2009.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
7 February 2008Dietrich Beck A LabVIEW Interface to ELOG ELOG Possible solution paths Status Integration into – CS ? – Domain Management System?
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
MTA EXAM Software Testing Fundamentals : OBJECTIVE 6 Automate Software Testing.
Expectations to a Control System from Different User Groups Stefan Wilke DESY, MST Heiko Ehrlichmann DESY, MPE.
Accessible Word Document Creation Using Microsoft Word 2010.
Exceptions Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See
Web Interface Design Basic GUI and Web layouts Fig H.12: Basic Layouts of Web and Graphic User Interfaces.
The Dashboard Creation Toolkit (DCT) Project M. Fátima Gómez de la Cruz (EN-ICE-MTA)
Continuous Delivery- Complete Guide
Chapter 8: Writing Graphical User Interfaces
Computer Aided Software Engineering (CASE)
Understand the Programming Process
Sample to correct Test box with subtitle.
Chapter 1 LabVIEW Basics
PowerPoint Slide Design
Understand the Programming Process
USER MANUAL - WORLDSCINET
Unit 1 Programming - Assignment 3
Java Code Review with CheckStyle
CS-Status Results from workshop 2008 Statistics Miscellaneous
EET 2259 Unit 2 Virtual Instruments
Logging In Using CAT for the Participant Version 1.6
USER MANUAL - WORLDSCINET
Presentation transcript:

26 February 2009Dietrich Beck Update on Conventions Why (not) Using Conventions LabVIEW Style Guide CS Coding Conventions CS Color Schemes

26 February 2009Dietrich Beck Why not Using Conventions conventions might contradict personal preferences "I use my own conventions" it is very hard to agree on and to accept common conventions sticking to conventions slows down development checking conventions and "refactoring of code" takes time...

26 February 2009Dietrich Beck Why Using Conventions? ideal: everybody should stick to the same conventions code is easier to maintain others might be able to read your code reduce bugs improve re-usability save time (later!) avoid re-implementation of the same functionality (if code needs to be thrown away)... of course: exceptions in specific cases

26 February 2009Dietrich Beck LabVIEW Style Guide LabVIEW development guidelines: – LabVIEW Style Checklist –LabVIEW  Help  Search the LabVIEW Help...  search for LabVIEW Style Checklist –  search for LabVIEW Style Checklist  select LabVIEW versionhttp:// –google for LabVIEW Style Checklist examples –use and wire Error in and Error out –wiring: from left to right, no hidden wires, no backward wires –document code via descriptions of VIs, controls and indicators –...

26 February 2009Dietrich Beck VI-Analyzer LabVIEW  Tools  VI Analyzer. quotes from NI-Website –"...Use the LabVIEW VI Analyzer Toolkit to improve code quality and catch potential problems earlier during development. The VI Analyzer automates code reviews and enables more exhaustive code analysis..." –"... avoid overlooking improper coding techniques that could impact an application’s performance, functionality, or maintainability. Enforce good programming practices and coding styles within teams of developers in order to ensure the readability and functionality of code. Overall, use the VI Analyzer Toolkit regularly to develop high-quality, robust LabVIEW applications..."

26 February 2009Dietrich Beck How to Use the VI Analyzer makes sense, if developer agree to coding conventions check VIs, using a prepared configuration file aim for less then  2% of failed tests –improving VIs takes about one day per library  –you might even find a few bugs

26 February 2009Dietrich Beck CS (Coding) Conventions specific for CS framework depends on LabVIEW Style Guide (LSG) further refines LSG defines exceptions from LSG defines data types for communication some features might be checked using VI Analyzer some features require a real code review...

26 February 2009Dietrich Beck SCADA GUI Design and Colors common look and feel within an application indicate safety relevant information intuitively and unambiguously red: danger blue: you should do something green: o.k. yellow: warnin

26 February 2009Dietrich Beck SCADA GUI Design and Colors example: PHELIX' "FiveColor.vi" defines colors for states user Interface –DIN EN ISO ISO 9241 –SCADA: IEC/EN (VDE 0199), IEC/EN the above is not accessible via the web. Therefore: –US Army TM 5-601: "SCADA Systems..." – –... color blind people: use rate of blinking –fast: error/fatal –slow: warning –none: o.k. (more or less) –problem: individual blink rate for indicators with LabVIEW

26 February 2009Dietrich Beck Definition of Colors (by UtilityLib) color of Boolean control/indicator background color text color (use with background color) text color (use with white background)

26 February 2009Dietrich Beck How to Use need reference of control or indicator set status of value different VIs –Boolean –String or Numeric –Listbox –general: just set color of label and caption

26 February 2009Dietrich Beck Semi-Automated Coloring "UtilityLib.set color of panel to default.vi":

26 February 2009Dietrich Beck GUI Conventions...