beautypg.com

National Instruments 6508 PCI-DIO-96 User Manual

Page 69

background image

Chapter 6

Programming

© National Instruments Corporation

6-23

PCI-DIO-96 User Manual

The counter begins counting as soon as the most significant byte is
written. When you are ready to exit your program, disable the counter
and interrupts as shown below.

Write(Cnfg, 0x30)

Turn off counter 0

Write(IREG2, 0x00)

Disable all PCI-DIO-96

interrupts

Note:

In order for any of the interrupts to be processed, you must write and install
an interrupt service routine. Failure to do so could cause the system to fail
upon the interrupt generation.