Programming; Pcl Local Bus; Programming Examples - National Instruments 6508 PCI-DIO-96 User Manual

A 96-bit parallel digital i/o interface for pci bus computers
Table of Contents

Advertisement

Programming

PCl Local Bus

Programming Examples

© National Instruments Corporation
This chapter contains instructions on how to operate the PCI-DIO-96
circuitry, and examples of the programming steps necessary to execute
an operation. If you are not using NI-DAQ, you must first initialize your
board. The initialization steps are unique for PC and Macintosh users,
so refer to the section pertaining to your platform.
Programming the PCI-DIO-96 involves writing to and reading from
registers on the board. You will find a listing of these registers in
Chapter 5, Register Map and Description, of this manual.
The PCI-DIO-96 is fully compatible with the PCI Local Bus
Specification, Version 2.1, from the PCI Special Interest Group (SIG).
The PCI Local Bus is a high performance, 32-bit bus with multiplexed
address and data lines. The PCI system arbitrates and assigns resources
through software, freeing you from manually setting switches and
jumpers. Bus-related resources must be configured before you attempt
to execute a register-level program. This entails assigning a base
address and interrupt channel to the PCI-DIO-96.
You can use PCI local bus boards on both PC-compatible and
Macintosh computers. However, due to the differences in those
systems, configuration will be different and performed through
different versions of NI-DAQ.
The programming examples in this section demonstrate the
programming steps needed to perform several different operations. The
instructions are language independent; that is, they tell you to read or
write a given register or to detect if a given bit is set or cleared, without
presenting the actual code. The information given is not intended to be
used without proper modification in a practical solution.
6-1
Chapter
6
PCI-DIO-96 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-dio-96

Table of Contents