Chapter 6
NI-FBUS Function Reference
NI-FBUS Hardware and Software User Manual
6-44
ni.com
nifReadObject
Purpose
Reads an object’s value from a device.
Format
nifError_t
nifReadObject(
nifDesc_t ud,
char *name,
void *buffer,
uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_INDEX(uint32 idx),
void *buffer, uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_INDEX_SUBINDEX(uint32 idx, uint32 subidx),
void *buffer, uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_ITEM(uint32 item),
void *buffer,
uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_ITEM_SUBINDEX(uint32 item, uint32 subidx),
void *buffer,
uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_BLOCK_ITEM(char *blocktag, uint32 item),
void *buffer, uint8 *length)
nifError_t
nifReadObject(
nifDesc_t ud,
NIFB_BLOCK_ITEM_SUBINDEX(char *blocktag, uint32
item, uint32 subidx),
void *buffer,
uint8 *length)