Measurement-computing Data Acquisition Systems rev.10.4 Manuel d'utilisateur Page 277

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 366
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 276
daqSetDefaultErrorHandler
Also See: daqDefaultErrorHandler, daqGetLastError,
daqProcessError, daqSetErrorHandler
Format
daqSetDefaultErrorHandler(handler)
Purpose
daqSetDefaultErrorHandler sets the driver to use the default error handler specified for all devices.
Parameter Summary
Parameter Type Description
handler DaqErrorHandlerFPT
Pointer to a user-defined error handler function.
Parameter Values
handler: a pointer to a user-defined function
Returns
DerrNoError No error
Function Usage
The daqSetDefaultErrorHandler function allows you to set the driver to use a default error handler
specified by the DaqErrorHandleFPT. The DaqErrorHandleFPT parameter should point to the function
defined by the application that will be used to process the error codes passed to it. This parameter should be set prior
to calling the function. This function can also be used to disable on-screen error reporting by setting the
DaqErrorHandleFPT to null(0).
For more details on error messages refer to the Daq Error Table.
Prototypes
C/C++
daqSetDefaultErrorHandler(DaqErrorHandlerFPT handler);
Visual BASIC
VBdaqSetDefaultErrorHandler&(ByVal handler&)
Program References
None
Programmer’s Manual 908794 Daq API Command Reference 4.5-47
Vue de la page 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 365 366

Commentaires sur ces manuels

Pas de commentaire