PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

memory access

  Now I'm using VISA to try to control my PCI DAC devece, I have a plan to use the regester_level operation.
  Using the VISA In 32 VI,I have got some imformations successful .Now I 'm going to access the mapped regesters for operation to the board, with  the VISA In 32 VI by setting the offset at 10h and the address space at 10(VI_PXI_CFG_SPACE),I got the address where my board mapped,then the problem appears.
  How can I access to these mapped regester in LV according to the address I have got?Is there any VI can do this?I just can't find any in my LV.(Ver 8.0)
0 Kudos
Message 1 of 3
(3,055 Views)

huangwu,

You're reading the BAR0 address from 0x10 in config space, but that isn't necessary.  VISA already knows that address.

If you change the address space on your VI from 10 (config space) to 11, it will read from BAR0 space.

 

Message Edited by Robert R on 08-18-2006 09:46 AM

0 Kudos
Message 2 of 3
(3,047 Views)
Thanks very much!It's so useful to me.
Now it works ,thanks again:)
0 Kudos
Message 3 of 3
(3,022 Views)