A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.

Slides:



Advertisements
Similar presentations
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
Advertisements

Overview Lesson 1. Objectives Step-by-Step: Start Excel 1.Click the Start menu, and then click All Programs. 2.On the list of programs, click Microsoft.
Status of VDCT Mark Pleško, Matej Šekoranja, John Maclean EPICS Meeting – Japan, 2004.
Microsoft PowerPoint 2013 An Overview.
Microsoft Excel 2013 An Overview. Environment Quick Access Toolbar Customizable toolbar for one-click shortcuts Tabs Backstage View Tools located outside.
Foundation Level Course
By Sarah Kamal.  Start Word and understand the ways to view your document.  Enter text in a document and navigate a document.  Use Backspace and Delete.
Lesson 2 — Working with Text
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Basic Editing Lesson 2- Part 2. Navigating and Searching Through a Document Find command options, the mouse, scroll bars, and various keystroke and keyboard.
Key Applications Module Lesson 12 — Word Essentials
PowerPoint Tutorial. Basic Vocabulary ► Slide - Presentation - Slide layout – ► ► ► a single page in PowerPoint all the slides for a speech all the slides.
Microsoft Word 2007 Tools that Simplify
Microsoft Office Word 2013 Core Microsoft Office Word 2013 Core Courseware # 3250 Lesson 8: Using Productivity Tools.
Database Design with VisualDCT Nicholas Di Monte.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Lesson 1: Getting Started
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Database Design with VisualDCT Nicholas Di Monte.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Word Lesson 2 Basic Editing
Learningcomputer.com Introduction to Microsoft Word 2007 New Look and Feel.
XP New Perspectives on Microsoft Word 2002 Tutorial 31 Microsoft Word 2002 Tutorial 3 – Creating a Multiple-Page Report.
Status of Visual DCT EPICS Workshop, Berlin, May 2002 R. Sabjan on behalf of M. Sekoranja J. Stefan Institute and Cosylab Ltd. in collaboration with SLS.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
An Introduction to Office  Office XP and Office 2007 look very different  This introduction should: ◦ Introduce you to some of the basic changes.
1 ADVANCED MICROSOFT WORD Lesson 14 – Editing in Workgroups Microsoft Office 2003: Advanced.
Basic Editing Lesson 2.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Microsoft Access 2010 Chapter 10 Administering a Database System.
15/06/2006 The Future of Visual DCT EPICS Collaboration 2006 Argonne National Laboratory
Pasewark & Pasewark 1 PowerPoint Lesson 4 Expanding on PowerPoint Basics Microsoft Office 2007: Introductory.
GISMO/GEBndPlan Overview Geographic Information System Mapping Object.
Basic Editing Lesson 2.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
A skills approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved. powerpoint 2010 Chapter 4 Managing and Delivering Presentations.
ICALEPCS (Geneva, Switzerland, October, 2005) Visual DCT’s Latest Hits Jaka Bobnar Matej Sekoranja, Igor Verstovsek.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
CHAPTER 10 Creating a Word Document. Learning Objectives Enter text Undo and redo actions Create documents based on existing documents Select text Edit.
Lesson: 2 Common Features and Commands After completing this lesson, you will be able to: Identify the main components of the user interface. Identify.
Word Lesson 2 Basic Editing
Jožef Stefan Institute Visual DCT – EPICS Databases Can Be Fun Rok Sabjan Sunil Sah and Matej Sekoranja, JSI and Cosylab
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
Desktop Publishing Lesson 2 — Working with Text. Lesson 2 – Working with Text2 Objectives  Create a blank document.  Work with text boxes.  Work with.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
1 Word Lesson 2 Basic Editing Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 PowerPoint Lesson 1 PowerPoint Basics Microsoft Office 2013: Introductory Pasewark & Pasewark.
Dive Into® Visual Basic 2010 Express
Practical Office 2007 Chapter 2
Creating a Word Document – Part 1
Introducing Microsoft Office 2010
Basic Editing Lesson 2.
Key Applications Module Lesson 12 — Word Essentials
Creating a Word Document – Part 1
Key Applications Module Lesson 12 — Word Essentials
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Welcome To Microsoft Word 2016
Selenium IDE Installation and Use.
Presentation transcript:

A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department of Energy Getting Started with EPICS Lecture Series Database Design with VisualDCT Nicholas Di Monte Controls Group APS Accelerator System Division November 02, 2004

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Database Design with VDCT Outline -Introduction to VDCT -Using VDCT -Converting database files to VDCT -New features/options -Some VDCT examples -Known problems with VDCT -Resources -Acknowledgements

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, What is VDCT? VDCT is Visual Database Configuration Tool Beta version released summer of 2002, funded by SLS Developed by Cosylab Ltd. Replacement for text editor, DCT, JDCT, GDCT or Capfast VDCT developed to provide missing features in Capfast(?) and GDCT. Supports hierarchical design Written in Java -Therefore supported in various systems -Java Runtime Environment 2 Importing existing DB and DBD files

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, What is VDCT? VDCT features -GUI features - Clipboard, undo, redo, object inspector, visual linking - Data flow arrows, not process flow -Supports hierarchal design - Based on the pvname separator - Grouping “grp1:grp2:test1AO” - VDCT templates can be used. - Separate VDB file as a template with ports and macros defined.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, What is VDCT? VDCT features -Powerful DB parser - Supports existing DB’s - Preserves DB comments, record/field order - # normal comments - #! VDCT layout comments - DB’s can be edited manually -Single file which contains both DB and display data - GDCT created two separate files

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, What is VDCT? VDCT features -Rapid database development -Simple mouse-clicks -Visualization of record instances - Easier to understand - Yet no field description as with DCT, JDCT & GDCT - Detect errors faster - e.g. broken links shown with a cross -Database can be split into logical blocks (grouping) - e.g. hierarchical design -Printing ?

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Launch VisualDCT by executing jar file -Only file provided in the zip file -Current version is build 1249, installed on solaris. - Problem with build Currently testing build 1253, used in this presentation. On solaris just type vdct -This script defines the Class Path and then runs the latest version, at this time build 1249 will be executed.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT To start VisualDCT in Windows -Execute (double click) “VisualDCT jar” -Or, use command line options - VisualDCT jar [ ] [ ] Load DBD file(s) -Recommend selecting save option in “DBD Manager” Load DB or VDB file. Save work with a VDB extension. (recommended) Once a VDB file is created and saved, no need to specify DBD files, DBD files will be included at the beginning of a VDB file. -#! DBDSTART -#! DBD(“../../dbd/vlinac.dbd”) -…… -#! DBD(“other DBD file”) -#! DBDEND

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Standard window editing tools Displays the active definition database file. Shows the number of files that have been loaded Indicates the current hierarchal level.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Navigator, simplifies moving though the workspace Indicates if the Debugger is running. ? Sliding zoom scale. Workspace

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Inspector Records -Fields - Visible Links -Data flow

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Field Visibility Values -0: NON_DEFAULT_VISIBLE -Blank for build : VISIBILITY_SELECT -Blank for build : ALWAYS_VISIBLE -Eye -2: NEVER_VISIBLE -Eye w/Red X Double click to make Invisible Single click to make Visible Default is determined by Settings dialog box

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Visibility text in vdb file #! Visibility("testAO.DTYP",1) #! Visibility("testAO.OUT",2) #! Visibility("testAO.DOL",2) Visibility Defined: #! Visibility(“fieldname”, visibility) Where visibility: 0 – NON_DEFAULT_VISIBLE -Build 1249 and earlier. 0 – VISIBILITY_SELECT -Build 1250 and later. 1 – ALWAYS_VISIBLE 2 – NEVER_VISIBLE

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Visibility text in vdb file Why Option #0 should be NON_DEFAULT_INVISIBLE for build 1249 The visual graphics should convey the logic of the design. When importing an old text database, almost all fields have been defined with at least the default value. The designer should highlight the fields of interest to clarify the logic flow. Limited work space in the graphical window. Build 1250 added an option to change this: -Defined in: View => Settings => Visual TAB -Uncheck “Show value of fields when it is not default” - All fields are now hidden except for those fields set to visible

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT (links) Link that connects to a pv in grp1. Link with an invisible section between two connectors Link with two connectors used to reposition link. Ext Output Ext Input Port Macro For template

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT (links) Link/Connector text in vdb file #! Field("testAO.OUT",255,1,"testAO.OUT") #! Link("testAO.OUT","testAO/OUT2") #! Connector("testAO/OUT2","testAO/OUT1",660,340,255,"",0) #! Connector("testAO/OUT1","testAO/OUT",620,380,255,"",1) #! Connector("testAO/OUT","test1CC.A",220,480,255,"",0)

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT (links) Link/Connector text in vdb file #! Field(“fieldname", color, rotated, “description") Where rotated: (not documented) 0 – Left side of field box 1 – Right side of field box #! Link(“fieldname", “inLinkID") #! Connector(" inLinkID "," outLinkID ", x, y, color, “desc", option) Where option: (not documented) 0 – Visible 1 – Invisible 2 – External Input 3 – External Output

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Hierarchy Support Based on the pvname separator Grouping “grp1:grp2:test1AO” -This will create three levels Grouping must be enabled before loading DB -Separator must also be defined Support templates -Use Generate… command to flatten vdb with templates -Macros pass information into a template -Ports pass information upwards out of a template -Use import command to add template

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Using VisualDCT Hierarchy grp1:grp2:ch0AI, grp1:grp2:ch1AI grp1:statBI testStatusBI Main Group / Top Level grp1 grp2 grp1:grp2:ch0AI grp1:statBI grp1:grp2:ch1AI testStatusBI

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Converting files Converting from GDCT313 to VisualDCT -From the File menu, select “Save As VDCT…” -Minor touch up maybe needed. -All graphic items must be in the defined workspace outlined by the white border in GDCT

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Converting files Workspace border GDCT

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Converting files Converting a DB text file to VisualDCT -In VisualDCT select View menu, then Settings - Then select Visual Tab - Uncheck “Show value of fields when it is not default” -Load DB file -Rearrange display for clarity -Save with a.vdb extension (recommended) - The Generate command will only create a.db file

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Converting files Tools not to use on VDB files, JDCT & DCT313 They remove all display formats Caution when using “vi” or text editor

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, New command/options New features in Build #1253 Morph command -Allows a record to be converted from AI to AO, etc. Speed option -Silhouette when moving a record Field Visibility -Option to change the default visibility Window Pan Direction -Push or pull while moving around workspace.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Virtual LINAC -Database in original text form -DB imported to VDCT -DB modified for appearance, logical flow - Color links - Invisible links - Text boxes

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Database conversion, with build #1253 -Start VDCT, load DBD file -Grouping turned off -Set “Field Visibility” -Load a text only DB (rfD1_Vx2.db) -Clear “Field Visibility” -Load a modified DB (rfD1_Vx2.vdb)

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Editing commands, with build #1253 -Load a modified DB (rfD1_Vx2.vdb) -Edit commands…… -Moving around workspace, (Ctl-arrow) - Navigator window -Zoom slider - Keyboard (Shift-[left/right]arrow) - Selected zoom, (Shift-space) -Inspector -DBD manager - Saving - Invalid DBD

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Creating a new database -Start VDCT, load a DBD file -Create records -Add links, using mouse -Use inspector on records, define CALC field -Add “connector” on a link - Show invisibility option -Add an external input and output links -Demonstrate morph feature

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy, grouping function, with build #1253 -Restart VDCT with grouping enabled -Load a modified DB (rfD1_Vx2.vdb) - Why this is annoying - Designed to be small flat DB - Most records create their own group in this example -Accessing the different group levels - Double clicking on object will descend into group - Shift-Up will ascend one level at a time -Status bar indicates the current level in the design

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy, cont. -Load testNPD_group2.vdb -With grouping enabled, create a pv with several Grouping separators, we will use “ : ”, as in gpr1:gpr2:gpr3:ch0AI -Descend into group test -Descend into template testNPD_Link1 Groups are maintained in a single file Template is maintained in an external file

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy grp1:grp2:ch0AI, grp1:grp2:ch1AI grp1:statBI testStatusBI Main Group / Top Level grp1 grp2 grp1:grp2:ch0AI grp1:statBI grp1:grp2:ch1AI testStatusBI

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Templates, brief overview -Restart VDCT -Import testNPD_Link1.vdb - Or load testNPD_Link1.vdb first. - Every DB load is considered a template. - Not all templates have access ports -Place a template object on the workspace -Save database -Descend into template -Discuss template properties -The “Generate…” comand - Combines multiple template files with the main file and generates a single DB file. -Template can have templates - Example in hierarchy/dbs/test.vdb, grouping enabled

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy with templates Main Group / Top Level grp1 grp2 grp1:grp2:ch0AI grp1:statBI grp1:grp2:ch1AI testStatusBI template template.vdb templateA templateA.vdb group

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy, cont. Pros & cons Groups are maintained in a single file Template is maintained in an external file Groups have no ports/macros to connect visual links Templates can define as many as needed for visual links Groups can define templates Templates can define groups

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, VisualDCT examples Hierarchy, cont. Design consideration Is the design large enough to use grouping? -Is the pvname creating single pv groups? - Text editor is just as useful then. -Visual links jumping to other group levels should be kept to a minimum. Can the design be broken up into smaller files (templates) -Main file is then dependent on other files. -A port definition will only use the first instance of a template, all ports in subsequent repeated templates will be ignored. That is, all of these same templates will have the same port connected to the same link.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Known problems/concerns Printing ? -What you see is what you get Field visibility -Problem in build 1249 and earlier -Option in 1250 and later Grouping option -This should be set in the vdb file -Design preference, flat or hierarchy Field box and visible links changed in build #1253 -DBs created with 1249 or earlier

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Resources Cosylab VisualDCT Project Info -Provides related articles and presentations, links to Builds, demo, bug reports, etc. - VisualDCT download page -Download the latest builds, documentation, examples and plugins - - Build #1250 not recommended for download.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Acknowledgements Matej Sekoranja is the primary developer of VisualDCT. He has implemented several changes that I have asked for to help import old DB files and has implemented other requested features. He has been a great help. Ken Evan modified GDCT to provide an option in GDCT to convert a GDCT file to a VDCT file format.

Pioneering Science and Technology Office of Science U.S. Department of Energy Database Design with VisualDCT N. Di Monte, November 2, Visual DCT Thank you for your time. Nick Di Monte