Chapter 3 Software Overview
© National Instruments Corporation
3-3
NI-VXI User Manual
GetDevInfo (la, field, fieldvalue)
GetDevInfo
returns information about the specified device from the
NI-VXI RM table. The field parameter specifies the attribute of the
information to retrieve. Possible fields include the device name,
Commander’s logical address, mainframe number, slot, manufacturer
ID number, model code, model name, device class, VXI address
space/base/size allocated, VXI interrupt lines/handlers allocated,
protocols supported, and so on. A field value of zero (0) specifies to
return a structure containing all possible information about the
specified device.
GetDevInfoLong (la, field, longvalue)
GetDevInfoLong
returns information about the specified device from
the NI-VXI RM table. The field parameter specifies the attribute of the
information to retrieve.
GetDevInfoLong
is a function layered on top
of
GetDevInfo
for languages (such as BASIC) that cannot typecast
the fieldvalues of
GetDevInfo
.
GetDevInfoLong
returns only the
fields of
GetDevInfo
that are 32-bit integers. Possible fields include
the VXI address base and size allocated to the device by the RM.
GetDevInfoShort (la, field, shortvalue)
GetDevInfoShort
returns information about the specified device
from the NI-VXI RM table. The field parameter specifies the attribute
of the information to retrieve.
GetDevInfoShort
is a function layered
on top of
GetDevInfo
for languages (such as BASIC) that cannot
typecast the fieldvalues of
GetDevInfo
.
GetDevInfoShort
returns
only the fields of
GetDevInfo
that are 16-bit integers. Possible fields
include the Commander’s logical address, mainframe number, slot,
manufacturer ID number, manufacturer name, model code, device
class, VXI address space allocated, VXI interrupt lines/handlers
allocated, protocols supported, and so on.
GetDevInfoStr (la, field, stringvalue)
GetDevInfoStr
returns information about the specified device from
the NI-VXI RM table. The field parameter specifies the attribute of the
information to retrieve.
GetDevInfoStr
is a function layered on top
of
GetDevInfo
for languages (such as BASIC) that cannot typecast
the fieldvalues of
GetDevInfo
.
GetDevInfoStr
returns only the
fields of
GetDevInfo
that are character strings. Possible fields
include the device name, manufacturer name, and model name.