Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
National Instruments BridgeVIEW manuale d’uso - BKManuals

National Instruments BridgeVIEW manuale d’uso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso National Instruments BridgeVIEW. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica National Instruments BridgeVIEW o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso National Instruments BridgeVIEW descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso National Instruments BridgeVIEW dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo National Instruments BridgeVIEW
- nome del fabbricante e anno di fabbricazione National Instruments BridgeVIEW
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature National Instruments BridgeVIEW
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio National Instruments BridgeVIEW non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti National Instruments BridgeVIEW e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio National Instruments in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche National Instruments BridgeVIEW, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo National Instruments BridgeVIEW, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso National Instruments BridgeVIEW. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    User Manual BridgeVIEW User Manual May 1998 Edition Part Number 321294C-01[...]

  • Pagina 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 1 5 59 Fax-on-Demand Suppo rt 512 418 1111 Telephone Support (USA) Tel: 512 795 8248 Fax: 512 794 5678 International Offic es Austral[...]

  • Pagina 3

    Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, du e to d efects in mate rials an d workman sh ip, for a period of 9 0 d ays from d ate o f sh ip m ent, as evidenced by receipts or other documentation. National Instruments will, at its option,[...]

  • Pagina 4

    © National Instruments Corporation v BridgeVIEW User Manual Contents About This Manual Organization of This Manual .............. ........... .............. ............ .............. ........... .............. ..... xix BridgeVIEW Concepts ............ ........... .............. ............ .............. ........... .............. .. xix G Tut[...]

  • Pagina 5

    Contents BridgeVIEW User Manual vi © National Instruments Corporation Chapter 2 BridgeVIEW Environment What Is G? ............... ........... ... ........... ... ............ .. ............ .. ............ ... ........... ... ........... ... ......... 2-1 How Does G Work? ......................... ............ ... ........... ... ........... ... [...]

  • Pagina 6

    Contents © National Instruments Corporation vii BridgeVIEW User Manual What Is the Tag Configuration Editor?............. ........... ............... ........... .............. ........... ..... 3-3 How Do You Create a Tag? .................. ........... .............. ............ .............. ........... .. 3-5 How Do You Edit a Tag? .........[...]

  • Pagina 7

    Contents BridgeVIEW User Manual viii © National Instruments Corporation Alarms .................. ............ .............. ........... .............. ........... ............... ........... ....... 3-31 How Do You Configure Alarms for a Tag? ...... .............. .............. ....... 3-34 Analog Tags ....................... ........... ......[...]

  • Pagina 8

    Contents © National Instruments Corporation ix BridgeVIEW User Manual 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? .... ............... .....[...]

  • Pagina 9

    Contents BridgeVIEW User Manual x © National Instruments Corporation 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[...]

  • Pagina 10

    Contents © National Instruments Corporation xi BridgeVIEW User Manual How Do You Programmatically Log an Operator In to Your Application? .................. .............. ........... .............. ........... ...... 7-17 How Do You Programmatically Log an Operator Out of Your Application?.................... ............ ... ........... ... ... [...]

  • Pagina 11

    Contents BridgeVIEW User Manual xii © National Instruments Corporation P ART II G Tutor ial Chapter 9 Creating VIs What is a Virtual Instrument?...... ........... .............. ........... ............... ........... .............. ........... . 9-1 How Do You Build a VI? ......... ........... .............. ............ .............. ..........[...]

  • Pagina 12

    Contents © National Instruments Corporation xiii BridgeVIEW User Manual Shift Registers ......... ........... ... ........... ... ........... ... ........... ... ............ .. ............ ... ........... ... .... .. 1 1-11 Using Uninitialized Shift Registers ........................... .............. .............. ............ 11-15 For Loops [...]

  • Pagina 13

    Contents BridgeVIEW User Manual xiv © National Instruments Corporation Chapter 16 Program Design Use Top-Down Design ..................... ............... ........... .............. ........... .............. ............ .... 16-1 Make a List of User Requirements ................. ........... .............. ........... .............. .. 16-1 Desi[...]

  • Pagina 14

    Contents © National Instruments Corporation xv BridgeVIEW User Manual 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 B[...]

  • Pagina 15

    Contents BridgeVIEW User Manual xvi © National Instruments Corporation Figure 8-1. Server Browser ............... ........... ... ........... ... ............ .. ............ ... ........... ... ...... 8-6 Figure 8-2. View Server Information Dialog Box ...................... ................. .............. .... 8-7 Figure 8-3. Browse OPC Servers [...]

  • Pagina 16

    Contents © National Instruments Corporation xvii BridgeVIEW User Manual 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 ................. ............ .............. ..[...]

  • Pagina 17

    © National Instruments Corporation xix BridgeVIEW User Manual About This Manual The BridgeVIEW User Manual contains the information you need to get started with the BridgeVIEW software package. This manual e xplains the BridgeVIEW en vironment, tag conf iguration, human machine interfaces, alarms and ev ents, and historical data logging and ex tra[...]

  • Pagina 18

    About This Manual BridgeVIEW User Manual xx © National Instruments Corporation programming language upon which BridgeVIEW is built, the BridgeVIEW Engine Manager , system errors and e vents, the T ag Monitor utility , and the T ag Browser utility . This chapt er also explains ho w to access online help for BridgeVIEW and prov ides an acti vity tha[...]

  • Pagina 19

    About This Manu al © National Instruments Corporation xxi BridgeVIEW User Manual • Chapter 12, Case and Sequence Structures and the Formula Node , introduces the basic concepts of Case and Sequence structures, and provides acti vities that explain ho w to use the Case structure, ho w to use the Sequence structure, and what sequence locals are an[...]

  • Pagina 20

    About This Manual BridgeVIEW User Manual xxii © National Instruments Corporation Conventions Used in This Manual The following con ventions are used in this manual: bold Bold text denotes a parameter , menu name, palette name, menu item, return v alue, fun ction panel item, or dialog box button or option. italic Italic text denotes mathematical v [...]

  • Pagina 21

    About This Manu al © National Instruments Corporation xxiii BridgeVIEW User Manual This icon to the left of b old text denotes the b eginning of an activity, w hich contains step-by-step instructions you can follow to learn more about BridgeVIEW. This icon to the left of bold text denotes the end of an activity, which contains step-by-step instruc[...]

  • Pagina 22

    Part I BridgeVIEW Concepts This section contains information about the BridgeVIEW environment, tag configuration, Human Machine Interface, alarms and events, historical data logging and extraction, servers, and advanced application topics such as system control and security. Par t I , BridgeVIEW Concepts , contains the following chapters. • Chapt[...]

  • Pagina 23

    Part I BridgeVIEW Concepts BridgeVIEW User Manual I-2 © National Instruments Corporation • Chapter 6, Historical Data Logging and Extraction , explains the concept of a trend, how to log and e xtract historical data, and how to use the Historical T rend V iewer (HTV), a utility that displays historical data that has been logged to disk with Brid[...]

  • Pagina 24

    © National Instruments Corporation 1-1 BridgeVIEW User Manual 1 Introduction This chapter describes the unique BridgeVIEW approach to Human Machine Interface (HMI) and Supervisory Control and Data Acquisition (SCADA). It also contains system configuration, installation instructions, and basic information that explains how to start using BridgeVIEW[...]

  • Pagina 25

    Chapter 1 Introduction BridgeVIEW User Manual 1-2 © National Instruments Corporation Required System Configuration BridgeVIEW is distributed on a CD-ROM that includes the complete BridgeVIEW 2.0 release. The W indows 95/NT v ersion of Brid geVIEW runs on any system that supports W indows 95 or W indows NT 4.0. A minimum of 24 MB of RAM is required[...]

  • Pagina 26

    Chapter 1 Introduction © National Instruments Corporation 1-3 Bridge VIEW User Manual What Is BridgeVIEW? BridgeVIEW is a software package specifically targeted at industrial automation applications. BridgeVIEW prov ides configurable solutions for common HMI and SCADA functions while leveraging the flexibility of graphical programming. BridgeVIEW [...]

  • Pagina 27

    Chapter 1 Introduction BridgeVIEW User Manual 1-4 © National Instruments Corporation information, ackn o wledge alarms, vi e w real-time trends and retri e v e historical data. F or more information abo ut h o w to get started with BridgeVIEW, see the Where Should I Start? section at the end of this chapte r . G Programming G is the easy-to-use gr[...]

  • Pagina 28

    Chapter 1 Introduction © National Instruments Corporation 1-5 Bridge VIEW User Manual • Attri b ute Nodes— Attri b ute n odes are special block diagram nodes that you can use to control the appearance and functional characteristics of controls and indicators. F or more information about attri b ute nodes, refer to Chapte r 13, Front Panel Obje[...]

  • Pagina 29

    Chapter 1 Introduction BridgeVIEW User Manual 1-6 © National Instruments Corporation Connection Connection includes the following tag attributes: • Access rights (input onl y , output onl y , Input/Output, or memory) • S e r v e r n a m e • I/O group name • Item name • Access path (for OPC ser v ers) Scaling Scaling controls the type of [...]

  • Pagina 30

    Chapter 1 Introduction © National Instruments Corporation 1-7 Bridge VIEW User Manual Events An event is something that happens within the Bri dgeVIEW sy stem. Events can be divided into two groups: tho se that pertain to individual tag s and those that pertain to the overall BridgeVIEW system. Events pertaining to tags include the following: • [...]

  • Pagina 31

    Chapter 1 Introduction BridgeVIEW User Manual 1-8 © National Instruments Corporation What Is the BridgeVIEW System Architecture? The BridgeVIEW system contains three sets of processes: the user HMI Application, the BridgeVIEW Engine, and industrial automation device servers, as shown in Figure 1-1. These processes interact through a client-server [...]

  • Pagina 32

    Chapter 1 Introduction © National Instruments Corporation 1-9 Bridge VIEW User Manual wit h the BridgeVIEW Engine to read and write tag values, acknowledge alarms, access historical data, and read and write tag attributes. BridgeVIEW makes d e v elopment of operator graphic displays easy and fast. Floating palettes pr o vide controls and functions[...]

  • Pagina 33

    Chapter 1 Introduction BridgeVIEW User Manual 1-10 © National Instruments Corporation the value, the timestamp of when the item w as sampled, and status information to the BridgeVIEW Engine. Output items are written on demand only when the BridgeVIEW Engine passes a new output value to the server . The device serv er monitors the items and encapsu[...]

  • Pagina 34

    Chapter 1 Introduction © National Instruments Corporation 1-11 BridgeVIEW User Manual ( BridgeVIEWActivitySolutions ) that contains the completed VIs for each acti vity in this manual. Y ou can vie w the VI for an activity that you hav e not completed yet, or use the VIs in this directory as a means of verifying your work. Another good place to [...]

  • Pagina 35

    © National Instruments Corporation 2-1 Bridge VIEW User Manual 2 BridgeVIEW Environment This chapter describes the BridgeVIEW environment. It explains th e basi c concepts behind G, the programming language upon which BridgeVIEW i s built, the BridgeVIEW Engine Manager, system errors an d events, the Tag Monitor utility, and the Tag Browser utilit[...]

  • Pagina 36

    Chapter 2 BridgeVIEW Environment BridgeVIEW User Manual 2-2 © National Instruments Corporation Virtual Instruments VIs have both an interactive user interface and a source code equivalent, and accept parameters from higher-level VIs. VIs have three main parts: • The front panel • The block diagram • The icon/connector W ith these features, G[...]

  • Pagina 37

    Chapter 2 BridgeVIEW Environm ent © National Instruments Corporation 2-3 Bridge VIEW User Manual Stop button —Ab orts VI e x ecution. Pause/Continue button — P auses VI e x ecution/Continues VI e x ecution. Font ring —Sets font options, including font type, size, style, and colo r . Alignment ring —Sets alignment options, inclu ding v erti[...]

  • Pagina 38

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-4 © National Instruments Corporation T ools Palett e BridgeVIEW has a floating Tools palette, which you can use to edit and debug VIs. You use the <Tab> k ey to tab through th e commonly used tools on the palette. If you have closed the Tools palette, select Windows»Show Tools Palet[...]

  • Pagina 39

    Chapter 2 BridgeVIEW Environm ent © National Instruments Corporation 2-5 Bridge VIEW User Manual Controls Palette The Controls palette consists of a graphical, floating palette that opens when you launch BridgeVIEW. You use this palette to place controls an d indicators on the front panel of a VI. Each top-leve l icon con tains subpalettes. If th [...]

  • Pagina 40

    Chapter 2 BridgeVIEW Environment BridgeVIEW User Manual 2-6 © National Instruments Corporation Controls and Indicat ors Controls and indicators in G are similar to in put and output parameters o r graphs in traditional programming languages. BridgeVIEW contains a variety of controls and indicators that you can choose according to the kind of value[...]

  • Pagina 41

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-7 BridgeVIEW User Manual Boolean You use Boolean controls and indicators for entering and displaying Boolean (TRUE/FALSE) values. Boolean objects simulate switches, buttons, and LEDs. The most commonly used Boolean objects are the vertical switch and the round LED, shown below,[...]

  • Pagina 42

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-8 © National Instruments Corporation Ta g You use tag controls and indicators for entering and displaying tag names or group names contained in the loaded tag configuration ( .scf ) file. You can find tag controls an d indicators in Controls»String Table Tags . For more information about [...]

  • Pagina 43

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-9 BridgeVIEW User Manual 2. Run the VI by clicking on the Ru n button in the toolbar . The button changes appearance to indicate that the VI is running. 3. Use the Operating tool to change the v alues of the Inflow Rates and other controls. First, highlight th e old value, eith[...]

  • Pagina 44

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-10 © National Instruments Corporation diagram as source code. The components of the block diagram represent program nodes such as F or Loops, Case structures, and multiplication functions. The co mp onents are wired to gether to show the flow of d ata within the block di agram. The outermo[...]

  • Pagina 45

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-11 BridgeVIEW User Manual Launch Engine Launches the BridgeVIEW Engine. The BridgeVIEW Engine manages the Real-T ime Database, communicates with device servers, and performs alarm management and historical data logging. The BridgeVIEW Engine runs according to a configuration f [...]

  • Pagina 46

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-12 © National Instruments Corporation What Is the BridgeVIEW Engine Manager? When you run any G application that accesses the BridgeVIEW Real-Time Database, the BridgeVIEW Engine launches automat ically, opening either the configuration ( .scf ) file you edited most recently or the one you[...]

  • Pagina 47

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-13 BridgeVIEW User Manual T able 2-2 provides a description of each of the f ields in the Engine Manager dialog box. This table provides basic informat ion about the Engine Manager dialog box options. For a more complete understanding of how or why you might use the Engine Mana[...]

  • Pagina 48

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-14 © National Instruments Corporation The Engine Manager sho ws the current state of the Engine, and has a System Event Display that sho ws the follo wing: • BridgeVIEW System Events • When the Engine started and stopped • Which servers ha ve been launched • Any System Errors that [...]

  • Pagina 49

    Chapter 2 BridgeVIEW Environm ent © National Instruments Corporation 2-15 Bridge VIEW User Manual The Ser v er Br o wser is sh o wn in the foll o wing illu st ration. F or more information about d e vice ser v ers, see Chapte r 8 , Servers . Figure 2-3 . Se r ver Browser The Show Server User Interface b utton appears on the Ser v er Br o wse r dia[...]

  • Pagina 50

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-16 © National Instruments Corporation Detailed system error and e vent messages are logged to a system log f ile. The messages are written to an ASCII f ile with a .log extensio n in the SYSLOG directory . BridgeVIEW automatically creates this directory , if it does not exist already . The[...]

  • Pagina 51

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-17 BridgeVIEW User Manual Table 2-3. T ag Browse r Field Descriptions Field Description Configuration File Displays the name of the configuration f ile you are browsing. Bro wse If the BridgeVIEW Engine is not running, press this button to select a dif ferent conf iguration fil[...]

  • Pagina 52

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-18 © National Instruments Corporation If the BridgeVIEW Engine is loaded, you can vie w the tags currently loaded with the T ag Browser . If the BridgeVIEW Engine is not loaded, the T ag Bro wser displays the currently loaded .scf fi le. Use the Browse… button to change the .scf fil e . [...]

  • Pagina 53

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-19 BridgeVIEW User Manual Figure 2-5. T ag Monitor Utility Note Selecting the T ag Monitor from the Project menu automatically launc hes th e BridgeVIEW Engine if it is not running already . T ag information is shown in a table format, sorted b y tag name. When a tag has a non-[...]

  • Pagina 54

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-20 © National Instruments Corporation The Status D etails dialo g box, shown in Fig ure 2-6, displays a summary of the status for each tag in the system. T ags that hav e a warning are highlighted in blue, and tags in error are red. BridgeVIEW provides a description of the error or warning[...]

  • Pagina 55

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-21 BridgeVIEW User Manual Figure 2-6. Status Details Dialog Box Wi t h t h e Select Tags to Monitor dialog box, shown in Figure 2-7, you can select which tags to monitor and configure ho w often to refresh th e monitor display . The A vailable T ags list box shows the tags not [...]

  • Pagina 56

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-22 © National Instruments Corporation Select Tag Monitor»Preferences to bring up the Tag Monitor Preferences dialog box, sho w n in Figure 2 -8, which lets you cho ose how certain types of tags are display ed. Y ou can co ntrol how the displayed precision for analog tags by modifying the [...]

  • Pagina 57

    Chapter 2 B ridgeVIEW Environment © National Instruments Corporation 2-23 BridgeVIEW User Manual How Do Y ou Access Online Help? Choose Help»Show Help . When you place one of the tools on a subVI node, the Help window shows the icon for the subVI with wires attached to each terminal. The following illustration shows an example of online help. Thi[...]

  • Pagina 58

    Chapter 2 BridgeVIEW En vironment BridgeVIEW User Manual 2-24 © National Instruments Corporation In the Help window , required inputs appear in bold text, recommended inputs appear in plain text, and optional inputs appear in gray text. When designing your own VIs, you can specify which inputs are required, recommended, or optional by popping up o[...]

  • Pagina 59

    © National Instruments Corporation 3-1 BridgeVIEW User Manual 3 T ag Configuration This chapter describes tags, the Tag Configuration Editor, how you edit tags within the BridgeVIEW system, and includes an activity that illustrates how to use the Tag Configuration Editor. Before you can run a BridgeVIEW application, you must specify a tag configur[...]

  • Pagina 60

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-2 © National Instruments Corporation General Attributes General attributes include d ata type, max imum length for string and bit array tags, and the name, description, and tag group of the tag. The BridgeVIEW system supports four types of tags: analog, discrete, string, and bit array. These t[...]

  • Pagina 61

    Chapter 3 T ag Configuration © National Instruments Corporation 3-3 BridgeVIEW User Manual Alarm Attributes Alarm attributes describe abnormal process conditions for a given tag. Alarms are useful for notifying users of abnormal conditions. For example, if an analog tag measures the volume of a tank, a HI alarm can be used to indicate that the tan[...]

  • Pagina 62

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-4 © National Instruments Corporation Figure 3-1. T ag Configuration Editor The T ag Configuration Editor records all tag information and Engine parameters and stores this information in a BridgeVIEW Configuration File with the extension .scf (SCAD A Configuration File). The BridgeVIEW Engine r[...]

  • Pagina 63

    Chapter 3 T ag Configuration © National Instruments Corporation 3-5 BridgeVIEW User Manual Note Communication between the BridgeVIEW Engine and any device server is stopped temporarily when the Engine shuts do wn and restarts. How Do Y ou Create a T a g? From the main panel of the Tag Configuration Edito r, press one of th e following b uttons: Cr[...]

  • Pagina 64

    Chapter 3 T ag Configuration BridgeVIEW User Manual 3-6 © National Instruments Corporation Note If you delete a tag and sa v e the .scf file, the tag and its configuration information are rem o v ed from th e .scf file. Y ou still can retrie v e historical and e v ent information about the tag, b ut information su c h as the tag description, units[...]

  • Pagina 65

    Chapter 3 T ag Configuration © National Instruments Corporation 3-7 BridgeVIEW User Manual How Do Y ou Add Network T ags? On the BridgeVIEW server, all tag s in an allowed .scf file can be viewed by another BridgeVIEW system by opening the Tag Configuration Editor and selecting Configure»Allow Network Access . The tags are not shared until the .s[...]

  • Pagina 66

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-8 © National Instruments Corporation The default v alues apply when creating a new tag, importing a tag from the server re gistry , or importing a tag from a spreadsheet. In the case of spreadsheet, a v alue in the spreadsheet overrides the def ault value for the field. F or more informati on [...]

  • Pagina 67

    Chapter 3 T ag Configuration © National Instruments Corporation 3-9 BridgeVIEW User Manual For easy vie wing and editing in the spreadsheet, press the Use Default Order button. After you edit the file, sa ve it as a .txt f ile. Then, from the T ag Configuration Editor , select File»Import… to import the information from the spreadsheet file. If[...]

  • Pagina 68

    Chapter 3 T ag Configuration BridgeVIEW User Manual 3-10 © National Instr uments Corporation How Do Y ou Configure T ags? When you configure a tag with the Tag Configuration Editor, you define several attributes for the tag. You can separate these attributes into five categories: general, connection, operations, scaling, and alarms. Each of these [...]

  • Pagina 69

    Chapter 3 T ag Configuration © National Instruments Corporation 3-11 Bridge VIEW User Manual String T ags A string tag is an ASCII character representation of a connection to a real-world I/O po int or memory v ariable. Use a string tag when you h a v e binary information or an ASC II v alue. F o r e xample, you might use a string tag to obtain v [...]

  • Pagina 70

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-12 © National Instruments Corporation Connection You associate a tag with its real-worl d I/O point by assigning it a Server , I/O Group , and Item in the Connection tab of the Tag Configuration dialog box, shown in Figure 3-5. If an I/O Group does no t already exist for the server, you must c[...]

  • Pagina 71

    Chapter 3 T ag Configuration © National Instruments Corporation 3-13 BridgeVIEW User Manual Figure 3-5. T a g Connection Dialog Box If a device server does not appear in the serv er name list, you must run the configuration or registration utility for your server before BridgeVIEW can access the server . T able 3-2 provides descriptions of the con[...]

  • Pagina 72

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-14 © National Instruments Corporation I/O Group Configuration I/O Groups are used to configure item rate and deadband for items of a server and to select a specific device, if the server uses devices. For servers that support resource configuration, you also can use I/O groups to configure dev[...]

  • Pagina 73

    Chapter 3 T ag Configuration © National Instruments Corporation 3-15 BridgeVIEW User Manual server uses devices, with only one device. A server can have multiple I/O Groups associated with it. I/O Group Configuration Options The Create… button invokes the I/O Group Configuration dialo g box, which you can use to specify group name and timing par[...]

  • Pagina 74

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-16 © National Instruments Corporation T able 3-3 provides descriptions of the operations that can be p erformed on an I/O Group. For information about other opeations that can be performed on an I/O Group, see T able 3-2. Server Configuration Options Use this group of fields to configure and s[...]

  • Pagina 75

    Chapter 3 T ag Configuration © National Instruments Corporation 3-17 BridgeVIEW User Manual Communication Resource Configuration Options For IAK ser vers, use the Create… button to invoke a new, untitled IAK Create Communication Resource Configuration dialog box. This configuration option is not used for other classes of servers. For IAK serv er[...]

  • Pagina 76

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-18 © National Instruments Corporation Use the Edit… button to in vok e the Edit De vice Configuration dialog box for the de vice currently selected in the device list. The options in this dialog box vary depending on the type of server . If the server does not support device conf iguration, [...]

  • Pagina 77

    Chapter 3 T ag Configuration © National Instruments Corporation 3-19 BridgeVIEW User Manual The Edit… button in vok es a server-dependent conf igu ration dialog bo x, which you can use to edit the conf iguration of the selected item. If the server does not support item configuration, or if the selected item is not valid, this b utton is disabled[...]

  • Pagina 78

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-20 © National Instruments Corporation Example 2When to Use a Memor y T ag A simple device server returns several items of data that, through a linear combination of values, represent a meaningful measurement in engineering units. The design of the device and its server softw are makes it di[...]

  • Pagina 79

    Chapter 3 T ag Configuration © National Instruments Corporation 3-21 BridgeVIEW User Manual selecting Append Tags to SCF? (def ault mode) or you can create a new configuration f ile. How Do Y ou Connect a T ag to an OPC Ser ver? You connect to an OPC server just like you connect to the National Instrument s device ser vers from t he Connection tab[...]

  • Pagina 80

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-22 © National Instruments Corporation Y ou can use tag groups to help define a subset of tags in the system. T ag groups are helpful when you want to e xamine the alarm states for a subset of tags in the system. See Chapter 5, Alarms and Events , for more information on alarm groups. Operation[...]

  • Pagina 81

    Chapter 3 T ag Configuration © National Instruments Corporation 3-23 BridgeVIEW User Manual Table 3-4. Operations Configuration At tributes Attrib ute Applies to Data T ypes Description Update Deadband all Determines when the Real-T ime Database (R TDB) updates the value for this tag. It is used to improve system performance and prev ent unnecessa[...]

  • Pagina 82

    Chapter 3 T ag Configuration BridgeVIEW User Manual 3-24 © National Instr uments Corporation What Is Deadband? In process instrumentation, deadband is the range through which an in put signal can vary without initiating an observable change in output signal. Deadband usually is expressed in percent of full scale. Although the term deadband general[...]

  • Pagina 83

    Chapter 3 T ag Configuration © National Instruments Corporation 3-25 BridgeVIEW User Manual How Do Y ou Configure a T ag to Log Its Data or Events? While editing a tag, click on the Log Data or Log/Print Events checkbox. If you want to log historical data or events, the BridgeVIEW Engine must have these processes enabled. To turn them on, open the[...]

  • Pagina 84

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-26 © National Instruments Corporation The next sections e xplain how to scale data. Often your application needs BridgeVIEW to manipulate th e raw data used in the de vice serv er to put it in a form, called engineering units, suitable for the operators. The following sections describe the opt[...]

  • Pagina 85

    Chapter 3 T ag Configuration © National Instruments Corporation 3-27 BridgeVIEW User Manual Analog T ags You can define the raw range and engineering range for a tag to perform simple conversions between the two ranges. The raw range, defined by Raw Full Scale and Raw Zero Scale, refers to the values used by the device server. Engineering range, d[...]

  • Pagina 86

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-28 © National Instruments Corporation Configure the tag for ra w range from zero (Raw Zero Scale) to f iv e (Raw Full Scale). Select Linear , and set the engineering range from 50 (Eng Zero Scale) to 100 (Eng Full Scale). Example  Square Root Scaling A flow meter measures the flow rate of a[...]

  • Pagina 87

    Chapter 3 T ag Configuration © National Instruments Corporation 3-29 BridgeVIEW User Manual Figure 3-9. Scaling for Discrete T ag Configuration Bit Array T ags Bit array tags can have invert and/or select mask scaling. You can use the invert mask to determine which bits are inverted between the device server and the BridgeVIEW Engine. You can use [...]

  • Pagina 88

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-30 © National Instruments Corporation Figure 3-10. Scaling for Bit Array T ag Configuration Table 3-6. Bit Array Scaling Examples T ag Name Length Raw V alue In vert Mask Select Mask Scaled V a lue T ag 1 8 0x0F 0x00 0xFF 0x0F T ag 2 8 0x0F 0x33 0xFF 0x3C T ag 3 8 0x0F 0x33 0x0F 0x0C T ag 4 8 [...]

  • Pagina 89

    Chapter 3 T ag Configuration © National Instruments Corporation 3-31 BridgeVIEW User Manual Alarms These attributes include whether to enable alarms, under what circumstances a tag is in alarm, the priority level of an alarm, and how alarms are acknowledged. Each alarm limit has a priority, ranging between 1 and 15. In BridgeVIEW, 15 is the highes[...]

  • Pagina 90

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-32 © National Instruments Corporation HI_HI Limit analog Determin es the value, in engineering u nits, that i n vokes a HI_HI alarm condition. The tag alarm state remains HI_HI until the tag value goes belo w the HI_HI alarm limit minus the alarm deadband. HI_HI Priority analog Determines the [...]

  • Pagina 91

    Chapter 3 T ag Configuration © National Instruments Corporation 3-33 BridgeVIEW User Manual Alarm on discrete, bit array Determines whether a discrete tag should be alarm on ON (high) or OFF (low). Determines whether a bit array goes into alarm if all of its bits are in alarm or if an y of its bits are in alarm. This field is used only if both Ala[...]

  • Pagina 92

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-34 © National Instruments Corporation How Do Y ou Configure Alarms for a T ag? While editing a tag, click the Enable Alarms checkbox. Alarms are generated depending on the value or state of a tag. The alarms based on value vary with the tag data type. But for any tag, if the status is bad, a B[...]

  • Pagina 93

    Chapter 3 T ag Configuration © National Instruments Corporation 3-35 BridgeVIEW User Manual Discrete T ags Discrete tags have one alarm state— either the tag is in alarm or it is not. You can determine whether a tag is in alarm when it is ON (High) or OFF (Low). Figure 3-12 shows the Alar ms tab of the Discrete Tag Configuration dialog b ox. Fig[...]

  • Pagina 94

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-36 © National Instruments Corporation Figure 3-13. Alarms for Bit Array T ag Configuration String T ags String tags have no alarm states based on tag value. They only support Bad Status alarms. What Is Alarm Deadband on Analog T ags? Alarm Deadband is a method commonly used to avoid repetitive[...]

  • Pagina 95

    Chapter 3 T ag Configuration © National Instruments Corporation 3-37 BridgeVIEW User Manual This type of situation clogs ev ent files with redundant information and can cause operators some frustration in having to ackno wledge alarms constantly when the tag has not changed signif icantly . Y ou can use the Alarm Deadband to alle viate this proble[...]

  • Pagina 96

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-38 © National Instruments Corporation User Must Ack With this option enabled, an alarm remains unacknowledged until the operator acknowledges the alarm. Activity 3-1. Configure a T ag, and View the T ag Configuration Parameters and T ag V alues The objective of this activity is to use the T ag[...]

  • Pagina 97

    Chapter 3 T ag Configuration © National Instruments Corporation 3-39 BridgeVIEW User Manual Note This configuration file uses da ta simulated by the T anks Server . Y ou must ensure that the Tanks Server is registered with the BridgeVIEW Engine by selecting Project»Server Tools»Server Browser . If you do not see Tanks Server in the Registered Se[...]

  • Pagina 98

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-40 © National Instruments Corporation Table 3-10. Co nfiguration Settings for Activity 3-1 Category Attribute Setting General Ta g N a m e Product T ag Group group1 T ag Description Volume of finished product in liters Connection T ag Access Input Only Server Name Tanks Server I/O Group ALL It[...]

  • Pagina 99

    Chapter 3 T ag Configuration © National Instruments Corporation 3-41 BridgeVIEW User Manual 8. Modify the Mixer , Liquid , and Powder tags, as specified in T able 3-11, to configure them for Historical Logging and Alarm Acknowledgement. T o edit a tag configuration, double-click the tag in the T ag Configuration Editor listbox or press the Edit Ta[...]

  • Pagina 100

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-42 © National Instruments Corporation 9. Sav e the configuration by selecting File»Save . The modif ied .scf file is provided for you in the BridgeVIEWActivitySol utions directory . 10. V ie w the tag configuration using the T ag Browser . From a VI front panel, choose Project»Tag»Browser[...]

  • Pagina 101

    Chapter 3 T ag Configuration © National Instruments Corporation 3-43 BridgeVIEW User Manual The T ag Monitor is a quick way to look at tag v alues and alarm states without building an HMI. It is also a great debugging tool. When you launch the T ag Monitor, it automatically launches the Engine. The Engine loads the last .scf f ile saved. In this c[...]

  • Pagina 102

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-44 © National Instruments Corporation How Do Y ou Configure Other Engine Parameters? There are other Engine parameters you can configure within the Tag Configuration Editor. You can define your Historical Logging Configuration an d Event Con figuration by selecting Configure»Historical… or [...]

  • Pagina 103

    Chapter 3 T ag Configuration © National Instruments Corporation 3-45 BridgeVIEW User Manual Note Although you can configure these parameters, it is highly recommended you maintain the default values. Table 3-12. Configurable Memory Allocation Parameters Parameter Description Default V alue System Events display (lines Determines the maximum number[...]

  • Pagina 104

    Chapter 3 T ag Configurati on BridgeVIEW User Manual 3-46 © National Instruments Corporation How Do Y ou Launch Ser ver Configuration Utilities from the T ag Configuration Editor? When you register a server in your system, BridgeVIEW registers the location of its configuration utility, if it exists. You can access the server configurati on uti lit[...]

  • Pagina 105

    © National Instruments Corporation 4-1 BridgeVIEW User Manual 4 Human Machine Interface This chapter explains what a Human Machine Interface (HMI) is and how you can monitor and control tags from your HMI. This chapter also describes se veral general principles of HMI programming in G, and provides acti vities that illust rate how to accomplish th[...]

  • Pagina 106

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-2 © National Instruments Corporation There are sev eral g eneral G programming principles with which y ou should be familiar before you build an HMI. These principles are listed below: • Building basic G front panels and diagrams • Using controls and indicators • Using the tag data [...]

  • Pagina 107

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-3 BridgeVIEW User Manual Front Panel Objects A front panel is the user interface of a virtual instrument (VI). You build the front panel of a VI with a combin ation of controls and indicators representing the values of the tags. Controls are the means of supplying data to your[...]

  • Pagina 108

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-4 © National Instruments Corporation The HMI G W izard associates a front panel control or indicator with a tag, and generates the necessary W izard subdiagram for a configuration that you specify . T able 4-1 provides a list of front panel objects, and explains how the HMI G W izard oper[...]

  • Pagina 109

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-5 BridgeVIEW User Manual Display discrete va l u e s Indicate an alarm state Boolean Indicator In vok e the HMI G Wizard on a B oolean indicator to associate a discrete input tag value or an alarm state with that indicator . When you in voke the W izard for the first time on a[...]

  • Pagina 110

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-6 © National Instruments Corporation Display event history information Event History Display or any T able Indicator In voke the HMI G Wizard on a table indicator to obtain a history of past ev ents and alarms (Ev ent History). For an e vent history display , you can set the HMI G W i zar[...]

  • Pagina 111

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-7 BridgeVIEW User Manual T o in voke the W izard, pop up on a front panel object, and select HMI G Wizard… . For example, the HMI G W izard dialog box for an analog input tag appears in Figure 4-1 by popping up on a numeric indicator . Figure 4-1. HMI G W izard Dialog Box Wh[...]

  • Pagina 112

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-8 © National Instruments Corporation Generate the Block Diagram Once you associate a front panel object with a tag and set the various parameters, the HMI G Wizard generates the appropriate code and places it on the block diagram. For example, using the HMI G Wizard for Analog Indicator, [...]

  • Pagina 113

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-9 BridgeVIEW User Manual For this acti vity , you will use the ta gs configured in mytanks.scf , which you edited in A ctivity 3-1 and is located in the BridgeVIEWActivity directory . Note Before you can begin this activity , you must have completed Activity 3-1, Configure a [...]

  • Pagina 114

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-10 © National Instruments Corporation If you do not see a list of available tags or the tag name Mixer is not in the list when you click on the Tag menu ring, pop up on the menu ring and select Tag Browser… to select the correc t .scf f ile. Press the Browse… button on the T ag Browse[...]

  • Pagina 115

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-11 BridgeVIEW User Manual 5. Return to the front panel and run the VI. It launches the Eng ine if it is not running already . The Engine reads mytanks.scf and launches the T anks Server . 6. No w , you can see the Mixer tag v alues being monitored in the real-time trend. Selec[...]

  • Pagina 116

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-12 © National Instruments Corporation How Do Y ou Customize Front Panel Objects? You can customize BridgeVIEW controls and indicators to change their default appearance on the front panel with the Control Editor. You also can save these controls for use in other VIs. Programmatically, the[...]

  • Pagina 117

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-13 BridgeVIEW User Manual If you want to use the control in other VIs, you can sav e it as a custom control by selecting File»Save . After you sav e the control, you can place it on other front panels using the Controls»Select a Control… . Importing Graphics You can import[...]

  • Pagina 118

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-14 © National Instruments Corporation 4. Click on the Edit Mode button in the Control Editor toolbar . The wrench changes to a pair of tweezers to illustrate that you are in Customize mode. In Customize mode, the control is brok en into se v eral parts. Y ou cannot operate the con trol wh[...]

  • Pagina 119

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-15 BridgeVIEW User Manual 7. Click on the pair of tweezers to return to Edit mode. Y ou can finish editing the control in Edit mode. 8. Pop up on the housing of the slide and select Scale»Style»None . T he scale for the slide disappears. 9. Change tools to the Color tool. T [...]

  • Pagina 120

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-16 © National Instruments Corporation How Do Y ou Monitor and Control T ags? The Tags VI library and Alarms and Events VI library contain VIs for your HMI application to interact with the BridgeVIEW Real-Time Database. These are the primary VIs you use to build your HMI. You can use these[...]

  • Pagina 121

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-17 BridgeVIEW User Manual T ag Data T y pe BridgeVIEW has a special data type called the tag data type that is aware of the available tag names and tag group names contained in the current .scf file. All BridgeVIEW functions that can operate on tags or tag groups use the tag d[...]

  • Pagina 122

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-18 © National Instruments Corporation Y ou also can enter the name of the tag you want to use. The tag control performs a T ype Look Ahead as you type, and displays the closest tag or group name to what you enter . By default, the tag control d oes not allow you to enter a name that is no[...]

  • Pagina 123

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-19 BridgeVIEW User Manual The tag data type imports tag and tag group names from a tag configuration fil e ( .scf ). When you launch BridgeVIEW , the tag data type list of av ailable tag names and tag group names is automatically updated from your default .scf file. The defaul[...]

  • Pagina 124

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-20 © National Instruments Corporation T ag constants in your diagram (and tag controls and indicators if th ey are sav ed with default values) retain the tag name or tag group name selected when your VI is sav ed. The name contained in the tag control, indicator or constant is dimmed when[...]

  • Pagina 125

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-21 BridgeVIEW User Manual period is exceeded, whiche ver occurs f irst, then reads the database and returns the current tag in formation. By default, timeout is 0 seconds. If you wire nothing into the timeout input of your diagram, th e VI reads the database and returns immedi[...]

  • Pagina 126

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-22 © National Instruments Corporation Block Diagram 2. T o create the block diagram, pop up on the tank and select HMI G Wizard… . Select Product for th e T ag and click OK , as shown in the follo wing il lustratio n.[...]

  • Pagina 127

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-23 BridgeVIEW User Manual 3. The HMI G W izard generates a diagram for you that calls the Read T ag VI, as shown in the follo wing illustrat ion. 4. Pop up on the lock in the top right co rner of the While Lo op and select Release Wizard Lock . 5. Using the Labeling tool, edit[...]

  • Pagina 128

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-24 © National Instruments Corporation 9. Sav e the VI as Monitor Product.vi in the BridgeVIEW Activity directory . 10. Run the VI. The Engine launches, unless it is running already . The tank lev el changes to reflect the changing values of the Product tag. When the value goes ov er 800,[...]

  • Pagina 129

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-25 BridgeVIEW User Manual General Principles of G HMI Programming You can choose how to monitor and co ntrol tag values as we ll as operator interface controls and indicators in your HMI. Normally, you use one or more While Loops in a VI diagram with a single wait operation in[...]

  • Pagina 130

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-26 © National Instruments Corporation alarm state indicator , and con trols the blinking of the Mixer in Alarm indicator . Both loops run in parallel until shutdown is TR UE. Figure 4-3. Mo nitor T ag Value and Alarm VI The Mixer in Alarm Blinking attrib ute and the alarm state indicator [...]

  • Pagina 131

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-27 BridgeVIEW User Manual How Do Y ou Implement Polled Programming in G? You do not have to use a separate loop for each Tags or Alarms and Events VI. This can be cumbersome to program for a large number of tag reads, although using the HMI G Wizard makes it easy to build sepa[...]

  • Pagina 132

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-28 © National Instruments Corporation Figure 4-4. Process View Display VI How Do Y ou Initialize and Shut Down Multiple-Loop Applications? When you have a multiple-lo op application, you can add initialization code before executing the loops, and some cleanup or shutdown code after all th[...]

  • Pagina 133

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-29 BridgeVIEW User Manual How Do Y ou Display Real-Time T rends? You can build a real-time trend by dropping a real-time trend indicator on your front panel and popping up on it to select the HMI G Wizard. Alternatively, you can assemble the diagram manually using a While Loo [...]

  • Pagina 134

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-30 © National Instruments Corporation Figure 4-5. T wo T rend Displa y VI The real-time trend indicator updates with a v alue for each tag e very time the indicator is written to. If a VI using this indicator is executed se veral times, it still has previous data displayed. F or this reas[...]

  • Pagina 135

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-31 BridgeVIEW User Manual This example illustrates the use of dataflow programming to enforce the order of two structures that otherwise are not related b y data flow . By wiring the time interval (secs) constant through the Sequence structure and into the While Loop, the Whil[...]

  • Pagina 136

    Chapter 4 Human Machine Inter face BridgeVIEW User Manual 4-32 © National Instruments Corporation Figure 4-7. Using the T ag Attributes VIs to Initialize Front Panel Indicators, Frame 0 Figure 4-8 illustrates the subsequent frame of the Sequence structure. The HMI runs in a loop, monitoring the v arious tags and front panel co ntrols until the Bri[...]

  • Pagina 137

    Chapter 4 Human Machine Inter face © National Instruments Corporation 4-33 BridgeVIEW User Manual Figure 4-8. Using the T ag Attributes VIs to Initialize Front Panel Indicators, Fram e 1[...]

  • Pagina 138

    © National Instruments Corporation 5-1 BridgeVIEW User Manual 5 Alarms and Events This chapter introduces the basic concepts of alarms and events, and explains how to view, acknowledge, and configure them within the BridgeVIEW system. This chapter also provides activities that explain how to build an alarm summary display and acknowledge alarms fr[...]

  • Pagina 139

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-2 © National Instruments Corporation Alarm Priority An alarm priority indicates the severity of an alarm. Priorities range from 1 (lowest) to 15 (highest). You can filter the alarms displayed in your HM I by alarm priority. Alarm Summar y An alarm summary is a collection of all the alarms that c[...]

  • Pagina 140

    Chapter 5 Alarms and Events © National Instruments Corporation 5-3 BridgeVIEW User Manual can change the def ault colors of alarms, acknowledged alarms and unacknowledged tags that ha ve returned to normal with the Color Codes for Alarm Summary control, which also is av ailabl e in the Alarms and Ev ents palette. Activity 5-1. Build an Alarm Summa[...]

  • Pagina 141

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-4 © National Instruments Corporation 3. Now , you can select the tags to monitor . In the tag list, select <ALL> to view alarms on all the tags that hav e alarms conf igured. Click on the Add button to add all tags to the list. If you do not see a list of av ail able tags when you click on[...]

  • Pagina 142

    Chapter 5 Alarms and Events © National Instruments Corporation 5-5 BridgeVIEW User Manual The diagram abov e uses ev ent-driven programming to wait for an alarm summary ev ent before updating the Alarm Summary Display . The Read Alarm Summary VI returns when an alarm e v ent occurs on any of the tags in the tag constant array . The column headers [...]

  • Pagina 143

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-6 © National Instruments Corporation How Do Y ou Display Event Histor y Information? To read all the alarms and events in the BridgeVIEW system that have occurred since the Engine was started (unless limited by buffer size) drop the Event History Display from the Alarms and Events palette on you[...]

  • Pagina 144

    Chapter 5 Alarms and Events © National Instruments Corporation 5-7 BridgeVIEW User Manual remains at UNACK until the user presses the ACK button on the HMI and ackno wledges the alarm. Y ou can select the tags for which you want to ackno wledge alarms. It is a good idea for this tag list to be identical to the list of tags you display alarms for i[...]

  • Pagina 145

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-8 © National Instruments Corporation 3. Select Alarm Acknowledgement for the Attach Control to: o ption. 4. Select the tags to monitor . In the tag list, select <ALL> to view alarms on all the tags that hav e alarms configured. Click the Add b u tton to add all tags to the list. Click OK .[...]

  • Pagina 146

    Chapter 5 Alarms and Events © National Instruments Corporation 5-9 BridgeVIEW User Manual The Ackno wledge Alarm VI is called when the front panel ACK button is pressed. This b utto n is polled in a separate While Loop and the Read Alarm Summary VI waits for e v ents in its own While Loop. 5. Sav e the VI as My Alarm Summary with Ack in the Bridge[...]

  • Pagina 147

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-10 © National Instruments Corporation How Do Y ou Configure Logging and Printing of Alarms and Events? You can configure logging and printing options for Alarms and Events through the Event Configuration dialog box, shown in Figure 5-1. Th is configures the format of alarms and events written to[...]

  • Pagina 148

    Chapter 5 Alarms and Events © National Instruments Corporation 5-11 BridgeVIEW User Manual There are various format options for logging and printing. The print selections are a set of se veral parameters that determine the fo rm at of the data to be printed. Similarly , the log selections are a set of se veral parameters that determine the format [...]

  • Pagina 149

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-12 © National Instruments Corporation How Do Y ou Log Alarms and Events? Events are logged in ASCII files named in the format YYMMDDHHMM.evt using the timestamp of the first point to be logged. YY is the year, MM is the Table 5-2. Event Configuration, Log, and Print Format Selections Selection D[...]

  • Pagina 150

    Chapter 5 Alarms and Events © National Instruments Corporation 5-13 BridgeVIEW User Manual month, DD is the day, HH is the hour, MM is the minute and .evt is the extension for all event log files. There are three steps you must complete to log alarms and e vents: 1. Configure your tags to hav e Log/Print Events enabled. Y ou configure it on a per [...]

  • Pagina 151

    Chapter 5 Alarms and Events BridgeVIEW User Manual 5-14 © National Instruments Corporation There are three techniques for turning event p rinting on or off: • Y ou can configure e vent printing in the T ag Configuration Editor . T o turn on printing, select Configure»Events… . Configure the printer and set Start printing on sy stem start-up t[...]

  • Pagina 152

    © National Instruments Corporation 6-1 BridgeVIEW User Manual 6 Historical Data Logging and Extraction This chapter explains the concept of a trend, how to log and extract historical data, and how to use the Historical Trend Viewer (HTV), a utility that displays historical data that has been logged to disk with BridgeVIEW. What Is a T rend? A tren[...]

  • Pagina 153

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-2 © National Instruments Corporation manipulate, and analyze historical data automatically from outside the BridgeVIEW environment. For more information, see Appendix B, Citadel and Open Database Connectivity . How Do Y ou Log Historical Data? There are three steps you must[...]

  • Pagina 154

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-3 BridgeVIEW User Manual How Do Y ou Configure Historical Logging? You can reach the Historical Logging Configuration dialog box by selecting Configure»Historical… from the Tag Configuration Editor. Figure 6-1 shows the Historical Logging Configuration dialog [...]

  • Pagina 155

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-4 © National Instruments Corporation How Do Y ou Extract and View Data from Historical Log Files? There are two methods for viewing historical data that has been logged to disk. One method is to use the Historical Data VIs and the other is to use the Historical Trend Viewer[...]

  • Pagina 156

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-5 BridgeVIEW User Manual If the Citadel Path is empty , the Fi le Dialo g function is executed. This brings up a File dialog box that lets the operator select the directory containing the historical data files. The example then uses the tag list returned by the G[...]

  • Pagina 157

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-6 © National Instruments Corporation Activity 6-1. Use the Historical Data VIs The objective of this ex ercise is to create a VI that programmatically reads historical information from Citadel and determines sta tistical information of the data. In this activity , you will [...]

  • Pagina 158

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-7 BridgeVIEW User Manual Y ou will display previously logged data, which is included in the BridgeVIEWActivityData directory . It contains a 25-minute run of data. Y ou can change the time axis to display the f irst minute of this data. 3. Run the VI. The trend[...]

  • Pagina 159

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-8 © National Instruments Corporation 6. On the front panel, create an array of numeric indicators. Stretch the array indicator so that four fields are sh owing. Then pop up on the array indicator and select Show»Index Display to deselect t he index display , as shown belo [...]

  • Pagina 160

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-9 BridgeVIEW User Manual on the data that is displayed. Y ou can use the panning tool to display a different section of data. The averages are updated automatically . 8. Sav e the VI as Historical Data.vi in the BridgeVIEW Activity directory . End of Activity 6-[...]

  • Pagina 161

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-10 © National Instruments Corporation How Do Y ou Select the T ags to Display? Select File»Select Tags… , and the Select Tags dialog box appears, as shown in Figure 6-3. With this dialog box, you can select either a .scf file or a directory of Citadel files. The default [...]

  • Pagina 162

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-11 BridgeVIEW User Manual Panning Buttons The Panning button s allow you to move backward and forw ard through the historical data in the trend. The buttons do not affect the timespan of the trend. For example, if the trend displays data from 9:45 to 9:55 on the [...]

  • Pagina 163

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-12 © National Instruments Corporation How Do Y ou Change the Timespan of Data Displayed? The timespan indicator displays the amount of relative time between the start and end points of the time axis. To change the amount of time between these points, you either can manually[...]

  • Pagina 164

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-13 BridgeVIEW User Manual How Do Y ou Change the Plot Colors and Style in the T rend ? Click on the Trend Legend . The pop -up window contains several optio ns with which you can change the plot colors and styles used in the trend. How Do Y ou Zoom In on the T re[...]

  • Pagina 165

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-14 © National Instruments Corporation Select the Remember settings on exit checkbox if you want to update you r settings each time you exit the HTV . How Do Y ou View New Data Automatically After It Has Been Logged to Citadel? You can use Live Mode to watch incoming data af[...]

  • Pagina 166

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-15 BridgeVIEW User Manual Activity 6-2. Use the Historical T rend Viewer The objective of this activity is to view logged data with the Historical T rend V iewer . Y ou will use mytanks.scf in the BridgeVIEWActiv ity directory , as edited in Activity 3-1, Config[...]

  • Pagina 167

    Chapter 6 Historical Data Loggi ng and Extraction BridgeVIEW User Manual 6-16 © National Instruments Corporation The HTV displays the trends for the Powder , Mixer , Liquid and Product tags. The A vailable Data display sho ws the start and stop timestamps of the logged data. The status o f the HTV is displayed on top of the Historical T rend. Y ou[...]

  • Pagina 168

    Chapter 6 Historical Data Logging and Extraction © National Instruments Corporation 6-17 BridgeVIEW User Manual 7. T o see the value of a particular data point, use the two v ertical cursors on the trend. Y ou can see the v alue of the data point on each trend at the giv en cursor location in the Dat a Display . 8. Select File»Exit to terminate t[...]

  • Pagina 169

    © National Instruments Corporation 7-1 BridgeVIEW User Manual 7 Advanced Application T opics This chapter explains advanced topics you need to understand to make optimum use of BridgeVIEW for developing applications. The advanced topics covered in this chapter are listed below: • Using the Panel G W izard • BridgeVIEW System Con trol • T ag [...]

  • Pagina 170

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-2 © National Instruments Corporation How Do Y ou Use the Panel G Wizard? The Panel G Wizard only operates on Boolean controls. To invoke the Wizard, pop up on a front panel Boolean control and select Panel G Wizard… . Popping up on a button control brings up the Panel G Wizard shown[...]

  • Pagina 171

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-3 BridgeVIEW User Manual Y ou can configure the Panel G W izard to store the file path as a relati ve path or as an absolute path. If the VI that you connect to the button is generally kept in a path that is relati ve to the top-le vel VI, you should select the Relative pa[...]

  • Pagina 172

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-4 © National Instruments Corporation 2. Sav e the VI as My Menu Bar.vi in the BridgeVIEWActivity directory . 3. Pop up on the Alarms b utto n an d select Panel G Wizard… . Configure the b utton to open the My Alarm Summary with Ack.vi that you created in Activity 5-2, Acknowledge A[...]

  • Pagina 173

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-5 BridgeVIEW User Manual 5. Make a copy of the Alarms button. Click on the button text with the labeling tool and name the button Monit or . 6. Pop up on the Monitor button and select Panel G Wizard… . Use the same settings as before, bu t connect this bu tton to the Mon[...]

  • Pagina 174

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-6 © National Instruments Corporation For e xample, you might find it unnecessary to load certain panels into your application until they are needed. By using these functions, you can control when your panels are loaded into memory . Y ou can reach the VI Server functions through the F[...]

  • Pagina 175

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-7 BridgeVIEW User Manual How Do Y ou Control Panel Visibility? There are several ways to control the visibility of an operator interface panel from your application. These options are listed below: • Enable the Show Fron t Panel when Called and Close Afterwards if Origin[...]

  • Pagina 176

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-8 © National Instruments Corporation How Do Y ou Start or Stop the BridgeVIEW Engine from Y our Application? Use the Engine Launch VI to launch the BridgeVIEW Engine programmatically with a specified configuration file. Use the Engine Shutdown VI to stop the BridgeVIEW Engine and the [...]

  • Pagina 177

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-9 BridgeVIEW User Manual T ag Attributes VIs There is a set of VIs in the Tag Attributes palette with which you can read or change configuration information about tags programmatically. Most of these tag attributes are parameters you can configure for a tag with the Tag Co[...]

  • Pagina 178

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-10 © National Instruments Corporation When you change programmatic attrib utes with the T ag Configuration Editor , you can update Engine processes without shutting down and restarting the Engine, provided no changes require the Engine to reconfigure. Y ou can change all operations, a[...]

  • Pagina 179

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-11 BridgeVIEW User Manual 4. Run the VI. Because the Product tag is configured to go into HI alarm when it exceeds a v alue of 800, you can see that the tank color is blue while the tag value is belo w 800. It changes from blue to red when the value goes above 800. Lea ve [...]

  • Pagina 180

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-12 © National Instruments Corporation 8. Sav e the VI as Change Alarm Limit.vi in the BridgeVIEWActivity director y . 9. Run this VI. This dynamically changes th e HI limit for the Product tag from 800 to 500. 10. Look at Monitor Product.vi . It still should b e running. Howev er , n[...]

  • Pagina 181

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-13 BridgeVIEW User Manual BridgeVIEW Security BridgeVIEW security is broken into two general categories: • En vironment Security (User Pri vileges) • Operator Interface Security Security does not take effect until you conf igure it. Conf iguration consists of adding us[...]

  • Pagina 182

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-14 © National Instruments Corporation A user’ s BridgeVIEW Environment pri vile ges are completely independent of the user’ s access lev el, and do not directly af fect access to objects in the operator interfaces that you de velop for your application. See the Operator Interface [...]

  • Pagina 183

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-15 BridgeVIEW User Manual How Do Y ou Log In and Out? To log in, choose Project»Security»Login . Type in your account name and password. If you do not know your login name, or have forgotten your password, contact your BridgeVIEW administrator. T o log out, cho ose Proje[...]

  • Pagina 184

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-16 © National Instruments Corporation Figure 7-3. Priv ileges Dialog Bo x For more information about BridgeVIEW user privileges, refer to Ta b l e 7 - 1 . How Do Y ou Change Y our Password? You must be logged in to change your password. Choose Project»Security»Change Password . T yp[...]

  • Pagina 185

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-17 BridgeVIEW User Manual information about this or any other VI, refer to Appendix A, HMI Function Reference . How Do Y ou Programmatically Log an Operator In to Y our Application? Use the Programmatic Login VI in the System»Security palette. To use this VI, you must ent[...]

  • Pagina 186

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-18 © National Instruments Corporation choose Project»Security»Edit User Accounts… , and the Edit User Accounts dialog box appears, as shown in Figure 7-4. Figure 7-4. Edit User Accounts Dialog Box Click the Add New Users>> button to create a ne w user account. T ype in a nam[...]

  • Pagina 187

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-19 BridgeVIEW User Manual example, change the access le vel of se veral accounts to be the same v alue), hold do wn the <Shift> ke y when selecting users from the list. Note Once you have defined user accounts, you must hav e at least one “super user” account (Ac[...]

  • Pagina 188

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-20 © National Instruments Corporation file is that all user account information, including passw ords, is included in the file. How Do Y ou Export Users to Another Computer on the Network? You can put BridgeVIEW user accounts on other computers either by exporting the user list to a t[...]

  • Pagina 189

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-21 BridgeVIEW User Manual For e xample, a user named user , having acce ss lev el 100 and privile ges to use the T ag Monitor , T ag Browser , and launch the engine would hav e the following pri vileges string (in tab-delimited fo rmat): user 100 Engine; TM; TB; The defaul[...]

  • Pagina 190

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-22 © National Instruments Corporation If you choose File»Import»Network BridgeVIEW , a dialog box appears in which you can type in the name of the computer to import the accounts from, or you can bro wse the network. Note (Windows 95) T o access the user account list on another comp[...]

  • Pagina 191

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-23 BridgeVIEW User Manual How Do Y ou Limit User Access to HMI Objects? You can use security information to control visibility attributes on HMI objects. There is a set of security VIs you can use to implement security in your HMI, found in the System»Security palette. Fo[...]

  • Pagina 192

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-24 © National Instruments Corporation the security loop. This ensures that the security loop terminates when the Engine shuts do wn. By placing the Security Monitor in a loop, as in Figure 7-6, this HMI can handle the operator access lev el changing dynamically and still behave approp[...]

  • Pagina 193

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-25 BridgeVIEW User Manual 3. After creating the two accounts, select << Done Adding Users . Click the OK button. 4. Unless you were previously logged in, a Login dialog box appears. Log in as Administrator , with Passw ord Administration . 5. Open the My Alarm Summar[...]

  • Pagina 194

    Chapter 7 Advanced Application T opics BridgeVIEW User Manual 7-26 © National Instruments Corporation e. W ire the “Disabled” attribute v alue outpu t of th e VI to the Attrib ute Node. f. In vert the sh utdown output of the VI and wi re it to th e continuation te rminal of the While Loop. g. W ith the Wiring tool, pop up on the operability ac[...]

  • Pagina 195

    Chapter 7 Advanced Application T opics © National Instruments Corporation 7-27 BridgeVIEW User Manual 8. Log in as Anyone with Password Viewer by selecting Project»Security»Login . 9. The Acknowledge button is no w disabled. This is because operability access is gi ven to users with Le vel 50 or abov e in BridgeVIEW . User Anyone has an access l[...]

  • Pagina 196

    © National Instruments Corporation 8-1 BridgeVIEW User Manual 8 Ser vers This chapter explains how to use servers with BridgeVIEW. BridgeVIEW supports several types of servers including OPC Servers, DDE Servers, and National Instruments Standard IA Device Servers. OPC Servers are written to the OPC F oundation OPC Data Access specification and are[...]

  • Pagina 197

    Chapter 8 Servers BridgeVIEW User Manual 8-2 © National Instruments Corporation The device serv ers also handle and report communications and device errors to BridgeVIEW . There are different serv ers available for dif ferent device f amilies and commu nication networks. Each de vice server is a stand-alone component that might include a configura[...]

  • Pagina 198

    Chapter 8 Servers © National Instruments Corporation 8-3 BridgeVIEW User Manual When you register a de vice server , its name appears in the list of servers sho wn in the v arious Edit T ag screens of the T ag Configuration Editor . Once you configure your server , you can create a BridgeVIEW Configuration using that server . Depending on the serv[...]

  • Pagina 199

    Chapter 8 Servers BridgeVIEW User Manual 8-4 © National Instruments Corporation All Channels created with the NI-D A Q Channel W izard appear as items when the D A Q OPC Server is selected in BridgeVIEW . Installing and Configuring Device Ser vers from the BridgeVIEW Device Ser vers CD The BridgeVIEW Device Servers CD contains servers for several [...]

  • Pagina 200

    Chapter 8 Servers © National Instruments Corporation 8-5 BridgeVIEW User Manual Browser utility. Y ou can remove these servers from the server list by selecting the Unregister Ser ver optio n in th e Server Bro wser ut ilit y . How Do Y ou Use OPC Ser vers with BridgeVIEW? BridgeVIEW can communicate with any server implementing the OPC Foundation [...]

  • Pagina 201

    Chapter 8 Servers BridgeVIEW User Manual 8-6 © National Instruments Corporation Figure 8-1. Ser ver Browser When an OPC server is selected in the Serv ers list, you can press the View Server Information… button to br ing up the V ie w Serv er Information for OPC Servers dialog box, as sho wn in Figure 8-2. Figure 8-2. View Server Information Dia[...]

  • Pagina 202

    Chapter 8 Servers © National Instruments Corporation 8-7 BridgeVIEW User Manual This dialog box displays general information about the OPC Server as read from your local system re gistry . If the OPC server supports the Server Browse Address Space interface, the View Server Information dialog box also displays the items a vailable from the server [...]

  • Pagina 203

    Chapter 8 Servers BridgeVIEW User Manual 8-8 © National Instruments Corporation to use the server on another machine from your machine, use the netw ork tree control to open the machine, and select one of the OPC servers shown on that machine and press the Add Server>> button. The information for the remote OPC server is no w stored in your [...]

  • Pagina 204

    Chapter 8 Servers © National Instruments Corporation 8-9 BridgeVIEW User Manual How Do Y ou Use DDE Ser vers with BridgeVIEW? BridgeVIEW can communicate with any server using Microsoft Dynamic Data Exchange (DDE) as its interface. A DDE Server is treated as a simple server in which you type in a device and item string to select a specific point. F[...]

  • Pagina 205

    Chapter 8 Servers BridgeVIEW User Manual 8-10 © National Instruments Corporation Use the Server Bro wser to unregister a device serv er th at you no longer want to use (BridgeVIEW de vice servers only). This keeps the server and related information from appearing in the Edit T ag screens. Notice that this in validates an y tags that use that serve[...]

  • Pagina 206

    Chapter 8 Servers © National Instruments Corporation 8-11 BridgeVIEW User Manual Note Unregistering a server means that BridgeVIEW can no longer access that server , and any tag configured to use that server no longer has a valid configuration. Do this only if no tags are configured to use that serv er and you no longer want to access it from the [...]

  • Pagina 207

    Chapter 8 Servers BridgeVIEW User Manual 8-12 © National Instruments Corporation How Do Y ou Develop an IA Device Ser ver? You can write an IA Device Server as a BridgeVIEW VI. Several of the example simulation servers installed with BridgeVIEW are VI-based servers. Writing a VI-based IA server is a simple way to emulate hardware or connect Bridge[...]

  • Pagina 208

    Part II G T utorial This section contain s information ab out the functionality of G that you need to get started with most BridgeVIEW applications. Par t I I , G Tutorial , contains the following chapters. • Chapter 9, Creating VIs , introduces the basic concepts of virtual instruments and provides acti vities that explain ho w to create the ico[...]

  • Pagina 209

    © National Instruments Corporation 9-1 BridgeVIEW User Manual 9 Creating VIs This chapter introduces the basic concepts of virtual instruments and provides activities that explain the following: • How to create the icon and connector • Ho w to use a VI as a subVI What is a Virtual Instrument? A virtual instrument (VI) is a program in the graph[...]

  • Pagina 210

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-2 © National Instruments Corporation using a VI library . For a list of the adv a ntages and disad vantages of using VI libraries and indi vidual files, see the section Saving VIs in Chapter 2, Editing VIs , of the G Programm ing Reference Manual . VI libraries hav e the same load, sa ve, and open ca[...]

  • Pagina 211

    Chapter 9 Creating VIs © National Instruments Corporation 9-3 BridgeVIEW User Manual Y ou can create an indicator and wire it to an output terminal by popping up on the terminal and selecting Create Indicator . As an alternativ e to placing constants on the block diagram and w iring them to functions and VIs, you can pop up on a fun ction or VI te[...]

  • Pagina 212

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-4 © National Instruments Corporation floating-point numbers, green wires carry Booleans, and pink wires carry strings. For more information about wire styles and colors, see the G Programming Quick Reference Card . T o wire from one terminal to another, click the W i ring tool on the fi rst terminal,[...]

  • Pagina 213

    Chapter 9 Creating VIs © National Instruments Corporation 9-5 BridgeVIEW User Manual Note When you place the W iring tool over a node, G displays wire stubs that indicate each input and output. The wire stub has a dot at its end if it is an input to the node. Wire Stretching You can move wired objects individually or in groups by dragging the sele[...]

  • Pagina 214

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-6 © National Instruments Corporation Bad Wires A dashed wire represents a bad wire. You can get a bad wire for a number of reasons, such as connecting two controls, or connecting a source terminal to a destination terminal when the data ty pes do not m atch (for instance, connecting a numeric to a Bo[...]

  • Pagina 215

    Chapter 9 Creating VIs © National Instruments Corporation 9-7 BridgeVIEW User Manual Activity 9-1. Create a VI Y our objective is to b uild a VI. Imagine that you ha ve sensors that read temperature and vo lume readings as voltage. Y ou will use a VI in the BridgeVIEWActivity directory to simulate the temperature and volume measurements in volts.[...]

  • Pagina 216

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-8 © National Instruments Corporation 7. Open the block diagram by choosing Windows»Show Diagram . Select the objects listed belo w from the Functions palette and place them on the block diagram. Note If the Functions palette is not visible, select Windows»Show Functions Palette to display the palet[...]

  • Pagina 217

    Chapter 9 Creating VIs © National Instruments Corporation 9-9 BridgeVIEW User Manual 10. Using the W iring tool, wire the objects as shown. Note T o move objects around on the block diagram, clic k on the P ositioning tool in the T ools palette. 11. Select File»Save and sav e the VI as Temp & Vol.vi in the BridgeVIEWActivity directory . 12. [...]

  • Pagina 218

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-10 © National Instruments Corporation The following illustration is an example pop-up menu that appears while you are running a VI. Y ou cannot add to or change the description while running the VI, but you can vie w any previously entered information. Y ou also can vie w the description of a front p[...]

  • Pagina 219

    Chapter 9 Creating VIs © National Instruments Corporation 9-11 BridgeVIEW User Manual 3. Pop up on the tank and choose Data Operations»Description… . T ype the descriptio n for the ind icator , as shown in the following illustration, and click OK .[...]

  • Pagina 220

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-12 © National Instruments Corporation 4. Pop up on th e thermometer and choose Data Operations» Description… . T ype in the description: Displays simulated temperature (deg F) measurement . Click on OK . 5. Select Show Help from the Help menu. Place the cursor on V olume and then on T emp . Y ou c[...]

  • Pagina 221

    Chapter 9 Creating VIs © National Instruments Corporation 9-13 BridgeVIEW User Manual Y ou can use buttons on the Hierarchy windo w toolbar or th e Vi e w menu , or pop up on an empty space in the windo w to access the following options. For more information about the Hierarchy windo w see the Using the Hierarchy Window section in C hapter 3, Usin[...]

  • Pagina 222

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-14 © National Instruments Corporation can pop up on a VI or subVI node to access a menu with options, such as showing or hiding subVIs, opening the VI or subVI front panel, editing the VI icon, and so on. Search Hierarchy You also can search currently visible nodes in the Hierarchy window by name. Yo[...]

  • Pagina 223

    Chapter 9 Creating VIs © National Instruments Corporation 9-15 BridgeVIEW User Manual The tools to the left of the editing area perform the following functions: Pencil tool —Draws and erases p ixel by pixel. Line tool —Draws straight lines. Press <Shift> and then drag this tool to draw horizontal, v ertical, and diagonal lines. Color Cop[...]

  • Pagina 224

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-16 © National Instruments Corporation The buttons at the right of the editing screen perform the following functions: • Undo — Cancels the last operation you performed. • OK — Saves your dra wing as the VI icon and return s to the front panel. • Cancel —Returns to the front panel without [...]

  • Pagina 225

    Chapter 9 Creating VIs © National Instruments Corporation 9-17 BridgeVIEW User Manual The icon of a VI represents it as a subVI in th e block diagram of other VIs. It can be a pictorial representation of the purpose of the VI, or a te xtual description of the VI. 1. Open Temp & Vol.vi in the BridgeVIEWActivity directory . 2. From the front pa[...]

  • Pagina 226

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-18 © National Instruments Corporation 8. Pop up on the connector pane and select Rotate 90 Degrees . Notice how the connector pane changes, as shown at left. 9. Assign the termin als to T emp and V olume. a. Click on the top terminal in the connector . The cursor automatically changes to the Wi ring [...]

  • Pagina 227

    Chapter 9 Creating VIs © National Instruments Corporation 9-19 BridgeVIEW User Manual Opening, Operating, and Changing SubVIs You can open a VI used as a subVI from the block diagram of the calling VI by double-clicking on the subVI icon or by selecting Project»This VI’s SubVIs . You will see a palette containing all the subVIs of the calling V[...]

  • Pagina 228

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-20 © National Instruments Corporation Block Diagram 5. Go to the block diagram by selecting Windows»Show Diagram . 6. Pop up in a free area of the block diagram and choose Functions»Select a VI… . A dialog box appears. Select Temp & Vol.vi in the BridgeVIEWActivity directory . Click o n Open[...]

  • Pagina 229

    Chapter 9 Creatin g VIs © National Instruments Corporation 9-21 Bridge VIEW User Manual How Do Y ou Debug a VI? A VI cannot compile or run if it is broken. Normally, the VI is broken while you are creating or editing it, until you wire all the icons in the diagram. I f it still is broken when you finish, try selectin g Remove Bad Wires from the Ed[...]

  • Pagina 230

    Chapter 9 Creating VIs BridgeVIEW User Manual 9-22 © National Instruments Corporation Activity 9-5. Debug a VI in BridgeVIEW Y our objective is to use the probe tool and the probe windo w and to examine data flow in the block diagram using the execution highlighting featu re . 1. Open Using Temp & Vol.vi from the BridgeVIEWActiv ity directory[...]

  • Pagina 231

    Chapter 9 Creating VIs © National Instruments Corporation 9-23 BridgeVIEW User Manual 6. Close the Probe windo w by clicking in the close box at the top of the Probe window title bar . Another useful debugging technique is to examine the flow of data in the block diagram using the ex ecu tio n highlighting feature. 7. Return to the block diagram o[...]

  • Pagina 232

    © National Instruments Corporation 10-1 Bridge VIEW User Manual 10 Customizing VIs This chapter introduces the basic concepts used for customizing VIs. There are se veral ways to configure ho w your VIs execute. Y ou access these options by popping up on the icon pane in the upper-right corner of the front panel and choosing VI Setup… . A VI Set[...]

  • Pagina 233

    Chapter 10 Customizing VIs BridgeVIEW User Manual 10-2 © National Instruments Corporation calling VI), and choosing SubVI Node Set up… . The following ill ustration shows the SubV I Node Setup d ialog box. Note If you select an option from the VI Setup … dialog box of a VI, the option applies to every instance of that VI. If you select an opti[...]

  • Pagina 234

    Chapter 10 Customizing VIs © National Instruments Corporation 10-3 BridgeVIEW User Manual Block Diagram 2. Build the block diagram shown in the following illustration. 3. Create the icon for the VI as sho wn at left. T o access the Icon Editor , pop up on the icon pane of the front panel and select Ed it Icon . 4. Switch to the connector pane by p[...]

  • Pagina 235

    Chapter 10 Customizing VIs BridgeVIEW User Manual 10-4 © National Instruments Corporation the icon, as shown in the follo wing illustration. After creating the connector , return to the icon display . 6. Save the VI as Get Operator Info.vi in the Bridg eVIEW Activity directory. 7. No w you can customize the VI with the VI setup op tions to make i[...]

  • Pagina 236

    Chapter 10 Customizing VIs © National Instruments Corporation 10-5 BridgeVIEW User Manual b . Select Window Options and make the selection s shown in the following illustration. 8. After you finish with the VI Setup options, resize the front panel as shown in the following illustration so you do not see the three string indicators. 9. Save and clo[...]

  • Pagina 237

    Chapter 10 Customizing VIs BridgeVIEW User Manual 10-6 © National Instruments Corporation Front Panel 10. Open a new front panel. 11. Place a W av eform Chart ( Controls»Graph ) on the front panel and label it Temperature Data . 12. Modify the scale of the chart, so that its upper limit is set to 90.0 and its lower limit is set to 70.0. Pop up on[...]

  • Pagina 238

    Chapter 10 Customizing VIs © National Instruments Corporation 10-7 BridgeVIEW User Manual Block Diagram 14. Create a Sequence structure and add the following to frame 0, as sho wn in the following illustration. Get Date/T ime String function ( Functions»Time & Dialog )—Outputs the curren t date and time. Get Operator Info VI ( Functions»Se[...]

  • Pagina 239

    Chapter 10 Customizing VIs BridgeVIEW User Manual 10-8 © National Instruments Corporation 17. Add the objects sho w n in the fo llowing illustration. T emp & V ol VI ( Function s»Select a VI … from the BridgeVIEW Activity directory)—Returns one temperature measurement from a simulated tem pe rature sensor . W ait Until Next ms Multiple f[...]

  • Pagina 240

    © National Instruments Corporation 11-1 BridgeVIEW User Manual 11 Loops and Charts This chapter introduces structures and explains the basic concepts of charts, the While Loop, and the For Loop. This chapter also provides activities that illustrate how to accomplish the following: • Learn about different chart modes • Use a While Loop and a ch[...]

  • Pagina 241

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-2 © National Instruments Corporation Charts A chart is a numeric plotti ng in dicator which is updated with ne w da ta periodically. You can find two types of charts in the Controls»Graph palette: waveform chart (or real-time trend) and intensity chart. You can customize charts to match your d[...]

  • Pagina 242

    Chapter 11 Loops and Charts © National Instruments Corporation 11-3 Bridge VIEW User Manual Faster Chart Updates You can pass an array of multiple values to the chart. The chart treats these inputs as new data for a single plot. Refer to the charts.vi example located in G ExamplesGeneralGraphsch arts.llb. Overlaid Versus Stacked Plots You can d[...]

  • Pagina 243

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-4 © National Instruments Corporation While Loops A While Loop is a structure that repeats a section of code until a condition is met. It is comparable to a Do Loop or a Repeat-Until Loop in traditional programming language. The While Loop, shown in the follo wing illustration, is a resizable bo[...]

  • Pagina 244

    Chapter 11 Loops and Charts © National Instruments Corporation 11-5 Bridge VIEW User Manual Front Panel 1. Open a new front panel by selecting File»New . 2. Place a V ertical Switch ( Controls»Boolean ) on the front panel. Label the switch Enable . 3. Use the Labeling tool to create free labels for ON and OFF . Select the Labeling tool, and type[...]

  • Pagina 245

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-6 © National Instruments Corporation 8. Rescale the knob . Usin g the Labeling tool, double-click on 10.0 in the scale around the knob, and replace it with 2.0 . Block Diagram 9. Open the block diagram and create the diagram in the following illustration. a. Place the While Loop in the block di[...]

  • Pagina 246

    Chapter 11 Loops and Charts © National Instruments Corporation 11-7 Bridge VIEW User Manual 13. Stop the VI by clicking on the v ertical switch. Turning the switch of f sends the value F ALSE to the loop conditional terminal and stop s the loop. 14. Scroll through the chart. Click and hold do wn the mouse button on either arrow in the scrollbar . [...]

  • Pagina 247

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-8 © National Instruments Corporation a check mark in a dialog box; it becomes highlighted bu t does not change until you release the mouse button. Switch Until Released action —Changes the control v alue when you click on the control. It retains the new v alue unt il you release the mouse but[...]

  • Pagina 248

    Chapter 11 Loops and Charts © National Instruments Corporation 11-9 Bridge VIEW User Manual b . Pop up on the switch and choose Data Operations»Make Current Value Default . This makes the ON position the default va lu e . c. Pop up on the switch and choose M echanical Action»Latch When Pressed . 3. Run the VI. Click on the Enable switch to stop [...]

  • Pagina 249

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-10 © National Instruments Corporation W ait Until Next ms Multiple fun ction ( Functions»Time & Dialog )— Multiply the knob terminal by 1,000 to con vert the knob value in seconds to milliseconds. Use this v alue as the input to the W ait Until Next ms Multiple function. Multiply functio[...]

  • Pagina 250

    Chapter 11 Loops and Charts © National Instruments Corporation 11-11 Br idgeVIEW User Manual The subdiagram for the T R UE condition contains the w ork of the W hile Loop. The test for continuation occurs outside the C ase structure, and the results are wired to the conditional terminal of the While Loop and the selector terminal of the Case struc[...]

  • Pagina 251

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-12 © National Instruments Corporation The shift register contains a pair of terminals directly opposite each other on the vertical sides of the loop border . The right terminal stores the data upon the completion of an iteration. That data shifts at the end of the iteration and appears in the l[...]

  • Pagina 252

    Chapter 11 Loops and Charts © National Instruments Corporation 11-13 BridgeVIEW User Manual For example, if a shift re gister contains three elements in the left terminal, you can access v alues from the last three iterations, as sho wn in the following illustration. Activity 11-5. Use a Shift Register Y our objective is to b uild a VI that displa[...]

  • Pagina 253

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-14 © National Instruments Corporation 3. After adding the vertical switch, pop up on it and select Mechanical Action»Latch When Pressed and set the ON state to be the default b y choosing Operate»Make Current Values Default . Block Diagram 4. Build the block diagram shown in the following ill[...]

  • Pagina 254

    Chapter 11 Loops and Charts © National Instruments Corporation 11-15 BridgeVIEW User Manual W ait Until Next ms Multiple fun ction ( Functions»Time & Dialog ) —This function ensures that each iteration of the loop occurs no faster than the millisecond input. The in put is 500 milliseconds for this activity . If you pop u p on the icon and c[...]

  • Pagina 255

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-16 © National Instruments Corporation Each time the VI is called, running average is computed from the ne w input and the previous three v alues. Then the new v alue is sa ved into the shift register , and the pre vious two v alues are moved up in the shift register . There is no input value wi[...]

  • Pagina 256

    Chapter 11 Loops and Charts © National Instruments Corporation 11-17 BridgeVIEW User Manual Activity 11-6. Create a Multiplot Chart and Customize Y our T rends Y our objective is to create a c h art that can accommodate more than one plot. Front Panel 1. Open the Random Average.vi you created in Activity 11-5. 2. Modify the Front Panel as sho wn i[...]

  • Pagina 257

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-18 © National Instruments Corporation Block Diagram 3. Modify the block diagram, as sho wn in the following illustration, to display both the average and the current random number on the same chart. Bundle function ( Functions»Cluster ) —In this activity , the Bundle function bundles the ave[...]

  • Pagina 258

    Chapter 11 Loops and Charts © National Instruments Corporation 11-19 BridgeVIEW User Manual buttons to e xplore their operation, scroll the area displayed, or zoom in on areas of the chart. 7. Format the scales of the wa veform chart to represent either absolute or relati v e time. T o select the x scale time format, pop up on the x-scale and sele[...]

  • Pagina 259

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-20 © National Instruments Corporation 9. Run the VI. 10. Sav e the VI as Multiple Random Plot.vi in the BridgeVIEW Activity directory . End of Activity 11-6. For Loops A For Loop executes a section of code a defined number of times. It is resizable, and, like the While Loop, is not dropped on [...]

  • Pagina 260

    Chapter 11 Loops and Charts © National Instruments Corporation 11-21 BridgeVIEW User Manual The For Loop e xecutes the diagram inside its border a predetermined number of t imes. The For Loop has two termin als, ex plained belo w . Count terminal (an input terminal) —The coun t term inal specifies the number of times to e xecute the loop. Iterat[...]

  • Pagina 261

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-22 © National Instruments Corporation terminal. As a reminder , G places a gray dot, called a coer cion dot , on the terminal where the con version takes place. For e xample, consider the For Loop count terminal. The terminal representation is a long integer . If you wire a double-precision, fl[...]

  • Pagina 262

    Chapter 11 Loops and Charts © National Instruments Corporation 11-23 BridgeVIEW User Manual a. Place a digital indicator on the front panel and label it Maximum Value . b . Place a wa veform chart on the front panel and label it Random Data . Change the scale of the chart to range from 0.0 to 1.0 . c. Pop up on the chart and choose Show»S crollba[...]

  • Pagina 263

    Chapter 11 Loops and Charts BridgeVIEW User Manual 11-24 © National Instruments Corporation run of the VI. Therefore, you could get a maximum output v alu e that is not related to the current set of collected data. Max & Min function ( Functions»Comparison ) —T akes two numeric inputs and outputs the maximum value of the two in the top righ[...]

  • Pagina 264

    © National Instruments Corporation 12-1 BridgeVIEW User Manual 12 Case and Sequence Structures and the Formula Node This chapter introduces the basic concepts of Case and Sequence structures and the Formula Node, and provides activities that explain the following: • Ho w to use the Case structure • Ho w to use the Sequence structure • What s[...]

  • Pagina 265

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-2 © National Instruments Corporation Case Structure The Case structure has two or more subdiagrams, or cases , exactly one of which executes when the structure executes. This depends on the value of an integer, Boolean, string, or enum va lue you wire to the ex[...]

  • Pagina 266

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-3 Bridge VIEW User Manual Block Diagram 2. Build the diagram as shown in the following illustration. 3. Place a Case structure in the block diagram by selecting it from Functions»Structures . The Case structure is a resizable box that is not droppe[...]

  • Pagina 267

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-4 © National Instruments Corporation One Button Dialog function ( Functions»Time & Dialog )— I n t h i s acti vity , the function displays a dialog b ox that contains the message Error...Negative Number . String Constant ( Functions»String ) —Enter te[...]

  • Pagina 268

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-5 Bridge VIEW User Manual Sequence Structures The Sequence structure, which looks like frames of film, executes block diagrams sequentially. In conventional programming languages, the program statements execute in the order in which they appear. In [...]

  • Pagina 269

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-6 © National Instruments Corporation The Number to Match control contains the number you want to match. The Current Number indicator displays the current random number . The # of iteration s indicator displays the number of iterations before a match. Time to Ma[...]

  • Pagina 270

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-7 Bridge VIEW User Manual Setting the Data Range With the Data Range… option, you can prevent a user from setting a control or indicator value outside a preset range or increment. Your options are to ignore the value, coerce it to within range, or[...]

  • Pagina 271

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-8 © National Instruments Corporation[...]

  • Pagina 272

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-9 Bridge VIEW User Manual Frame 0 in the pre vious illustration contains a small box with an arro w in it. That box is a sequence local v ariable which passes data between frames of a Sequence structure. Y ou can create sequence locals on the border[...]

  • Pagina 273

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-10 © National Instruments Corporation Round to Nearest function ( Functions»Numeric ) —In this activity , the function rounds the random number between 0 and 100 to th e nearest whole number . Not Equal? function ( Functions»Comparison ) —In this activit [...]

  • Pagina 274

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-11 BridgeVIEW User Manual Formula Node The Formula Node is a resizable box that you can use to enter formulas directly into a block diagram. You place the Formula Node on the block diagram by selecting it from Functions»Structures . This feature is[...]

  • Pagina 275

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-12 © National Instruments Corporation The following e xample shows ho w you can perform a conditional assignment inside a Formula Node. Consider a code fragment that computes the square root of x if x is positi ve, and assigns the result to y . If x is negati v[...]

  • Pagina 276

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-13 BridgeVIEW User Manual Activity 12-3. Use the Formula Node Y our objective is to b uild a VI that uses the F ormula Node to calculate the follo wing equations. where x ranges from 0 to 10. Y ou will use only one Formula Node for both equations, a[...]

  • Pagina 277

    Chapter 12 Case and Sequence Structures and t he Formula Node BridgeVIEW User Manual 12-14 © National Instruments Corporation Block Diagram 3. Build the block diagram shown in the following illustration. Formula Node ( Functions»S t ructures ). W ith this node, you can enter formulas directly . Create the three input terminals by popping up on th[...]

  • Pagina 278

    Chapter 12 Case and Sequence Structures and t he Formula Node © National Instruments Corporation 12-15 BridgeVIEW User Manual 5. Sav e the VI as Equations.vi in the BridgeVIEW/Activity directory . End of Activity 12-3. Artificial Data Dependency Nodes not connected by a wire can execute in any order. Nodes do not necessarily execute in left-to-rig[...]

  • Pagina 279

    © National Instruments Corporation 13-1 BridgeVIEW User Manual 13 Front Panel Object Attributes This chapter describes objects called attribute nodes, which are special block diagram nodes that control the appearance and functional characteristics of controls and indicators. W ith attribute nodes, you can set attributes such as display colors, vis[...]

  • Pagina 280

    Chapter 13 Front Panel Object Attri butes BridgeVIEW User Manual 13-2 © National Instruments Corporation Because there are ma n y di f ferent attri b utes for front panel objects, you ca n use the Help wind o w to display the descriptions, data types, and acceptable v alues of attri b utes. Access the Help wind o w b y selecting Help»Show Help . [...]

  • Pagina 281

    Chapter 13 Front Panel Object Attributes © National Instruments Corporation 13-3 Bridge VIEW User Manual Activity 13-1. Use an Attribute Node Y our objective is to create a VI that indicates a high limit condition using attribute nodes. Y ou will use the Fill C olor attribute of a Tank indicator to indicate whether a randomly generated tank level [...]

  • Pagina 282

    Chapter 13 Front Panel Object Attributes BridgeVIEW User Manual 13-4 © National Instruments Corporation Not functio n ( Functions»Boolean ) —In this exercise, the Not function in verts the value of the STOP button so that the While Loop execute s repeatedly until you click the STOP button. (The default state of the button is F ALSE.) Random Num[...]

  • Pagina 283

    © National Instruments Corporation 14-1 BridgeVIEW User Manual 14 Arrays, Clusters, and Graphs This chapter introduces the basic concepts of polymorphism, arrays, clusters, and graphs and provid es activities that explain auto-indexin g and the Graph and Analysis VIs. Arrays An array is a collection of data elements that are all the same type. An [...]

  • Pagina 284

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-2 © National Instruments Corporation Note Y ou also can create an array and its corresponding control on the front panel and then copy or drag the array control to the block diagram to create a corresponding constant. For more information on how to create array controls and indicato[...]

  • Pagina 285

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-3 Bridge VIEW User Manual By default, auto-indexing is disabled for ev ery array wired to a While Loop. Pop up on the array tunnel of a While Loop to enable auto-indexing. Activity 14-1. Create an Array with Auto-Indexing Y our objective is to create an array using the a[...]

  • Pagina 286

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-4 © National Instruments Corporation 3. Place a digital indicator from Controls»Numeric inside the element display of the array shell, as the follo wing illustration shows. This indicator displays the array contents. 4. Place a wa v eform graph from Controls»Graph in the front pan[...]

  • Pagina 287

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-5 Bridge VIEW User Manual Bundle function ( Functions»Cluster ) —Assembles the plot components into a cluster . Y ou need to resize the Bundle function icon before you can wire it properly . Place the Positioning tool on the lower-left corner of the icon. The tool tra[...]

  • Pagina 288

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-6 © National Instruments Corporation In the pre vious block diagram, you specified an initial X and a delta X value for the wa veform. The default initial X v alue is zero and the delta X v alue is 1. So, you can wire the wa veform array directly to the wav efo rm graph terminal wit[...]

  • Pagina 289

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-7 Bridge VIEW User Manual 15. Continue building your block diagram as shown in the preceding block diagram. Sine function ( Functions»Numeric»Trigonometric ) —In this activity , you use the function in a For Loop to build an array of points that represents one cycle [...]

  • Pagina 290

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-8 © National Instruments Corporation Activity 14-2. Use Auto-Indexing on Input Arrays Y our objective is to open and operate a VI that uses auto - indexing in a F or Loop to process an array. 1. Open the Separate Array V alues VI by selecting File»Open… . The VI is located in Exa[...]

  • Pagina 291

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-9 Bridge VIEW User Manual Using Auto-Indexing to Set the For Loop Count Notice that the count terminal is left unwired. When you use auto-indexing on an array entering a For Loop, the loop executes according to the size of the array, eliminating the need to wire a value [...]

  • Pagina 292

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-10 © National Instruments Corporation Build Array function ( Functions»Array ) —Y ou can use it to create an array from scalar v alues or from other arrays. Initially , the Build Array function appears with one scalar input. Y ou can add as many inputs as you need to the Build Ar[...]

  • Pagina 293

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-11 BridgeVIEW User Manual if element is a long integer with the value of fi ve and dimension size has a v al ue of 100, the result is a 1D array of 100 long integers all set to fi ve. Y ou can wire the inputs from front panel control terminals, as shown in the preceding [...]

  • Pagina 294

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-12 © National Instruments Corporation Array Subset You can use this function to extract a portion of an array or matrix. Array Subset returns a portion of an array starting at index and containing length elements. The following illustrations show examples of Array Subsets. Notice th[...]

  • Pagina 295

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-13 BridgeVIEW User Manual Index Array The Index Array function accesses an element of an array. The following illustration shows an example of an Inde x Array fun ction accessing the third element of an array . Notice that the index of the third element is 2 because the [...]

  • Pagina 296

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-14 © National Instruments Corporation Notice that the index terminal symbol change s from a solid to an empty box when you disable indexing. T o restore a disabled index, use the Enable Indexing command from the same menu. Y ou can extract subarrays along an y combin ation of dimens[...]

  • Pagina 297

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-15 BridgeVIEW User Manual Thus, you can interpret the lower left preceding e xample as a command to generate a 1D array of all elements at column 0 and ro w 3. Y ou can interpret the upper right example as a command to generate a 2D array of page 1. The new , 0 th elemen[...]

  • Pagina 298

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-16 © National Instruments Corporation Block Diagram 7. Place a Build Array function ( Functions»Array ) on the block diagram. Expand it with the Positioning tool to have f ive inputs. 8. Pop up on the first input in the Build Array node and select Change to Array . Do the same for [...]

  • Pagina 299

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-17 BridgeVIEW User Manual What is Polymorphism? Polymorphism is the ability of a functi on to adjust to input data of different types, dimensions, or represen tations. Most G functions are polymorphic. For example, the following illustrations show some of the polymorphic[...]

  • Pagina 300

    Chapter 14 Arrays, Clust ers, and Graphs BridgeVIEW User Manual 14-18 © National Instruments Corporation block diagram). In G, use the Bundle function to assemble a cluster. For more information about Clusters refer to Chapte r 14, Array and Cluster Controls and Indicators , in the G Programming Reference Manual . Graphs A graph is a two-dimension[...]

  • Pagina 301

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-19 BridgeVIEW User Manual Graph Cursors You can place cursors and a cursor display on all the graphs in G, and you can label the cursor on the plot. You can set a cursor to lock onto a plot, and you can move multiple cursors at the same time. There is no limit to the num[...]

  • Pagina 302

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-20 © National Instruments Corporation Graph Axes You can format the scales of a graph to represent either absolute or relative time. Use absolute time format to display the time, date, or both for your scale. If you do not want G to assume a date, use relative time format. To select[...]

  • Pagina 303

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-21 BridgeVIEW User Manual The T emperature wav eform chart displays the temperature as it is acquired. After acquisition, the VI plots the data in Temp Graph . The Mean , Max , and Min digital indicators display the av erage, maximum, and minimum temperatures. Block Diag[...]

  • Pagina 304

    Chapter 14 Arrays, Clusters, and Graphs BridgeVIEW User Manual 14-22 © National Instruments Corporation W ait Until Next ms Multiple fun ction ( Functions»Time & Dialog )— In this ex ercise, this function ensures the For Loop ex ecutes every 0.25 seconds (250 ms). Numeric constant ( Functions»Numeric ) —Y ou also can pop up on the W ait [...]

  • Pagina 305

    Chapter 14 Arrays, Clusters, and Graphs © National Instruments Corporation 14-23 BridgeVIEW User Manual Intensity Plots BridgeVIEW has two methods for displaying 3D data: the intensity chart and the intensity graph. Both intensity plots accept 2D arrays of numbers, where each number is mapped to a color. You can define the color mapping interactiv[...]

  • Pagina 306

    © National Instruments Corporation 15-1 BridgeVIEW User Manual 15 Application Control This chapter introduces the VI Server and provides an activity that explains how to use it within BridgeVIEW. The VI Server allows you to control when a VI is loaded into memory, run, and unloaded from memory. The VI Server also allows you to accomplish the follo[...]

  • Pagina 307

    Chapter 15 Application Control BridgeVIEW User Manual 15-2 © National Instruments Corporation What is the VI Server? The VI Server is a G programming mechanism that lets you programmatically control properties and the execution of VIs. You can use the VI Server to open, call, and close other VIs dynamically, and to manipulate VI properties. The VI[...]

  • Pagina 308

    Chapter 15 Application Control © National Instruments Corporation 15-3 Bridge VIEW User Manual the TR UE value is passed into a Case structure and each case contains the appropriate subVI, as shown in the pre vious illustration. The disadvantage of the above approach is that all subVIs are in memory at all times, regardless of which ones are neede[...]

  • Pagina 309

    Chapter 15 Application Control BridgeVIEW User Manual 15-4 © National Instruments Corporation Activity 15-1. Use the VI Ser ver Y our objective is to b uild a to p-l evel VI that uses the VI Serv er to open, run, display , and close two other VIs. The top-level VI will load both subVIs dynamically . Then, the top-level VI will open and run the sub[...]

  • Pagina 310

    Chapter 15 Application Control © National Instruments Corporation 15-5 Bridge VIEW User Manual 3. Sav e this VI as VI Control2.vi in the BridgeVIEWActivity directory . This VI will call the HMI#1 and HMI#2 VIs. Block Diagram 4. Build the block diagram of VI Control2.vi , as sho wn in the following illustrations.[...]

  • Pagina 311

    Chapter 15 Application Control BridgeVIEW User Manual 15-6 © National Instruments Corporation The elements of the VI are described below . Open VI Reference ( Functions»Application Control )—Opens the two VIs dynamically and loads them into memo ry . Path Control (Right-click on the P ath input of the Open VI Reference and choose Create Control[...]

  • Pagina 312

    Chapter 15 Application Control © National Instruments Corporation 15-7 Bridge VIEW User Manual Not Function ( Fu nctions»Comparison )—The node in verts the Boolean state of the While Loop. 5. Sav e the VI. 6. Build the block diagram of HMI#1, as sho wn in the following illustration. 7. Save H MI#1.vi Sav e a copy of this VI as HMI#2.vi in the B[...]

  • Pagina 313

    © National Instruments Corporation 16-1 BridgeVIEW User Manual 16 Program Design Now that you are familiar with many aspects of G prog ramming, you need to apply that knowledge to develop your own applications. This chapter suggests some techniques to use when creating programs and offers programming-style recommendations. Use T op-Down Design Whe[...]

  • Pagina 314

    Chapter 16 Program Design BridgeVIEW User Manual 16-2 © National Instruments Corporation In some cases you might not need all these blocks or you might need different blocks. F or example, some applications might include mo nitoring only , thus, you would not need to write data to the Real-T ime Database. Alternati vely , you might need additional[...]

  • Pagina 315

    Chapter 16 Program Design © National Instruments Corporation 16-3 Bridge VIEW User Manual Create the Program Now you are ready to create the program in G: • Use a modular approach by b uilding su bVIs where you find a logical division of labor or the potential for code reuse. • Solve your general problems along with your specific ones. • T e[...]

  • Pagina 316

    Chapter 16 Program Design BridgeVIEW User Manual 16-4 © National Instruments Corporation output that is used as the input to another subVI, try to align the input and output connections. This technique simplif i es yo ur wirin g patterns. SubVIs with Required Inputs On the front panel, you can edit required inputs for subVIs by clicking the icon p[...]

  • Pagina 317

    Chapter 16 Program Design © National Instruments Corporation 16-5 Bridge VIEW User Manual For e xample, examine the following diagram in which three similar operations run independently . An alternati ve to this design is a loop, which performs the operation three times. Y ou can build an array of the dif ferent ar guments and use auto-indexing to[...]

  • Pagina 318

    Chapter 16 Program Design BridgeVIEW User Manual 16-6 © National Instruments Corporation The BridgeVIEW Engine handles system e vents and errors reported by device serv ers. Howe ver , your VIs must handle any error conditions within their diagrams. For e xample, if a VI is unab le to open a f ile properly , you might want the VI to halt or inform[...]

  • Pagina 319

    Chapter 16 Program Design © National Instruments Corporation 16-7 Bridge VIEW User Manual One of the main adv antag es in using the error input and output clusters is that you can use them to control the ex ecutio n order of dissimilar operations. The error information generally is represented using a cluster containing a numeric error code, a str[...]

  • Pagina 320

    Chapter 16 Program Design BridgeVIEW User Manual 16-8 © National Instruments Corporation Notice that the preceding example still does not check for errors. For instance, if the file does not exist, the program does not display a warning. The following v ersion of the block diagram illustrates one tech niqu e for handling this problem. In this exam[...]

  • Pagina 321

    © National Instruments Corporation A-1 BridgeVIEW User Manual A HMI Function Reference This appendix describes error handling for BridgeVIEW VIs and contains an explanation of the VIs in the BridgeVIEW VI lib rary . In t his appendix, the VIs are arranged alphabetically , first by VI Library name (Alarms and Events, Historical Data, System, T ags,[...]

  • Pagina 322

    Appendix A HMI Function R eference BridgeVIEW User Manual A-2 © National Instruments Corporation message. Using error in and error out clusters is a convenient way to check errors and to specify execution order by wiring the error output from one subVI to the error input of the next. status is TRUE if an error occurred before this VI was called, o[...]

  • Pagina 323

    Appendix A HMI Function Reference © National Instruments Corporation A -3 Br idgeVIEW User Manual BridgeVIEW VI Librar y Many of the VIs in the BridgeVIEW VI Library are specific to BridgeVIEW , and are not part of the standard G library . These VIs include Alarms and Events VIs, Historical Data VIs, System VIs, T ags VIs, and T ag Attrib utes VIs[...]

  • Pagina 324

    Appendix A HMI Function R eference BridgeVIEW User Manual A-4 © National Instruments Corporation Alarms and Events VIs Use the Alarms and Events VIs to ackno wledge alarms, display alarm summary or ev ent histo ry in formation , or obtain alarm summary status information. The Alarms and Events subpalette is shown in the follo wing illustration.[...]

  • Pagina 325

    Appendix A HMI Function Reference © National Instruments Corporation A -5 Br idgeVIEW User Manual Acknowledge Alarm Use the Acknowledge Alarm VI to acknowledge alarms on a tag or a gro up. Call this VI when an Acknowledge button is pressed in your HMI. You can call this VI multiple times from your HMI. group/tag names is the list of tags that have[...]

  • Pagina 326

    Appendix A HMI Function R eference BridgeVIEW User Manual A-6 © National Instruments Corporation Get Alarm Summar y Status Use the Get Alarm Summary Status VI to check the status of alarms in the BridgeVIEW system. You can call this VI multipl e times from y our HMI. group/tag names determines the tags for which alarm status is to b e read. Use gr[...]

  • Pagina 327

    Appendix A HMI Function Reference © National Instruments Corporation A -7 Br idgeVIEW User Manual Read Alarm Summar y Use the Read Alarm Summary VI to display current alarm information for a set of tags or tag groups within a given alarm priority range. You also can filter ou t acknowledged alarms. Th is VI formats the alarm summary informat ion f[...]

  • Pagina 328

    Appendix A HMI Function R eference BridgeVIEW User Manual A-8 © National Instruments Corporation max priority is the maximum priority of alarms to read. If left unwired, alarms corresp onding to priority level 15 and below are reported. filter ACK alarms? determines whether acknowledged alarms are read. group/tag names determines the tags for whic[...]

  • Pagina 329

    Appendix A HMI Function Reference © National Instruments Corporation A -9 Br idgeVIEW User Manual Alarm Message determines whether to display the user-configured alarm message. This applies to discrete tags o nly. color codes is a cluster of parameters that determine the colors for the messages in the Alarm Summary Display. event determines the co[...]

  • Pagina 330

    Appendix A HMI Function R eference BridgeVIEW User Manual A-10 © National Instruments Corporation shutdown indicates that the BridgeVIEW Engine is shutting dow n. In this case, the Read Alarm Summary VI returns immediately with shutdown TRUE. You can use shutdown to exit any While Loop that calls Read Alarm Summary VI. changed? is TRUE if a new al[...]

  • Pagina 331

    Appendix A HMI Function Reference © National Instruments Corporation A- 11 BridgeVIEW User Manual Read Event Histor y Use the Read Event History VI to display all the alarms and eve n ts that have occurred for a set of tags or tag groups within a given alarm priority range. You also can filter out acknowledged tags. The Read Event History VI forma[...]

  • Pagina 332

    Appendix A HMI Function R eference BridgeVIEW User Manual A-12 © National Instruments Corporation max priority is the maximum priority of alarms read. If left unwired, alarms corresp onding to priority level 15 and below are reported. filter ACK alarms? determines whether acknowledged alarms are read. group/tag names determines the tags for which [...]

  • Pagina 333

    Appendix A HMI Function Reference © National Instruments Corporation A- 13 BridgeVIEW User Manual Operator Name determines whether to display the operator name. Alarm Message determines whether to display the user-configured alarm message. This applies to discrete tags o nly. color codes is a cluster of parameters that determine the colors for the[...]

  • Pagina 334

    Appendix A HMI Function R eference BridgeVIEW User Manual A-14 © National Instruments Corporation error indicates that an error occurred when executing the Read Event History VI. It was probably a problem with the group/tag name . shutdown indicates that the BridgeVIEW Engine is shutting dow n. In this case, the Read Event History VI returns immed[...]

  • Pagina 335

    Appendix A HMI Function Reference © National Instruments Corporation A- 15 BridgeVIEW User Manual Read T ag Alarm Use the Read Tag Alarm VI to read detailed alarm status for a tag from the Real-Time Database. You probably want to use the Read Tag Alarm VI in the portion of your program where you monitor alarm information for specific tags. The Rea[...]

  • Pagina 336

    Appendix A HMI Function R eference BridgeVIEW User Manual A-16 © National Instruments Corporation error indicates that an error occurred when executing Read Alarm Tag, or that the value returned by Read Tag Alarm is not valid. shutdown indicates that the BridgeVIEW Engine is shutting dow n. In this case, the Read Tag Alarm VI no longer waits for a[...]

  • Pagina 337

    Appendix A HMI Function Reference © National Instruments Corporation A- 17 BridgeVIEW User Manual Historical Data VIs Use the Historical Data VIs to obtain or read historical data about a tag, resample trend data, compute statistical data for a historical trend, or con vert historical trend data to a spreadsheet format. The Historical Data subpale[...]

  • Pagina 338

    Appendix A HMI Function R eference BridgeVIEW User Manual A-18 © National Instruments Corporation Call HTV Use the Call HTV VI to include the Historical Trend Viewer (HTV) in your HMI application programmatically. Wire no inputs to launch the HTV in its default state, or wire one or more inputs to override the defaults. If the HTV is running when [...]

  • Pagina 339

    Appendix A HMI Function Reference © National Instruments Corporation A- 19 BridgeVIEW User Manual error in is a cluster that describes the error status before this VI executes. For more information about thi s control, see the section Errors Not Reported by the BridgeVIEW Engine in this appendix. start time is the time to be displayed at the begin[...]

  • Pagina 340

    Appendix A HMI Function R eference BridgeVIEW User Manual A-20 © National Instruments Corporation Decimate Historical T rend Use the Decimate Historical Trend VI to take XY historica l trend data, and decimate (resample) it from the start timestamp to the stop timestamp . The decimated trend output is a 1D array of the value at each time interval [...]

  • Pagina 341

    Appendix A HMI Function Reference © National Instruments Corporation A- 21 BridgeVIEW User Manual Decimate Historical T rends Use the Decimate Historical Trends VI to decimate (resample) XY historical trend data over the time interval specified from start timestamp to stop timestamp . The decimate d trend output is a 2D array of instantaneous valu[...]

  • Pagina 342

    Appendix A HMI Function R eference BridgeVIEW User Manual A-22 © National Instruments Corporation decimated trends is a list of decimated historical trends starting at first timestamp . Each trend value is time interval seconds apart. first timesta mp is the actual time associated with the first point in the decimated trend. last timestamp is the [...]

  • Pagina 343

    Appendix A HMI Function Reference © National Instruments Corporation A- 23 BridgeVIEW User Manual Get Historical T ag List Use the Get Historical Tag List VI to obtain the list of tags that have historical data available in the historical database. Citadel path in is the path to the directory containing the Citadel historical database. If this pat[...]

  • Pagina 344

    Appendix A HMI Function R eference BridgeVIEW User Manual A-24 © National Instruments Corporation Get Historical T rend Info Use the Get Historical Trend Info VI to obtain the first and last timestamp available in the historical database for a given tag, and the type of the tag, whether analog or discrete. Citadel path in is the path to the direct[...]

  • Pagina 345

    Appendix A HMI Function Reference © National Instruments Corporation A- 25 BridgeVIEW User Manual Historical T rend Statistics Use the Historical Trend Statistics VI to compute statistical data for a historical trend. Statistics include minimum value, maximum value, average and standard deviations. The statistics skip invalid input points (where v[...]

  • Pagina 346

    Appendix A HMI Function R eference BridgeVIEW User Manual A-26 © National Instruments Corporation The last point in the trend is not included in the standard deviation, because there is no known time interval associated with it. # stops is the number of transitions from log ging on to logging off in the trend. # starts is the numb er of transition[...]

  • Pagina 347

    Appendix A HMI Function Reference © National Instruments Corporation A- 27 BridgeVIEW User Manual Historical T rends to Spreadsheet Use the Historical Trends to Spreadsheet VI to converts a set of historical trends into the tab delimited string format, which spreadsheet programs can read. The columns created are date, time, tag name 1 value, tag n[...]

  • Pagina 348

    Appendix A HMI Function R eference BridgeVIEW User Manual A-28 © National Instruments Corporation sample interval (1 sec) determines the time interval for each historical trend. If unwired, the data is sampled at one-second intervals. error in (no error) is a cluster that describes the error status before this VI executes. For more information abo[...]

  • Pagina 349

    Appendix A HMI Function Reference © National Instruments Corporation A- 29 BridgeVIEW User Manual Historical T rends to Spreadsheet File This VI stores the data from a set of historical trends into a spreadsheet file format. The columns created are date, time, tag1data, tag2data, and so on. A header is created labelling the date, time, and tag nam[...]

  • Pagina 350

    Appendix A HMI Function R eference BridgeVIEW User Manual A-30 © National Instruments Corporation time format (System d e fau lt ) determines whether a 12-hour (AM/PM) or 24-hour format is used. seconds format (1 sec) determines how many digits of precision are displayed for timestamps. file path is the name of the spreadsheet file to store the hi[...]

  • Pagina 351

    Appendix A HMI Function Reference © National Instruments Corporation A- 31 BridgeVIEW User Manual Read Historical T rend Use the Read Historical Trend VI to read the historical data for a given tag from user specified start and stop dates and times, up to the maximum number of points specified. If start timestamp and stop timestamp are not wired, [...]

  • Pagina 352

    Appendix A HMI Function R eference BridgeVIEW User Manual A-32 © National Instruments Corporation historical trend is the tag trend data read from the historical database, starting at the date and time specified by start timestamp , and stopping at the date and time specified by stop timestamp or up to max points per trend , whichever is smaller. [...]

  • Pagina 353

    Appendix A HMI Function Reference © National Instruments Corporation A- 33 BridgeVIEW User Manual Read Historical T rends Use the Read Historical Trends VI to read the historical data for a given set of tags from a user specified start and stop date and time, up to max points per trend . If the inputs for start timestamp and stop timestamp are not[...]

  • Pagina 354

    Appendix A HMI Function R eference BridgeVIEW User Manual A-34 © National Instruments Corporation historical trends is the tag trend data read from th e historical datab ase, starting at the date and time specified by start timestamp , and stopping at the date and time specified by stop timestamp or up to max points per trend , whichever is smalle[...]

  • Pagina 355

    Appendix A HMI Function Reference © National Instruments Corporation A- 35 BridgeVIEW User Manual System VIs Use the System VIs to obtain information or monitor the access level of the current operator , to launch or shut do wn BridgeVIEW , or to enable or disable ev ent logging, historical data logging or printing. The System subpalette is shown [...]

  • Pagina 356

    Appendix A HMI Function R eference BridgeVIEW User Manual A-36 © National Instruments Corporation Enable Event Logging Use the Enable Event Logging VI to turn on or off logging of alarms and events for all tags in the system programmatically. Enable evt log (T) determines wheth e r to tu rn event logging on or off. error in (no error) is a cluster[...]

  • Pagina 357

    Appendix A HMI Function Reference © National Instruments Corporation A- 37 BridgeVIEW User Manual Enable Historical Data Logging Use the Enable Historical Data Logging VI to turn on or off data logging for all tags in the system programmatically. Enable hst logging (T) determines whether to turn historical data logging on or off. error in (no erro[...]

  • Pagina 358

    Appendix A HMI Function R eference BridgeVIEW User Manual A-38 © National Instruments Corporation Enable Printing Use the Enable Printing VI to turn on or off printing of alarms and events for all tags in the system programmatically. Enable prin ting (T) determines whether to turn print ing on or off. error in (no error) is a cluster that describe[...]

  • Pagina 359

    Appendix A HMI Function Reference © National Instruments Corporation A- 39 BridgeVIEW User Manual Engine Launch Use the Engine Launch VI to launch the BridgeVIEW Engine programmatically. Normally the BridgeVIEW Engine is launched automatically when you execute any of the VIs that access the Real-Time Database. Use this VI if you want to control wh[...]

  • Pagina 360

    Appendix A HMI Function R eference BridgeVIEW User Manual A-40 © National Instruments Corporation Engine Shutdown Use the Engine Shutdown VI to shut down the BridgeVIEW Engine from your HMI. You must terminate your application immediately after calling this VI. The BridgeVIEW Engine does not shut down until all VIs that are accessing the Real-Time[...]

  • Pagina 361

    Appendix A HMI Function Reference © National Instruments Corporation A- 41 BridgeVIEW User Manual Get Engine Status Use this VI to query the BridgeVIEW engine status. The outputs indicate whether the engine is loaded, running, or shutting down, and which configuration file is being used. configuration fi le in use indicates which BridgeVIEW config[...]

  • Pagina 362

    Appendix A HMI Function R eference BridgeVIEW User Manual A-42 © National Instruments Corporation Get T ag Status Info Use the Get Tag Status Info VI to obtain status information associated with tags. Tag status information can be broken down into two types: • Status information from BridgeVIEW —This status can be from the En gine or a Server [...]

  • Pagina 363

    Appendix A HMI Function Reference © National Instruments Corporation A- 43 BridgeVIEW User Manual Post System Error or Event Use this VI to post an error or event me ssage from your HMI to the System Error/Event display on the Engine Manager. The message you post is logged to the system log file in the BridgeVIEWSyslog directory. The format of th[...]

  • Pagina 364

    Appendix A HMI Function R eference BridgeVIEW User Manual A-44 © National Instruments Corporation T ag Status Handler Use the Tag Status Handler VI to obtain a description of the tag status, by break ing it down into warning or error conditions coming from BridgeVIEW as well as the device server. It also identifies where the error or warning occur[...]

  • Pagina 365

    Appendix A HMI Function Reference © National Instruments Corporation A- 45 BridgeVIEW User Manual returned by the device server. The part of the message describing the server error code comes from the input you specify in server error descriptions . It also contains information about the source of the error.[...]

  • Pagina 366

    Appendix A HMI Function R eference BridgeVIEW User Manual A-46 © National Instruments Corporation Security VIs[...]

  • Pagina 367

    Appendix A HMI Function Reference © National Instruments Corporation A- 47 BridgeVIEW User Manual Check Operator Privileges Use this VI to check the current user’s privileges and produce a Boolean output indicating if the currently logged in user h as the privilege. Additional in puts can be sent to display a dialog box with a message (OK or OK/[...]

  • Pagina 368

    Appendix A HMI Function R eference BridgeVIEW User Manual A-48 © National Instruments Corporation Get Operator Name Use the Get Operator Name VI to obtain the current operator name, access level, and access level name. operator name is the login name of the current BridgeVIEW user. access level is the numeric access level assigned to the current B[...]

  • Pagina 369

    Appendix A HMI Function Reference © National Instruments Corporation A- 49 BridgeVIEW User Manual Invoke Login Dialog Use the Invoke Login Dialog VI to launch the BridgeVIEW Login dialog box. If the user selects Cancel in the Login dialog box, the previous user remains active. operator name is the login name of the current BridgeVIEW user. access [...]

  • Pagina 370

    Appendix A HMI Function R eference BridgeVIEW User Manual A-50 © National Instruments Corporation Programmatic Login Use the Programmatic Login VI to programmatically log in a user. user name is the name of the user to be logged in to BridgeVIEW. user password is the password of the user to be logged in to BridgeVIEW. user name out is the name of [...]

  • Pagina 371

    Appendix A HMI Function Reference © National Instruments Corporation A- 51 BridgeVIEW User Manual Programmatic Logout Use this VI to log out the current user, so no operator is logged into the system. logout (T) determines if the current BridgeVIEW user should be logged out of the system. If TRUE, the current user is logged out of the BridgeVIEW s[...]

  • Pagina 372

    Appendix A HMI Function R eference BridgeVIEW User Manual A-52 © National Instruments Corporation Security Monitor Use this VI to monitor the access level of the current BridgeVIEW operator. By default, this VI times out after one second, returning to the current operator access level. When an operator logs in, th is VI returns immediately. timeou[...]

  • Pagina 373

    Appendix A HMI Function Reference © National Instruments Corporation A- 53 BridgeVIEW User Manual User Account List Use this VI to generate a list of BridgeVIEW user accounts. user accounts is a list of BridgeVIEW user accounts. Ta g s V I s Use the T ags VIs to read the latest v alue for a tag, write a ne w value to a tag, or obtain data for a re[...]

  • Pagina 374

    Appendix A HMI Function R eference BridgeVIEW User Manual A-54 © National Instruments Corporation Read T ag Use the Read Tag VI to read the latest value of a tag from the Real-Time Database. For immediate polling of the tag value, leave timeout ( secs) unwired. To wait until the value is updated before reading it, wire a timeout value in seconds t[...]

  • Pagina 375

    Appendix A HMI Function Reference © National Instruments Corporation A- 55 BridgeVIEW User Manual value timestamp returns the timestamp for when the tag value was updated. error indicates that an error occurred when executing the Read Tag VI, or that the value output returned by Read Tag is not valid. See value status for the specific error condit[...]

  • Pagina 376

    Appendix A HMI Function R eference BridgeVIEW User Manual A-56 © National Instruments Corporation Read T ag (bit array) Use the Read Tag (bit array) VI to read the latest value for a given bit array tag from the Real-Time Database. For immediate polling of the tag value, leave timeout (secs) un wired. To wait until the value is updated before read[...]

  • Pagina 377

    Appendix A HMI Function Reference © National Instruments Corporation A- 57 BridgeVIEW User Manual value is the latest bit array value of the bit array tag read from the Real-Time Database. value timestamp returns the timestamp for when the tag value was last updated. error indicates that an error occurred when executing the Read Tag (bit array) VI[...]

  • Pagina 378

    Appendix A HMI Function R eference BridgeVIEW User Manual A-58 © National Instruments Corporation Read T ag (discrete) Use the Read Tag (discrete) VI to read the latest value for a given discrete (or Boolean) tag from the Real-Time Database. For immediate polling of the tag value, leave timeout (secs) unwired. To wait until the value is updated be[...]

  • Pagina 379

    Appendix A HMI Function Reference © National Instruments Corporation A- 59 BridgeVIEW User Manual value is the latest value of the discrete tag read from the Real-Time Database. value timestamp returns the timestamp for when the tag value was last updated. error indicates that an error occurred when executing the Read Tag (discrete) VI, or that th[...]

  • Pagina 380

    Appendix A HMI Function R eference BridgeVIEW User Manual A-60 © National Instruments Corporation Read T ag (string) Use the Read Tag (string) VI to read the latest value for the tag from the Real-Time Database. If timeout is 0, Read Tag (string) VI returns the current Tag value and update timestamp from the Real-Time Database, otherwise the Read [...]

  • Pagina 381

    Appendix A HMI Function Reference © National Instruments Corporation A- 61 BridgeVIEW User Manual value timestamp returns the timestamp for when the tag value was last updated. error indicates that an error occurred when executing the Read Tag (string) VI, or that the value output returned by Read Tag(string) is not valid. See value status for the[...]

  • Pagina 382

    Appendix A HMI Function R eference BridgeVIEW User Manual A-62 © National Instruments Corporation Tr e n d Ta g s Use the Trend Tags VI to set data for a real-time trend chart in your HMI. The Trend Tags VI supports analog, discrete, and bit array tags. The Trend Tag s VI formats data for one or mo re tags such that it can be wired directly to a t[...]

  • Pagina 383

    Appendix A HMI Function Reference © National Instruments Corporation A- 63 BridgeVIEW User Manual Write T ag Use the Write Tag VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sent to the server if it is an output or Input/Output tag. If the tag is an input only tag, the Write Tag VI[...]

  • Pagina 384

    Appendix A HMI Function R eference BridgeVIEW User Manual A-64 © National Instruments Corporation Write T ag (bit array) Use the Write Tag (bit array) VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sen t to the serv er if it is an output or Input/Output tag. If the tag is an input [...]

  • Pagina 385

    Appendix A HMI Function Reference © National Instruments Corporation A- 65 BridgeVIEW User Manual Write T ag (discrete) Use the Write Tag (discrete) VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sen t to the server if it is an output or Input/Output tag. If the tag is an input onl[...]

  • Pagina 386

    Appendix A HMI Function R eference BridgeVIEW User Manual A-66 © National Instruments Corporation Write T ag (string) Use the Write Tag (string) VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sen t to the serv er if it is an output or Input/Output tag. If the tag is an input only t[...]

  • Pagina 387

    Appendix A HMI Function Reference © National Instruments Corporation A- 67 BridgeVIEW User Manual Write T ag on Change Use the Write Tag on Change VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sen t to the server if it is an output or Input/Output tag. The value is updated and sen[...]

  • Pagina 388

    Appendix A HMI Function R eference BridgeVIEW User Manual A-68 © National Instruments Corporation Write T ag on Change (bit array) Use the Write Tag on Change (bit array) VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sent to the server if it is an output or Input/Output tag. The v[...]

  • Pagina 389

    Appendix A HMI Function Reference © National Instruments Corporation A- 69 BridgeVIEW User Manual Write T ag on Change (discrete) Use the Write Tag on Change (discrete)VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sent to the server if it is an output or Input/Output tag. The valu[...]

  • Pagina 390

    Appendix A HMI Function R eference BridgeVIEW User Manual A-70 © National Instruments Corporation Write T ag on Change (string) Use the Write Tag on Change (string) VI to update the Real-Time Database with a new value for memory, output, and Input/Output tags. The value also is sent to the server if it is an output or Input/Output tag. The value i[...]

  • Pagina 391

    Appendix A HMI Function Reference © National Instruments Corporation A- 71 BridgeVIEW User Manual T ag Attributes VIs Use the T ag Attributes VIs to get and set tag conf iguration parameters currently used by the BridgeVIEW Engine for tag processing programmatically . The T ag Attributes subpalette is sho wn below .[...]

  • Pagina 392

    Appendix A HMI Function R eference BridgeVIEW User Manual A-72 © National Instruments Corporation Get Analog T ag Alarm Limit Use the Get Analog Tag Alarm Limit VI to obtain limit information for a single tag value alarm for an analog tag. Use the Alarm type input (HI_HI, HI, LO, LO_LO) to specify the desired alarm limit information. tag name is t[...]

  • Pagina 393

    Appendix A HMI Function Reference © National Instruments Corporation A- 73 BridgeVIEW User Manual Get Bit Array T ag Alarm Setting Use the Get Bit Array Tag Alarm Setting VI to obtain alarm setting informati on for bit array tags. tag name is the name of the tag about which you want to obtain information. error in (no error) is a cluster that desc[...]

  • Pagina 394

    Appendix A HMI Function R eference BridgeVIEW User Manual A-74 © National Instruments Corporation Get Discrete T ag Alarm Setting Use the Get Discrete Tag Alarm Setting VI to obtain alarm setting information for discrete tags. tag name is the name of the tag about which you want to obtain information. error in (no error) is a cluster that describe[...]

  • Pagina 395

    Appendix A HMI Function Reference © National Instruments Corporation A- 75 BridgeVIEW User Manual Get Group List Use the Get Group List VI to returns a list of all configured groups in the system. By default, this VI includes the <ALL> group in the list. include <ALL> (T) determines whether the <ALL> group should be included in t[...]

  • Pagina 396

    Appendix A HMI Function R eference BridgeVIEW User Manual A-76 © National Instruments Corporation Get T ag Alarm Enabled Use the Get Tag Alarm Enabled VI to indicate whether alarms are enabled for the tag. This VI also indicates whether alarms are acknowledged automatically when a tag previously in alarm returns to norm al. tag name is the name of[...]

  • Pagina 397

    Appendix A HMI Function Reference © National Instruments Corporation A- 77 BridgeVIEW User Manual Get T ag Attribute Use the Get Tag Attributes VI to obtain the value of a tag attribute. The tag attribute input provides a large list for selection. Each attribute is selected by specifying its numeric code. The value of the attribute selected is ret[...]

  • Pagina 398

    Appendix A HMI Function R eference BridgeVIEW User Manual A-78 © National Instruments Corporation Get T ag Bad Status Alarm Info Use the Get Tag Bad Status Alarm Info VI to determine whethe r alarms are enabled for the tag. This VI also returns whether the bad status alarm is enabled, and its priority. tag name is the name of the tag about which y[...]

  • Pagina 399

    Appendix A HMI Function Reference © National Instruments Corporation A- 79 BridgeVIEW User Manual Get T ag Description Group Use the Get Tag Description Group VI to obtain a tag data type (analog, discrete, bit array, or string), description, and the group to which the tag belongs. tag name is the name of the tag about which you want to obtain inf[...]

  • Pagina 400

    Appendix A HMI Function R eference BridgeVIEW User Manual A-80 © National Instruments Corporation Get T ag I/O Connection Info Use the Get Tag I/O Connection In fo VI to obtain information on h ow the tag is connected to a real-world I/O point. Outputs include d ata type (analog, discrete, bit array, or string), server, I/O group, item, access rig[...]

  • Pagina 401

    Appendix A HMI Function Reference © National Instruments Corporation A- 81 BridgeVIEW User Manual Get T ag List Use the Get Tag List VI to return a list of all tags in a group. By default, group is <ALL> , so the VI returns all configured tags. group (<ALL>) determines what tags are in a list. The default is <ALL> , so that the V[...]

  • Pagina 402

    Appendix A HMI Function R eference BridgeVIEW User Manual A-82 © National Instruments Corporation Get T ag Logging Info Use the Get Tag Logging Info VI to determin e whether a tag is configured for logging historical data or alarms and events to disk. tag name is the name of the tag about which you want to obtain information. error in (no error) i[...]

  • Pagina 403

    Appendix A HMI Function Reference © National Instruments Corporation A- 83 BridgeVIEW User Manual Get T ag Range and Units Use the Get Tag Range and Units VI to obtain the engineering range for the tag in a cluster of Minimum , Maximum , and Increment . You can wire this format to a scale attribute node for a graph, slide, or vessel. Increment is [...]

  • Pagina 404

    Appendix A HMI Function R eference BridgeVIEW User Manual A-84 © National Instruments Corporation Set Multiple T ag Attributes Use the Set Multiple Tag Attributes VI to reconfigure several attributes for a list of tags or groups of tags programmatically. You must have the Engine running for the chang es to take effect. Otherwise, this VI returns a[...]

  • Pagina 405

    Appendix A HMI Function Reference © National Instruments Corporation A- 85 BridgeVIEW User Manual Set T ag Attribute Use the Set Tag Attribute VI to reconfigure an attribute for a list of tags or groups of tags programmatically. You must have the Engine running for the change to take effect. Otherwise, this VI returns an error. For mo re informati[...]

  • Pagina 406

    © National Instruments Corporation B-1 BridgeVIEW User Manual B Citadel and Open Database Connectivity This appendix describes the Citadel database and the Open Database Connectivity (ODBC) dri ver , and includes a table that lists data transform commands. The Citadel historical database includes an Open Database Connecti vity (ODBC) dri ver . Thi[...]

  • Pagina 407

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-2 © National Instruments Corporation 5. Choose the Citadel driv er and select Setup… . 6. Make changes as appropriate. Select the historical logging directo ry that was conf ig ured in your T ag Configuration ( *.scf ) f ile for each data source. For e xample, if you wan[...]

  • Pagina 408

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-3 BridgeVIEW User Manual Note Some applications are not completely ODB C compliant. If you plan to use Microsoft Query , Microsoft Access or V isual Basic, ensure Maximum Column Name Length does not exceed 62 characters. These pac kages cannot handle longer tag[...]

  • Pagina 409

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-4 © National Instruments Corporation How Do Y ou Access Citadel Data? The ODBC driv er presents Citadel data to other applications as a Thr eads table. The table contains a f ield or column for each da ta member logged to the Citadel database. Threads T able The Threads ta[...]

  • Pagina 410

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-5 BridgeVIEW User Manual These data transforms allo w you to directly calculate and retrieve comple x information from the database such as av erages and standard deviations. This time saving feature eliminates the need of extracting ra w data first, and then m[...]

  • Pagina 411

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-6 © National Instruments Corporation Assume, for example, that you want to find out ho w many times a compressor motor started in December . Y ou also want to kno w its total runtime for the month. The following query pro vides the answers: SELECT "Starts{MotorRun}&qu[...]

  • Pagina 412

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-7 BridgeVIEW User Manual • Retriev es an oven’ s temperature set point and value at 3:00 p.m. and shows the highest, lo west, and av erage temperatures between 2:00 p.m. and 3:00 p.m. SELECT LocalTime, "OVEN1_SP" , "OVEN1_PV", "Max{[...]

  • Pagina 413

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-8 © National Instruments Corporation Note If MS Query is unable to connect to a Citadel data source, you have not yet logged data to Citadel; or the Database path  you specified in the ODBC Setup dialog box is incorrect. Note If the Citadel data source is not listed in [...]

  • Pagina 414

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-9 BridgeVIEW User Manual T o view a data transform value, enter the func tion directly into a blank column. For example, to view the minimum value of Liquid , you would enter " min{Liquid}" . T ake special note of the use of quotation marks and braces[...]

  • Pagina 415

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-10 © National Instruments Corporation When you enter qualifying criteria v alues, be sure to use the syntax demonstrated in the where clauses of the SQL Examples found in this chapter . T o specify a starting time of 9:45 today , for example, you w ould enter >= "9[...]

  • Pagina 416

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-11 Br idgeVIEW User Manual Using Microsoft Excel with Citadel Note The exact operation of Microsoft Excel might change from version to v ersion. Look in the online help for Microsoft Excel for ho w to connect to an ODBC Data Source for the exact instructions f [...]

  • Pagina 417

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-12 © National Instruments Corporation Using Microsoft Access with Citadel The exact operation of Microsoft Access might change from v ersion to version. Look in the online help for Microsoft Access for h ow to connect to an ODBC Data Source for the exact instructions for y[...]

  • Pagina 418

    Appendix B Citadel and Open Database Connect ivity © National Instruments Corporation B-13 Br idgeVIEW User Manual In the Import Objects dialog box, choose Threads . The ne w table attaches to your database. Now you can build queries in Access that e xtract data directly from the Citadel database. Using Visual Basic with Citadel The exact operatio[...]

  • Pagina 419

    Appendix B Citadel and Open Databas e Connectivity BridgeVIEW User Manual B-14 © National Instruments Corporation Using the Citadel ODBC Dri ver in V isual Basic is the same as using an y other ODBC dri ver . T o retriev e and vie w data, create a Data control and at least one text control. First place a Data control on an open form. Set its Conne[...]

  • Pagina 420

    © National Instruments Corporation C-1 BridgeVIEW User Manual C Customer Communication For your conv enience, this appendix contains forms to help you gather the information necessary to help us solve your technical problems and a form you can use to comment on the product documentation. When you contact us, we need the information on the T echnic[...]

  • Pagina 421

    BridgeVIEW User Manual C-2 © National Instruments Corporation Fax-on-Demand Support Fax-on-Demand is a 24-hour information retrie val system containing a library of documents on a wide range of technical information. Y ou can access Fax-on-Demand from a touch-tone telephone at 512 418 1111. E-Mail Support (Currently USA Only) Y ou can submit techn[...]

  • Pagina 422

    T echnical Support Form Photocopy this form and update it each time you mak e changes to your software or hardware, and use the completed copy of this form as a reference for your current conf iguration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your question[...]

  • Pagina 423

    BridgeVIEW Hardware and Software Configuration Form Record the settings and re visions of your hardware and software on the line to the right of each item. Complete a ne w cop y of this form each time you re vise your software or hardware conf iguration, and use this form as a reference for your current configuration. Completing this form accuratel[...]

  • Pagina 424

    Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our pro ducts. This information helps us pr o vide quality products to meet your needs. T i t l e : BridgeVIEW™ User Manual Edition Date : May 1998 Part Number : 321294C-01 Please comment on the completeness, clarit y , and o r g anization[...]

  • Pagina 425

    © National Instruments Corporation G-1 BridgeVIEW User Manual Glossar y Pref ix Meanings V alue m- milli- 10 – 3 µ- micro- 10 – 6 n- nano- 10 – 9 A access lev el Numeric va lue between 0 and 255 that can be used to control access to your HMI. A CK (Acknowledge) The sequence action that indicates recognition of a ne w alarm. alarm An abnorma[...]

  • Pagina 426

    Glossar y BridgeVIEW User Manual G-2 © National Instruments Corporation B bit array tag A multibit value representation of a connection to a real-world I/ O point or memory variable. In BridgeVIEW , this type of tag can be comprised of up to 32 discrete values. block diagram A pictorial descrip tio n or rep resentation of a program or algorithm. I[...]

  • Pagina 427

    Glossary © National Instruments Corporation G-3 BridgeVIEW User Manual cluster A set of ordered, unindexed data elements of any data type including numeric, Boolean, string, array , or cluster . The elements must be all controls or all indicators. coercion do t A gray dot on a terminal to indicate that one of two terminals wired together has been [...]

  • Pagina 428

    Glossar y BridgeVIEW User Manual G-4 © National Instruments Corporation dynamic attrib utes T ag attributes that do not require the BridgeVIEW Engine to be restarted when they are edited or reconf igured. Examples of dynamic attributes include enabling logging operations, alarm attributes, and some scaling attributes. See also static attrib utes. [...]

  • Pagina 429

    Glossary © National Instruments Corporation G-5 BridgeVIEW User Manual G G The graphical programming language used to develop BridgeVIEW applications. group See tag group or I/O group. H Help window Special window that displays the names and locations of the terminals for a function or subVI, the description of controls and indicators, the values [...]

  • Pagina 430

    Glossar y BridgeVIEW User Manual G-6 © National Instruments Corporation item A channel or variable in a real-w orld device that is monitored or controlled by a BridgeVIEW de vice server . L LabVIEW L aboratory V irtual Instrument Engineerin g W o rkbench. A program dev elopment application used commonly for test and measurement purposes. log deadb[...]

  • Pagina 431

    Glossary © National Instruments Corporation G-7 BridgeVIEW User Manual operator The person who initiates and monitors the operation of a process. output tag A tag that sends v alues to a device serv er whenev er it is updated in the Real-T ime Database. P palette A display of pictures that represent possible options. Panel G Wizard A utility in Br[...]

  • Pagina 432

    Glossar y BridgeVIEW User Manual G-8 © National Instruments Corporation R range The re gion between th e limits within which a quantity is measured, recei ved, or transmitted expressed b y stating the lower and upper range va lu e s. Real-T ime Database (R TDB) An in-memory snapshot of all tags in the system. real-time trend A plot of data (v alue[...]

  • Pagina 433

    Glossary © National Instruments Corporation G-9 BridgeVIEW User Manual static attributes T ag attributes that re quire the BridgeVIEW Engine to be restarted if they are edited or reconfigured. Examples of static attributes are general attributes and I/O connection attributes, such as server, device, or item. See also dynamic attributes. string tag[...]

  • Pagina 434

    Glossar y BridgeVIEW User Manual G-10 © National Instruments Corporation T ag Monitor A utilit y to view the current v a lue of a tag, alon g wit h its st atus and alarm state. tag status A variable that determines the validity of a tag v alu e. A negati ve status represents an error , a positiv e status represents a warning, and a status of zero [...]

  • Pagina 435

    Glossary © National Instruments Corporation G-11 BridgeVIEW User Manual W While Loop Post-iterativ e test loop structure that repeats a section of code until a condition is met. Comparable to a Do loop or a Repeat-Until loo p in con ventional programming languages wire Data path between nodes. wiring tool T o ol used to define data paths between s[...]

  • Pagina 436

    © National Instruments Corporation I- 1 BridgeVIEW User Manual Index A access lev els and privileges, 7-1 See also security . defaults (table), 7-13 fi nding access le vels, 7-15 finding en vironment access privile ges, 7-15 modifying access pri vileges, 7-22 list of av ailable user access lev els, 7-19 Access Lev els dialog box, 7-15 Ackno wledge[...]

  • Pagina 437

    Index BridgeVIEW User Manual I-2 © Nati onal Instruments Corporation array functions Array Size, 14-11 Array Subset, 14-12 Build Array , 14-9 Index Array , 14-13 Initialize Array , 14-10 using Build A rray function (acti vity), 14-15 Array Max & Min function, 14-22 array shell, 14-1 Array Size function, 14-11 array string constant, 15-6 Array [...]

  • Pagina 438

    Index © National Instruments Corporation I- 3 BridgeVIEW User Manual Boolean switches changing mechanical action (acti vity), 11-8 possible choices for mechanical action, 11-7 Latch Until Released, 11-8 Latch When Pressed, 11-8 Latch When Released, 11-8 Switch Until Released, 11-8 Switch When Pressed, 11-7 Switch When Released, 11-7 Breakpoint too[...]

  • Pagina 439

    Index BridgeVIEW User Manual I-4 © Nati onal Instruments Corporation Security VIs Check Operator Pri vileges, A-47 Get Operator Name, A-48 In voke Login Dialog, A-49 Programmatic Login, A-50 Programmatic Logout, A-51 Security Monitor , A-52 User Account List, A-53 System VIs, A-35 Enable Event Logging, 7-8, A-36 Enable historical data logging, 7-8[...]

  • Pagina 440

    Index © National Instruments Corporation I- 5 BridgeVIEW User Manual charts, 11-2 See also graphs. acti vity , 11-3 creating multiplot chart and cu stomizing trends (activity), 11-1 7 faster updates, 11-3 modes, 11-2 purpose and use, 1-4, 11-2 stacked v ersus overlaid plots, 11-3 wav efo rm char t For Loop (activi ty), 11-22 placing on subVI, 10-6[...]

  • Pagina 441

    Index BridgeVIEW User Manual I-6 © Nati onal Instruments Corporation discrete tags alarm configuration, 3-35 creating, 3-5 purpose and use, 3-10 Distribution ring, 2-3 Di vide function adding to subVI, 9-20 Sequence structure, 12-10 shift register , 11-14 documentation con ventions used in manual, xxii organization of manual, xix related documenta[...]

  • Pagina 442

    Index © National Instruments Corporation I- 7 BridgeVIEW User Manual stopping and starting programmatically , 7-8 turning on at startup, 3-44 printing, 5-13 stopping and starting programmatically , 7-8 purpose and use, 1-3, 1-7 types of ev ents, 1-7 viewing, 5-14 ex ecution highlighting , 9-23 Execution Options, 1 0-4 exporting a list of users to [...]

  • Pagina 443

    Index BridgeVIEW User Manual I-8 © Nati onal Instruments Corporation Get Alarm Summary Status VI, A-6 Get Analog T ag Alarm Limit VI, A-72 Get Bit Array T ag Alarm Setting VI, A-73 Get Discrete T ag Alarm Setting VI, A-74 Get Engine Status VI, A-41 Get Group List VI, A-75 Get Historical T ag List, A-23 Get Historical T ag List VI example, 6-4 purp[...]

  • Pagina 444

    Index © National Instruments Corporation I- 9 BridgeVIEW User Manual Historical T rends to Spreadsheet File, A-29 list of VIs, 6 -4 locating, A-17 Read Historical T rend, A-31 Read Historical T rends, 6-4, A-33 Historical Logging Configuration dialog box illustration, 6-3 parameters (table), 6-3 Historical T rend Statistics VI example, 6-7 purpose[...]

  • Pagina 445

    Index BridgeVIEW User Manual I-10 © National Instruments Corporation initializing and shutting down multiple-loop appli cations, 4-28 polled programming, 4-27 HMI G W izard, 4-3 acti vity , 4-8 operations (table), 4-4 incorporating Historical T rend V iewer (HTV), 6 -14 monitoring and controlling tags, 4-1 6 reading tags (activ ity), 4-21 tag data[...]

  • Pagina 446

    Index © National Instruments Corporation I-11 BridgeVIEW User Manual M Man Machine Interface. See Human Machine Interface. manual. See documentation. Max & Min function, 11-24 Mean VI, 14-22 memory configurable memory allocation parameters (table), 3-45 ef ficient use with arrays, 14-16 VI Server considerations, 15-2 memory tags, 3-19 when not[...]

  • Pagina 447

    Index BridgeVIEW User Manual I-12 © National Instruments Corporation operator interface panel controlling visibilit y , 7-7 Operator Interface Security , 7-22 controlling visibilit y attributes, 7-23 limiting user access to operator interface panels, 7-23 P Panel G W izard, 7-1 how to use, 7-2 panel size and visibility , contro lling, 7-6 password[...]

  • Pagina 448

    Index © National Instruments Corporation I-13 BridgeVIEW User Manual Read T ag (string) VI, A-60 Read T ag Alarm VI, A -15 Real-T ime Database, 1-6, 1-9 See also BridgeVIEW Engine; tag configuration; operations real-time trends, displaying, 4-29 registered server de vice and item parameters, 8-11 Release Instrument VI, 15-6 Reorder ring, 2-3 RT D [...]

  • Pagina 449

    Index BridgeVIEW User Manual I-14 © National Instruments Corporation incrementing and decrementing subdiagrams, 12-1 ov erview , 12 -5 purpose and use, 1-4 subdiagram display window , 12-1 Server Bro wer utility , 2-14 Server Bro wser Browse OPC Serv ers on Network dialog box, illustration, 8-7 launching, 2-11 main screen (illustration), 8-10 Show[...]

  • Pagina 450

    Index © National Instruments Corporation I-15 BridgeVIEW User Manual Stop button, 2-3 string constant, 12-4 string controls and indicators, 2-7 string tags alarm configuration, 3-36 creating, 3-5 purpose and use, 3-11 strip chart, 11-2 Structured Query Language (SQL) examples, B-6 structures, 11-1 See also Case structure; loops; Sequence structure[...]

  • Pagina 451

    Index BridgeVIEW User Manual I-16 © National Instruments Corporation Get T ag Range and Units, A-83 location of, 4-16 Set Multiple T ag Attributes, A-84 Set T ag Attrib ut e, A-85 tag attributes, 3-1, 3-11 acti vity , 7-10 alarm, 3-3 connection, 3-2 general, 3-2 operation, 3-2 reading or changing programmatically , 7-9 scaling, 3-2 static vs. dyna[...]

  • Pagina 452

    Index © National Instruments Corporation I-17 BridgeVIEW User Manual LO Limit, 3-32 LO Priority , 3-32 LO_LO Enabled, 3-32 LO_LO Limit, 3-32 LO_LO Priority , 3-32 T ag Last Modif ied, 3-33 connecting to OPC serv er, 3-21 connection connecting tag to DDE server , 3-21 defining group of tags for alarming, 3-21 generate tags from server information, [...]

  • Pagina 453

    Index BridgeVIEW User Manual I-18 © National Instruments Corporation Engine paramet er conf i guration, 3-44 configurable memory allocation parameters (table), 3-45 ov erriding default settings, 3-44 setting file paths for historical and ev ent files, 3-44 shift configuration, 3-44 turning on historical and ev ent logging at startup, 3-44 illustra[...]

  • Pagina 454

    Index © National Instruments Corporation I-19 BridgeVIEW User Manual T emp&V ol VI, 1 0-8 terminals, adding to V Is, 9-3 Thermometer VI, 14-21 Threads table, B-4 tip strips, 9-4 T ools palette, 2-4 T rend T ags VI, A-62 trends See also Historical T rend V iewer (HTV). historical trends, 6-1 purpose and use, 1-7, 6-1 real-time trends, 6-1 U Use[...]

  • Pagina 455

    Index BridgeVIEW User Manual I-20 © National Instruments Corporation front panel, 2-2 icon/connector , 2-3 opening and running (activity), 2-8 overv iew , 1 -3 purpose and use, 1-4, 9-1 subVI node setup, 10-1 acti vity , 10-2 System VIs, 7-7 VI Server Functions, 7-5 VI Setup dialog box, 10-1 visibility , 7-23 V isual Basic retrieving Citadel data,[...]