10-13-2008 12:32 PM
ViStatus viIn8Ex(ViSession vi, ViUInt16 space, ViBusAddress64 offset, ViPUInt8 val8) <= viIn8Ex is in the documentation but I get an error when I attempt to used it.
How do I access an external board on the PCI bus which uses a PLX 9656. I want to access the local bus which starts at PCIBAR3?
10-14-2008 09:30 AM
ekatana, I have a few questions. What is the error you are seeing? Is there a code associated with it? Is the documentation you are referring to the NI-VISA Programmer Reference Manual?
10-14-2008 10:14 AM
Error is "missing prototype".
viIn8Ex is listed in the help file.
Code snippet:
viIn8Ex(pxi9656, 0, VI_ATTR_PXI_MEM_BASE_BAR3, (ViPUInt8)myLoc);
10-15-2008 03:54 AM
10-15-2008 03:21 PM