National Instruments BridgeVIEW 用户手册

下载
页码 455
Chapter 7
Advanced Application Topics
© National Instruments Corporation
7-3
You can configure the Panel G Wizard to store the file path as a relative 
path or as an absolute path. If the VI that you connect to the button is 
generally kept in a path that is relative to the top-level VI, you should 
select the Relative path setting.
How Do You Configure Security 
with the Panel G Wizard?
The Panel G Wizard can create code that disables or hides the button if the 
operator does not have sufficient security access. You determine the access 
level required in the Panel G Wizard dialog box. Security is covered later 
in this chapter.
How Do You Configure When a Button 
Will Be Polled?
Like all user interface controls in BridgeVIEW, front panel buttons are 
monitored using a polling loop mechanism. Polling will occur either until 
the BridgeVIEW Engine shuts down, or, if the Always option is selected, 
until the VI stops.
Activity 7-1. Use the Panel G Wizard
Your objective is to use the Panel G Wizard to attach buttons to VIs that 
you have created, to the HTV, and to a Login prompt. You will use VIs that 
you created in Chapters 4, 5, and 6 in this exercise. You will use 
mytanks.scf
 in the 
BridgeVIEW\Activity
 directory.
1.
Place a front panel button on a new front panel, as shown below. Click 
on the button text with the labeling tool and name the button 
Alarms
Pop up on the button and make sure the Mechanical Action… is set to 
Latch when Released.