PCI 730 & PC104P-30 User Manual
Eagle Technology - Data Acquisition
Programming Interrupts
On the PCI726 and PCI730 the three counter timers can be used to generate an interrupt.
Interrupts is fully programmable and can be configured, enabled and disabled via software.
WARNING!
Be careful when programming the interrupt sub-system because it is easy to generate
interrupts that is faster than what Windows can service. Don’t try and generate interrupt faster
than 10KHz. This will not work. Remember this is 10KHz in total, and not per source. The
PCI730 interrupt service routine will stop servicing interrupts if at any stage it is still busy with
a previous interrupt and the next one is generated.
Configuring the Interrupt sub-system
A single call is necessary to configure the interrupt sub-system.
API-CALL
Long EDREIntX.IntConfigure(long Source, long Mode, long Type)
Parameter
Type
Description
Source long
Source
PCI726 / PCI730
0 Counter
0
1 Counter
1
2 Counter
2
Mode
long
Disable or Enable a source
0 : Disable
1 : Enable
Type
long
All ways trigger on rising edge of counter terminal count
RETURN
Long
This parameter contains the error code return. If =0 then no
error occurred.
Table 4-5 EDREIntX.Configure Parameters
Enabling Interrupts
A single call is necessary to enable the interrupt sub-system. This will also enable the global
interrupt on the PCI30 and connect it to the PCI Bus.
ACTIVEX-CALL
Long EDREIntX.Enable
A returned error code will contain the status of the call.
Disabling Interrupts
A single call is necessary to disable the interrupt sub-system.
ACTIVEX-CALL
Long EDREIntX.Disable
A returned error code will contain the status of the call.
Eagle Technology © Copyright 2003 – www.eagledaq.com
20