National Instruments FOUNDATION NI-FBUS Hardware And Software User Manual page 92

Table of Contents

Advertisement

Chapter 6
NI-FBUS Function Reference
nifError_t
nifError_t
nifError_t
Input
ud
name
Output
attr
Context
Session, block, VFD, physical device, link.
Description
The NI-FBUS Communications Manager reads the device description object attributes
identified in the call from the DDOD associated with
object attributes describe certain characteristics of the object, but do not contain the object
value. The device description object attributes also differ in content from the FMS Object
Description of the object.
NI-FBUS Hardware and Software User Manual
nifGetObjectAttributes(
nifDesc_t ud,
NIFB_BLOCK_INDEX_SUBINDEX(char *blocktag, uint32
idx,
uint32 subidx),
nifAttributes_t *attr)
nifGetObjectAttributes(
nifDesc_t ud,
NIFB_NAME_SUBINDEX(char *name, uint32 subidx),
nifAttributes_t *attr)
nifGetObjectAttributes(
nifDesc_t ud,
NIFB_BLOCK_NAME_SUBINDEX(char *blocktag, char
*name,
uint32 subidx), nifAttributes_t *attr)
The descriptor (of any type if by name; VFD or block if by index).
Name of the object you need the device description attributes of,
in
BLOCKTAG.PARAM
name, specify the name in
Refer to Table 6-5 for an explanation of how to use macros to
specify the object.
Object attribute values read from the DDOD (Device Description
Object Dictionary). The type
data structure including a type code which selects from a list of
structures, one for each type of object. Other information,
including whether individual attributes were successfully
evaluated and whether individual attributes are dynamic (meaning
they could change) also is provided. The structure is too long to be
included in this chapter. You can find it in the NI-FBUS
Communications Manager header files.
6-30
form. To specify a structure element by
BLOCKTAG.STRUCT.ELEMENT
nifAttributes_t
and returned in
ud
format.
consists of a
. Notice that the
attr
ni.com

Advertisement

Table of Contents
loading

Table of Contents