National Instruments NI-VXI Network Card User Manual


 
Chapter 3 Software Overview
NI-VXI User Manual 3-34 © National Instruments Corporation
Local Resource Access Functions
Local resources are hardware and/or software capabilities that are
reserved for the local CPU (the CPU on which the NI-VXI interface
resides). You can use these functions to gain access to miscellaneous
local resources such as the local CPU register set and the local CPU
Shared RAM. These functions are useful for shared memory type
communication, non-Resource Manager operation, and debugging
purposes.
The following paragraphs describe the local resource access functions.
The descriptions are presented at a functional level describing the
operation of each of the functions. The functions are grouped by area
of functionality.
GetMyLA
GetMyLA
retrieves the logical address of the local VXI/VME device.
The local CPU VXI/VME logical address is required for retrieving
configuration information with one of the
GetDevInfo
functions. The
local CPU VXI/VME logical address is also required for creating
correct VXI signal values to send to other devices.
ReadMODID (modid)
ReadMODID
senses the MODID line drivers of the local CPU when
configured as a VXI Slot 0 device. The modid output parameter returns
the polarity of each of the slot’s MODID lines.
SetMODID (enable, modid)
SetMODID
controls the MODID line drivers of the local CPU when
configured as a VXI Slot 0 device. The enable parameter enables the
MODID drivers for all the slots. The modid parameter specifies which
slots should have their corresponding MODID lines asserted.
Note:
The
MODID
lines are unique to the VXIbus and has no meaning on a
VMEbus.