LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use VISA to communicate with PCI device on CVI platform?

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.

0 Kudos
Message 1 of 4
(3,640 Views)

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?

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 4
(3,630 Views)

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. 

0 Kudos
Message 3 of 4
(3,610 Views)

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, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 4 of 4
(3,593 Views)