Advantech PCI-1710 Guide de l'utilisateur Page 32

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 31
2.3.4 Tutorial 4. Error handling for error message
The purpose of this tutorial is to teach you how to apply the error handling function (error in and
error out) of each Advantech VI to debug your program.
1. First, you can open “Tutor2.vi” to continue with Tutorial 2 “Get voltage input from PCL-818L”.
If you did not do Tutorial 2, please refer to Tutorial 2 to implement “Tutor2.vi”.
2. Wire the error out parameter of the DeviceOpen VI to the error in parameter of the
DIOReadPortByte VI. Additionally, wire the error out parameter of the DIOReadPortByte VI
to the error in parameter of the DeviceClose VI.
3. Switch to Front Panel. Add a String Indicator VI to Front Panel for displaying error messages
during error handling.
Vue de la page 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 198 199

Commentaires sur ces manuels

Pas de commentaire