High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How to define PCI Configuration Registers in developing PCI VI using VISA ?

I'm developing a VI card connected to PCI bus. The PCI controller and firmware of VI card is written in FPGA, and I want to drive it using VISA. I don't know how to define PCI Configuration Registers that can be recognized by VISA. For example, which Class Code I can use, which address space can I implement(IO or memory?). After the card has recognized by windows and drived it using VISA driver written by VISA Driver Development Wizard, how can I read/write to card address space? Using VISA session?
0 Kudos
Message 1 of 2
(6,538 Views)
Once you have used the VISA Driver Development wizard to create a driver for your device, you can access the registers using viMoveIn/viMoveOut, or viPeek/viPoke. Which registers you need to access will greatly depend on your PCI board. You can probably find these registers in the Register Level Programming manual for you board if one exists.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 2
(6,526 Views)