Call VXIMapAddress()

NI-VISA Measurement & Automation

Call MapVXIAddress() or viMapAddress()

Note  National Instruments recommends using NI-VISA, rather than the NI-VXI API, to develop your applications.

MapVXIAddress or viMapAddress can fail if the size of your user window is set to zero or is less than the size of the window you are trying to map. You can check the size of your user window by right-clicking on your external controller or VXIpc embedded controller and selecting Hardware Configuration. The size of this window should exceed the sum of the sizes of the windows you are trying to map.

Check the sample code that illustrates how to use MapVXIAddress() and viMapAddress(). The NI-VISA sample code is in the vxipnp\win32\Nivisa\examples directory and is called LowReg.c. The NI-VXI API code, VXIlow.c, is in the nivxi\win32\msc(borlandc)\examples\ directory.