It sounds like you are writing a device driver. CVI provides some low
level I/O functions that let you access memory for devices already
configured by the OS, but it won't actaully configure the PCI device
for you. You would still need some way for the OS to detect your PCI
device and map its IO and memory space. so I would recommend using
VISA for
creating your driver instead of the low level IO functions. VISA is a
driver that comes with a CVI API and is created for this purpose. See
this document for how you would use VISA for this.
I hope this helps
Bilal Durrani
NI