Agilent Technologies VEE Pro Guide de l'utilisateur Page 455

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 602
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 454
Using Operator Interfaces Chapter 11
VEE User’s Guide 427
Lab 11-3: Creating a High Impact Warning
This exercise includes several UserFunctions that are nested.
The first UserFunction is the alarm itself, which displays a
red square and beeps. The second UserFunction calls the
alarm repeatedly creating a blinking light effect and a
pulsing sound, until the operator turns the alarm off.
Begin by programming the alarm function.
1 Select Device UserFunction. Change the name to alarm.
2 Select Display Beep and place it in the upper- left of the
UserFunction. Adjust the settings so there is a loud beep
that lasts a second. Change the Duration (sec) field to 1.
Change the Volume (0-100) field to 100.
3 Click Display Indicator Color Alarm and place it in the
UserFunction. Open the Color Alarm object menu, click
Properties, and set as follows: set the ShowTitleBar
property to False. Set the Shape property to Rectangular.
Set the HighLimit property to .66, and delete any text
beside HighText property.
4 Click Data Constant Real64, change it to 1, and connect
it to the Color Alarm input pin.
5 To keep the display on screen for one second to
synchronize with the Beep object, use a Delay object set
to 1 second.
NOTE
These instructions assume your computer has the hardware to support a
beep. Some Windows 98, Windows 2000, Windows NT 4.0, and Windows
XP systems have modified the Default System configuration for the
Default System Beep.
NOTE
You do not need to connect the Beep object to anything. It activates when
the function executes.
Vue de la page 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 601 602

Commentaires sur ces manuels

Pas de commentaire