Agilent Technologies VEE Pro Guide de l'utilisateur Page 532

  • 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 531
504 VEE User’s Guide
Appendix
Figure 281 shows the solution to the Testing Numbers
exercise with four objects.
Figure 281 Testing Numbers, Step 2
Key Points
Auto Execute: All input objects such as the Int32 Slider have
an Auto Execute selection in the Properties Box. If chosen, the
object operates whenever its value is changed without needing
to press Start or the Run button.
Consolidating Formulas: The expression (A>=50)*A in the
If/Then/Else object evaluates to a 1*A, if A>=50 is true, or 0, if
false. So A is put on the Then pin, if the expression is true, and a
0 is put on the Else pin, if the expression is false. (Any
expression that evaluates to a non- zero is considered true, and
the value is propagated on the Then pin.)
Testing Numbers, Step 3
Create a solution using only three objects.
Hint: Use a triadic expression in the Formula object. The format
is: (<expression> ? <if TRUE,output value> : <if FALSE,
output value>). For example, if A < 10 evaluates to TRUE, you
Vue de la page 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 601 602

Commentaires sur ces manuels

Pas de commentaire