Measurement-computing Personal488 rev.3.0 Bedienungsanleitung Seite 101

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 150
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 100
Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-33
OnDigEventVDM
AT488pnp and PCI488 Only ! Windows9x Only !
Syntax
INT WINAPI OnDigEventVDM(DevHandleT devHandle, DigEventFuncT
func, OpaqueP lParam);
devHandle
refers to an interface handle.
func
is a user-defined function to be called when the digital match event is triggered.
lParam
value will be passed in the notification message.
Returns
-1
if error
Bus States
None
Example
OnDigEventVDM(devHandle,
MyFunc, 0x10L);
Sets the event notification to be via a function call to
the specified callback function. The value
0x10
will be passed to the function.
See Also
DigArm, OnDigEventVDM, OnEventVDM
The
OnDigEventVDM
command sets the address of a “C”-style (
__stdcall
) function to be called when a
digital match event occurs. This function uses a similar mechanism as the
OnEventVDM
command. The
prototype of the callback function for
OnDigEventVDM
is:
void DigEventFunc( DevHandleT devHandle, LPARAM lParam )
The
lParam
value that is passed to
OnDigEventVDM
is passed on to the callback function when the event
occurs. For details, see the description of
OnEventVDM
.
Note: This function sets the event generation mechanism to be a callback function, replacing any
previously defined event notification mechanism. Only one event notification mechanism
can be used at one time.
Seitenansicht 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 149 150

Kommentare zu diesen Handbüchern

Keine Kommentare