04-23-2009 12:33 AM
I have misunderstanding about the viMapAddress function, or maybe I was puzzled with the whole progress how the computer system use the PCI device.
Please give me an explanation or some sample code to understand the whole way.
Thanks.
04-23-2009 04:45 AM
Can you give more details on your "PCI device" and your application?
PCI cards most come with their own driver library. Doesn't your card have one?
04-24-2009 09:00 AM
The PCI device was designed by myself, using PLX's PCI9054 microchip, C mode.
And I can config the device as I wish, but do not know how to use the visa to read from or write to the device.
04-25-2009 06:16 AM
I do not know that chip (and the low level PCI bus mechanism) and I did not design any PCI cards, but I used many of them.
You have some part of the computer memory mapped for your PCI card, right?
You can access this range of memory addresses using outp and inp functions. You do not need the VISA library.
Hope this helps,