Main
Page
Important Information
Warranty
Copyright
Trademarks
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
Contents
About This Manual
PART I BridgeVIEW Concepts Chapter 1 Introduction
Chapter 2 BridgeVIEW Environment
Chapter 3 Tag Configuration
Page
Chapter 4 Human Machine Interface
Chapter 5 Alarms and Events
Chapter 6 Historical Data Logging and Extraction
Chapter 7 Advanced Application Topics
Chapter 8 Servers
Page
Page
Page
Page
Tables
Activities
About This Manual
Organization of This Manual
BridgeVIEW Concepts
G Tutorial
Appendices, Glossary, and Index
Conventions Used in This Manual
Related Documentation
Customer Communication
Part I
BridgeVIEW Concepts
Page
Introduction
Welcome to BridgeVIEW
Required System Configuration
Installation
What Is BridgeVIEW?
How Does BridgeVIEW Work?
G Programming
Tag Configuration
Data Type
General
Connection
Scaling
Operations
Alarms
Events
Historical Data Logging and Extraction
Security
What Is the BridgeVIEW System Architecture?
User HMI Application
BridgeVIEW Engine
Device Servers
Where Should I Start?
Page
BridgeVIEW Environment
What Is G?
How Does G Work?
Virtual Instruments
Icon/Connector
Tools Palette
Controls Palette
Functions Palette
Controls and Indicators
Numeric
Boolean
String
Tag
Activity 2-1. Open and Run a VI
Page
End of Activity 2-1. BridgeVIEW Environment Project Menu
Page
What Is the BridgeVIEW Engine Manager?
Page
Page
What Are System Errors and Events?
What Is the Tag Browser?
Page
What Is the Tag Monitor?
Page
Page
Page
Page
How Do You Access Online Help?
Simple/Complex Help View
Links to Online Help Files
Tag Configuration
What Is a Tag?
Tag Attributes
General Attributes
Connection Attributes
Operation Attributes
Scaling Attributes
Alarm Attributes
What Is the Tag Configuration Editor?
Page
How Do You Create a Tag?
How Do You Edit a Tag?
How Do You Delete a Tag?
What are Network Tags?
How Do You Add Network Tags?
How Do You Set Default Values for Tag Configuration Fields?
How Do You Use Spreadsheet Files for Tag Configuration?
Page
How Do You Configure Tags?
Data Type
Analog Tags
Discrete Tags
Bit Array Tags
String Tags
General
Connection
Page
I/O Group Configuration
I/O Group Configuration Options
Server Configuration Options
Communication Resource Configuration Options
Device Configuration Options Configuring Device Names
Device Configuration Options Configuring Device Resources
Item Configuration
Item Configuration OptionsConfiguring Item Names
Item Configuration Options Configuring Item Resources
What Is a Memory Tag?
When Should You Use a Memory Tag?
Example 1When Not to Use a Memory Tag
Example 2When to Use a Memory Tag
How Do You Automatically Generate Tags from Server Information?
How Do You Connect a Tag to an OPC Server?
How Do You Connect a Tag to a DDE Server?
How Do You Define a Group of Tags for Alarming?
Operations
Page
What Is Deadband?
How Do You Use Deadband to IncreaseEngineThroughput?
How Do You Configure a Tag to Log Its Data or Events?
How Do You Set Initial Tag Value at Startup?
Scaling
Page
Analog Tags
ExampleLinear Scaling
ExampleSquare Root Scaling
How Do You Assign Units to an Analog Tag?
Discrete Tags
Bit Array Tags
Page
Alarms
Page
Page
How Do You Configure Alarms for a Tag?
Analog Tags
Discrete Tags
Bit Array Tags
String Tags
What Is Alarm Deadband on Analog Tags?
How Do You Keep an Alarm Unacknowledged after the Alarm Returns to Normal?
Auto Ack on Normal
User Must Ack
Activity 3-1. Configure a Tag, and View the Tag Configuration Parameters and Tag Values
Page
Page
Page
Page
End of Activity 3-1.
How Do You Configure Other Engine Parameters?
How Do You Turn on Historical and Event Logging at Startup?
How Do You Set the File Paths for Historical and Events Files?
How Do You Configure Shifts?
How Do You Configure Engine Parameters?
Page
How Do You Launch Server Configuration Utilities from the Tag Configuration Editor?
How Do You Access or Change Tag Configuration Information in Your Application?
Human Machine Interface
What Is an HMI?
How Do You Build an HMI?
Front Panel Objects
HMI G Wizard
Page
Page
Page
Page
Generate the Block Diagram
Front Panel Object and Wizard Subdiagram Association
Activity 4-1. Use the HMI G Wizard
Page
Page
End of Activity 4-1.
How Do You Customize Front Panel Objects?
Control Editor
Importing Graphics
Activity 4-2. Import a Graphic Image into BridgeVIEW
Page
End of Activity 4-2.
How Do You Configure Front Panel Objects Programmatically?
How Do You Monitor and Control Tags?
Tag Data Type
Page
Page
Tags VIs and Alarms and Events VIs
Activity 4-3. Read a Tag
Page
Page
End of Activity 4-3.
How Do the Tags, and Alarms and Events VIs Affect Startup/Shutdown?
General Principles of G HMI Programming
How Do You Implement Event-Driven Programming in G?
Page
How Do You Implement Polled Programming in G?
How Do You Initialize and Shut Down Multiple-Loop Applications?
How Do You Display Real-Time Trends?
Page
How Can You Use Tag Attributes to Configure HMI Indicator Attributes Programmatically?
Page
Page
Alarms and Events
What are Alarms and Events?
Alarm States
Alarm Limit
Alarm Priority
How Do You Display Alarm Summary Information?
Activity 5-1. Build an Alarm Summary Display
Page
End of Activity 5-1.
How Do You Display Event History Information?
How Do You Acknowledge Alarms?
Activity 5-2. Acknowledge Alarms in the Alarm Summary Display
Page
End of Activity 5-2.
How Do You Configure Logging and Printing of Alarms and Events?
Page
How Do You Log Alarms and Events?
How Do You Print Alarms and Events?
How Do You View Alarms and Events?
Historical Data Logging and Extraction
What Is a Trend?
Real-Time Trend
Historical Trend
What Is Citadel?
How Do You Log Historical Data?
How Do You Configure Historical Logging?
How Do You Extract and View Data from Historical Log Files?
Historical Data VIs
Page
Activity 6-1. Use the Historical Data VIs
Page
Page
End of Activity 6-1.
How Do You Select the Tags to Display?
How Do You Change the Time Axis?
Panning Buttons
Manual Changes
How Do You Change the Timespan of Data Displayed?
How Do You View the Value of a Tag at a Specific Point in Time?
How Do You Change the Y Axis?
Page
How Do You View New Data Automatically After It Has Been Logged to Citadel?
How Do You Incorporate the HTV into Your HMI Application?
Activity 6-2. Use the Historical Trend Viewer
Page
Page
Advanced Application Topics
How Do You Build an HMI with Multiple Panels?
Front Panel Buttons
Panel G Wizard
How Do You Use the Panel G Wizard?
How Do You Configure Security with the Panel G Wizard?
How Do You Configure When a Button Will Be Polled?
Activity 7-1. Use the Panel G Wizard
Page
End of Activity 7-1.
VI Server Functions
How Do You Control Panel Size?
How Do You Control Panel Visibility?
BridgeVIEW System Control
System VIs
Page
Tag Attributes VIs
Activity 7-2. Use Tag Attributes
Page
End of Activity 7-2.
BridgeVIEW Security
Environment Security
Page
Page
Page
Page
Page
How Do You Modify the List of Available User Access Levels?
How Do You Export a List of Users to a File?
How Do You Export Users to Another Computer on the Network?
How Do You Import a List of Users from a File?
How Do You Import Users from Another Computer on the Network?
How Do You Modify a Users BridgeVIEW Environment Privileges?
Operator Interface Security
How Do You Limit User Access to HMI Objects?
Activity 7-3. Apply Security to the Alarm Summary Display
Page
Page
End of Activity 7-3.
Servers
What Are BridgeVIEW Device Servers?
How Do You Install and Configure a Device Server?
Installing and Configuring the NI-DAQ OPC Server
Installing and Configuring Device Servers from the BridgeVIEW Device Servers CD
Registering Simulation Servers
How Do You Use OPC Servers with BridgeVIEW?
Page
Using Remote OPC Servers
Page
How Do You Use DDE Servers with BridgeVIEW?
How Do You View BridgeVIEW Server Configuration?
Page
Registered Server Device and Item Parameters
How Do You Develop an IA Device Server?
Part II
G Tutorial
Creating VIs
What is a Virtual Instrument?
How Do You Build a VI?
VI Hierarchy
Controls, Constants, and Indicators
Ter mi nal s
Wires
Tip Strips
Wire Stretching
Selecting and Deleting Wires
Bad Wires
Activity 9-1. Create a VI
Page
End of Activity 9-1.
VI Documentation
Activity 9-2. Document a VI
Page
End of Activity 9-2. What is a SubVI?
Hierarchy Window
Page
Search Hierarchy
Icon and Connector
Page
Activity 9-3. Create an Icon and Connector
Page
End of Activity 9-3.
Opening, Operating, and Changing SubVIs
Activity 9-4. Call a SubVI
End of Activity 9-4.
How Do You Debug a VI?
Activity 9-5. Debug a VI in BridgeVIEW
End of Activity 9-5.
Customizing VIs
Set Window Options
SubVI Node Setup
Activity 10-1.Use Setup Options for a SubVI
Page
Page
Page
Front Panel
Block Diagram
End of Activity 10-1.
Loops and Charts
What is a Structure?
Charts
Chart Modes
Faster Chart Updates
Overlaid Versus Stacked Plots
Activity 11-1. Experiment with Chart Modes
End of Activity 11-1.
While Loops
Activity 11-2. Use a While Loop and a Chart
Page
Page
End of Activity 11-2.
Mechanical Action of Boolean Switches
Activity 11-3. Change the Mechanical Action of a Boolean Switch
End of Activity 11-3.
Timing
Activity 11-4. Control Loop Timing
End of Activity 11-4.
Preventing Code Execution in the First Iteration
Shift Registers
Page
Activity 11-5. Use a Shift Register
Page
End of Activity 11-5.
Using Uninitialized Shift Registers
Page
Activity 11-6. Create a Multiplot Chart and Customize Your Trends
Page
Page
End of Activity 11-6. For Loops
Numeric Conversion
Activity 11-7. Use a For Loop
Page
End of Activity 11-7.
Case and Sequence Structures and the Formula Node
Case Structure
Activity 12-1. Use the Case Structure
Page
VI Logic
End of Activity 12-1.
Sequence Structures
Activity 12-2. Use a Sequence Structure
Modifying the Numeric Format
Setting the Data Range
Page
Page
End of Activity 12-2.
Formula Node
Page
Activity 12-3. Use the Formula Node
Page
End of Activity 12-3. Artificial Data Dependency
Front Panel Object Attributes
Page
Activity 13-1. Use an Attribute Node
End of Activity 13-1.
Arrays, Clusters, and Graphs
Arrays
How Do You Create and Initialize Arrays?
Array Controls, Constants, and Indicators
Auto-Indexing
Activity 14-1. Create an Array with Auto-Indexing
Page
Page
Multiplot Graphs
End of Activity 14-1.
Activity 14-2. Use Auto-Indexing on Input Arrays
Using Auto-Indexing to Set the For Loop Count
End of Activity 14-2.
Build Array
Using Array Functions
Initialize Array
Array Size
Array Subset
You can use this function to extract a portion of an array or matrix.
Index Array
Page
Activity 14-3. Use the Build Array Function
End of Activity 14-3.
Efficient Memory Usage: Minimizing Data Copies
What is Polymorphism?
Clusters
Graphs
Customizing Graphs
Graph Cursors
Graph Axes
Data Acquisition Arrays
Activity 14-4. Use the Graph and Analysis VIs
Page
End of Activity 14-4.
Intensity Plots
Application Control
What is the VI Server?
Page
Activity 15-1. Use the VI Server
Page
Page
End of Activity 15-1.
Program Design
Use Top-Down Design
Make a List of User Requirements
Design the VI Hierarchy
Page
Create the Program
Plan Ahead with Connector Panes
SubVIs with Required Inputs
Good Diagram Style
Watch for Common Operations
Use Left-to-Right Layouts
Check for Errors
Page
Watch Out for Missing Dependencies
Avoid Overuse of Sequence Structures
Study the Examples
A
HMI Function Reference
Error Handling in the BridgeVIEW VI Library
Errors Reported by the BridgeVIEW Engine
Errors Not Reported by the BridgeVIEW Engine
Page
BridgeVIEW VI Library
Page
Acknowledge Alarm
Get Alarm Summary Status
Read Alarm Summary
Page
Page
Page
Read Event History
Page
Page
Page
Read Tag Alarm
Page
Page
Call HTV
Page
Decimate Historical Trend
Decimate Historical Trends
Page
Get Historical Tag List
Get Historical Trend Info
Historical Trend Statistics
Page
Historical Trends to Spreadsheet
Page
Historical Trends to Spreadsheet File
Page
Read Historical Trend
Page
Read Historical Trends
Page
Page
Enable Event Logging
Enable Historical Data Logging
Enable Printing
Engine Launch
Engine Shutdown
Get Engine Status
Get Tag Status Info
Post System Error or Event
Tag Status Handler
Page
Page
Check Operator Privileges
Get Operator Name
Invoke Login Dialog
Programmatic Login
Page
Security Monitor
Page
Read Tag
Page
Read Tag (bit array)
Page
Read Tag (discrete)
Page
Read Tag (string)
Page
Tre nd Tag s
Write Tag
Write Tag (bit array)
Write Tag (discrete)
Write Tag (string)
Write Tag on Change
Write Tag on Change (bit array)
Write Tag on Change (discrete)
Write Tag on Change (string)
Page
Get Analog Tag Alarm Limit
Get Bit Array Tag Alarm Setting
Get Discrete Tag Alarm Setting
Get Group List
Get Tag Alarm Enabled
Get Tag Attribute
Get Tag Bad Status Alarm Info
Get Tag Description Group
Get Tag I/O Connection Info
Get Tag List
Get Tag Logging Info
Get Tag Range and Units
Set Multiple Tag Attributes
Set Tag Attribute
B
Citadel and Open Database Connectivity
What is ODBC?
Configuring the ODBC Driver
Page
What is SQL?
How Do You Access Citadel Data?
Threads Table
Data Transforms
Page
SQL Examples
Queries Using Specific Applications
Using Microsoft Query with Citadel
Page
Page
Page
Using Microsoft Excel with Citadel
Using Microsoft Access with Citadel
Using Visual Basic with Citadel
Page
C
Customer Communication
Electronic Services
Bulletin Board Support
FTP Support
Fax-on-Demand Support
Telephone and Fax Support
Country Telephone Fax
Technical Support Form
BridgeVIEW Hardware and Software Configuration Form
National Instruments Products
Other Products
Documentation Comment Form
Title: BridgeVIEW User Manual Edition Date:May 1998 Part Number:321294C-01
Mail to:Technical Publications Fax to: Technical Publications
Glossary
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Index
A
B
Page
C
D
E
F
G
H
Page
I
J
L
M
N
O
P
R
S
Page
T
Page
Page
Page
U
V
W
X