Measurement-computing Data Acquisition Systems rev.10.4 Uživatelský manuál Strana 277

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 366
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 365 366

Komentáře k této Příručce

Žádné komentáře