Measurement-computing Personal488 rev.3.0 Manuel d'utilisateur Page 100

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 150
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 99
Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-32
OnDigEvent
AT488pnp and PCI488 Only ! Windows9x Only !
Syntax
INT WINAPI OnDigEvent(DevHandleT devHandle, HWND hwnd,
OpaqueP lParam);
devHandle
refers to an interface handle.
hwnd
is the window handle to receive event notification.
lParam
value will be passed in the notification message.
Returns
-1
if error
Bus States
None
Example
OnDigEvent(devHandle,
TRUE, 0x10L);
Sets the event notification to be via a window message
to the specified window handle. The value
0x10
will be passed with the message.
See Also
DigArm, OnDigEventVDM, OnEvent
The
OnDigEvent
command sets the handle of a window to receive a notification message when a digital
match event is triggered. This function uses the same mechanism as the
OnEvent
command. For details,
see the description of
OnEvent
.
Note: This function sets the event generation mechanism to be a window notification message,
replacing any previously defined event notification mechanism. Only one event notification
mechanism can be used at one time.
Vue de la page 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 149 150

Commentaires sur ces manuels

Pas de commentaire