723X_Clr_Irq; Interrupt Enable - NuDAQ PCI-7230 User Manual

723x series 32 channels isolated digital i/o card
Table of Contents

Advertisement

5.6.3 _723X_CLR_IRQ

@ Description
This function is used to clear interrupt request. This function is only
available in DOS library.
@ Syntax
C/C++ (DOS)
void _7230_CLR_IRQ (U16 cardNo)
void _7233_CLR_IRQ (U16 cardNo)
@ Argument
None
@ Return Code
None

5.6.4 Interrupt Enable

@ Description
This function is only available in Windows 95 driver. This function is used
to start up the interrupt control. After calling this function, every time an
IRQ generated, a software event is signaled. So that in your program, you
can use wait operation to wait for the event. When the event is signaled, it
means an interrupt is generated. Please refer to the sample program
7230int.c. Please note that the PCI-7234 do not have any interrupt.
@ Syntax
C/C++ (Windows 95)
U16 W_7230_INT_Enable (U16 cardNo, HANDLE *hEvent)
U16 W_7233_INT_Enable (U16 cardNo, HANDLE *hEvent)
Visual Basic (Windows 95)
W_7230_INT_Enable (ByVal cardNo As Integer, hEvent As Long)
As Integer
W_7233_INT_Enable (ByVal cardNo As Integer, hEvent As Long)
As Integer
@ Arguments
cardNo :
hEvent :
@ Return Code:
ERR_NoError
ERR_BoardNoInit
34
C/C++ Libraries
card number to select board
the address of an array of two handles. hEvent[0] and hEvent[1]
are the events for interrupt signals INT1 and INT2 respectively.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-7233Pci-7234Cpci-7230Pci-7233h

Table of Contents