![background image](http://html1.mh-extra.com/html/national-instruments/foundation-ni-fbus/foundation-ni-fbus_hardware-and-software-user-manual_709117114.webp)
Chapter 6
NI-FBUS Function Reference
NI-FBUS Hardware and Software User Manual
6-52
ni.com
nifError_t
nifWriteObject(
nifDesc_t ud,
NIFB_BLOCK_INDEX(char *blocktag, uint32 idx),
void *buffer,
uint8 length)
nifError_t
nifWriteObject(
nifDesc_t ud,
NIFB_BLOCK_INDEX_SUBINDEX(char *blocktag, uint32
idx,
uint32 subidx),
void *buffer,
uint8 length)
nifError_t
nifWriteObject(
nifDesc_t ud,
NIFB_NAME_SUBINDEX(char *name, uint32 subidx),
void *buffer,
uint8 length)
nifError_t
nifWriteObject(
nifDesc_t ud,
NIFB_BLOCK_NAME_SUBINDEX(char *blocktag, char
*name, uint32 subidx),
void *buffer,
uint8 length)
Input
ud
The descriptor of the session, link, physical device, VFD, or
block, if writing by name. If writing by index,
ud
must be a VFD
or block.
name
Name of the parameter you want the NI-FBUS Communications
Manager to write, in
BLOCKTAG.PARAM
form. To specify a
structure element by name, specify the name in
BLOCKTAG.STRUCT.ELEMENT
format. Refer to Table 6-5 for an
explanation of how to use macros to specify the parameter.
buffer
The value you want the NI-FBUS Communications Manager
to write.
length
The size of the data buffer, in bytes.
Output
Not applicable.
Context
Block, VFD, physical device, link, session.