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

Table of Contents

Advertisement

Chapter 6
NI-FBUS Function Reference
nifDownloadDomain
Purpose
Downloads data to the virtual field device (VFD) domain.
Format
nifError_t
Input
ud
index
fileName
Context
VFD, physical device, link, session.
Description
nifDownloadDomain
VFD domain. The domain is specified by
To determine the appropriate
you are trying to download the domain. If the device supports the Domain Download feature,
the
for download should be specified in the documentation.
index
Return Values
E_OK
E_INVALID_DESCRIPTOR
E_SERVER_CONNECTION_LOST
E_RESOURCE
E_DEVICE_CHANGED
E_VFD_CHANGED
NI-FBUS Hardware and Software User Manual
nifDownloadDomain(
nifDesc_t ud,
uint32 index,
char *fileName);
The descriptor of the VFD you are accessing with
The absolute VFD index value of the domain you specified to
download the data.
The name of the file where the download data is stored.
is used to download the data or parameter values to the specified
index
value, consult the documentation of the device to which
index
The call was successful.
The descriptor specified is not valid.
The session established with the NI-FBUS Communication
Manager, under which the descriptor was opened, has been lost or
closed.
The NI-FBUS Communications Manager is unable to allocate a
system resource. This is usually a memory problem.
The device you specified has changed.
The VFD you specified has changed.
6-4
.
.
index
ni.com

Advertisement

Table of Contents
loading

Table of Contents