Chapter 6
NI-FBUS Function Reference
©
National Instruments Corporation
6-11
NI-FBUS Hardware and Software User Manual
The
nifInterfaceInfo_t
structure is defined as follows:
typedef struct nifInterfaceInfo_t{
char interfaceName[NIF_NAME_LEN];
char deviceID[DEV_I1];
} nifInterfaceInfo_t;
Note
nifGetInterfaceList
is an internal function for the NI-FBUS Communications
Manager and does not cause Fieldbus activity.
Return Values
E_OK
The call was successful.
E_BUF_TOO_SMALL
The buffer does not contain enough entries to hold all the interface
information.
E_CONFIG_ERROR
Some configuration information, such as registry information or
network configuration information, is incorrect.
E_NOT_FOUND
Some interfaces are missing in the bus.