Inhaltszusammenfassung zur Seite Nr. 1
User Manual
BridgeVIEW User Manual
May 1998 Edition
Part Number 321294C-01
Inhaltszusammenfassung zur Seite Nr. 2
Internet Support E-mail: support@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com Bulletin Board Support BBS United States: 512 794 5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 Fax-on-Demand Support 512 418 1111 Telephone Support (USA) Tel: 512 795 8248 Fax: 512 794 5678 International Offices Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 288 3336, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark
Inhaltszusammenfassung zur Seite Nr. 3
Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty per
Inhaltszusammenfassung zur Seite Nr. 4
Contents About This Manual Organization of This Manual............................................................................................... xix BridgeVIEW Concepts.......................................................................................... xix G Tutorial ............................................................................................................... xx Appendices, Glossary, and Index ..........................................................................
Inhaltszusammenfassung zur Seite Nr. 5
Contents Chapter 2 BridgeVIEW Environment What Is G?........................................................................................................................... 2-1 How Does G Work? ............................................................................................................ 2-1 Virtual Instruments ............................................................................................... 2-2 Front Panel...........................................................
Inhaltszusammenfassung zur Seite Nr. 6
Contents What Is the Tag Configuration Editor?................................................................................3-3 How Do You Create a Tag? ..................................................................................3-5 How Do You Edit a Tag? ......................................................................................3-5 How Do You Delete a Tag? ..................................................................................3-5 What are Network Tags?.............
Inhaltszusammenfassung zur Seite Nr. 7
Contents Alarms................................................................................................................. 3-31 How Do You Configure Alarms for a Tag? ......................................... 3-34 Analog Tags ...........................................................................3-34 Discrete Tags..........................................................................3-35 Bit Array Tags........................................................................3-35 Strin
Inhaltszusammenfassung zur Seite Nr. 8
Contents General Principles of G HMI Programming......................................................................4-25 How Do You Implement Event-Driven Programming in G?..............................4-25 How Do You Implement Polled Programming in G? .........................................4-27 How Do You Initialize and Shut Down Multiple-Loop Applications?...............4-28 How Do You Display Real-Time Trends? ..........................................................4-29 How Can You Use
Inhaltszusammenfassung zur Seite Nr. 9
Contents How Do You Change the Y Axis? ....................................................... 6-12 How Do You Change the Plot Colors and Style in the Trend? ............ 6-13 How Do You Zoom In on the Trend?................................................... 6-13 How Do You Export Data to a Spreadsheet? ....................................... 6-13 How Do You Get Online Help for the HTV?....................................... 6-13 How Do You Set Tag, Time, and Color Preferences?.................
Inhaltszusammenfassung zur Seite Nr. 10
Contents How Do You Programmatically Log an Operator In to Your Application?..........................................................................7-17 How Do You Programmatically Log an Operator Out of Your Application?..........................................................................7-17 How Do You Identify the Current Operator? .......................................7-17 How Do You Restrict Access to the BridgeVIEW Environment? .......7-17 How Do You Create and Modify User Accounts
Inhaltszusammenfassung zur Seite Nr. 11
Contents PART II G Tutorial Chapter 9 Creating VIs What is a Virtual Instrument?.............................................................................................. 9-1 How Do You Build a VI?.................................................................................................... 9-1 VI Hierarchy ......................................................................................................... 9-1 Controls, Constants, and Indicators ...................................
Inhaltszusammenfassung zur Seite Nr. 12
Contents Shift Registers..................................................................................................................11-11 Using Uninitialized Shift Registers...................................................................11-15 For Loops.........................................................................................................................11-20 Numeric Conversion..........................................................................................11-2
Inhaltszusammenfassung zur Seite Nr. 13
Contents Chapter 16 Program Design Use Top-Down Design...................................................................................................... 16-1 Make a List of User Requirements ..................................................................... 16-1 Design the VI Hierarchy ..................................................................................... 16-1 Create the Program.............................................................................................. 16
Inhaltszusammenfassung zur Seite Nr. 14
Contents Figure 2-6. Select Tags to Monitor Dialog Box...........................................................2-22 Figure 2-7. Write to Tag dialog box.............................................................................2-22 Figure 2-8. Tag Monitor Preferences Dialog Box .......................................................2-23 Figure 3-1. Tag Configuration Editor ............................................................................3-4 Figure 3-2. Flowchart of Server/Client In
Inhaltszusammenfassung zur Seite Nr. 15
Contents Figure 8-1. Server Browser............................................................................................ 8-6 Figure 8-2. View Server Information Dialog Box......................................................... 8-7 Figure 8-3. Browse OPC Servers on Network Dialog Box ........................................... 8-8 Figure 8-4. Server Browser.......................................................................................... 8-11 Figure 8-5. View Server Information D
Inhaltszusammenfassung zur Seite Nr. 16
Contents Activities Activity 2-1. Open and Run a VI......................................................................................2-8 Activity 3-1. Configure a Tag, and View the Tag Configuration Parameters and Tag Values .......................................................................3-40 Activity 4-1. Use the HMI G Wizard ...............................................................................4-8 Activity 4-2. Import a Graphic Image into BridgeVIEW.........................
Inhaltszusammenfassung zur Seite Nr. 17
About This Manual The BridgeVIEW User Manual contains the information you need to get started with the BridgeVIEW software package. This manual explains the BridgeVIEW environment, tag configuration, human machine interfaces, alarms and events, and historical data logging and extraction. This manual also reviews the concepts of G programming. Throughout both sections of this manual, there are activities that teach you what you need to know to build your own virtual instruments, and ultimat
Inhaltszusammenfassung zur Seite Nr. 18
About This Manual programming language upon which BridgeVIEW is built, the BridgeVIEW Engine Manager, system errors and events, the Tag Monitor utility, and the Tag Browser utility. This chapter also explains how to access online help for BridgeVIEW and provides an activity that illustrates how to examine the front panel and block diagram of a virtual instrument (VI). • Chapter 3, Tag Configuration, explains tags, the Tag Configuration Editor, and how you edit tags within the BridgeVIEW sy
Inhaltszusammenfassung zur Seite Nr. 19
About This Manual • Chapter 12, Case and Sequence Structures and the Formula Node, introduces the basic concepts of Case and Sequence structures, and provides activities that explain how to use the Case structure, how to use the Sequence structure, and what sequence locals are and how to use them. • Chapter 13, Front Panel Object Attributes, describes objects called attribute nodes, which are special block diagram nodes that control the appearance and functional characteristics of controls
Inhaltszusammenfassung zur Seite Nr. 20
About This Manual Conventions Used in This Manual The following conventions are used in this manual: bold Bold text denotes a parameter, menu name, palette name, menu item, return value, function panel item, or dialog box button or option. italic Italic text denotes mathematical variables, emphasis, a cross reference, or an introduction to a key concept. bold italic Bold italic text denotes an activity objective, note, caution, or warning. monospace Text in this font denotes text or characters