Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

The NI-FBUS Communications Manager Application Programmer Interface (API)

8 ratings | 2.12 out of 5
Print

Overview

Note: Writing a program to take advantage of an API is an advanced topic. Most users will not use the provided API.

The API

The NI-FBUS Communications Manager implements a high-level Application Programmer Interface (API) you can use to interface with National Instruments FOUNDATION Fieldbus communications stack and hardware. The main purpose of the NI-FBUS Communications Manager API is to make the details of the FOUNDATION Fieldbus communication protocols transparent to the user. This is achieved by abstracting out all the low-level details involved in interfacing to the Fieldbus Messaging Specification (FMS), lower layers of the communication stack, creation of virtual communication relationships (VCRs), connection management, Fieldbus addressing, and so on. It also provides named access to all Fieldbus devices, Virtual Field Devices (VFDs), function blocks, transducer blocks, and all their parameters.

The NI-FBUS Communications Manager API functions are broadly classified into four categories:
  • Administrative Functions -- browse the Fieldbus network and get handles to Fieldbus objects.
  • Core Functions -- deal with parameter processing.
  • Alert & Trending Functions -- receive alarm & trend data from devices and acknowledge alarms.
  • Device Description Functions -- access device descriptions provided by the device manufacturer.
The NI-FBUS Communications Manager API allows users to develop host applications that are independent of the actual configuration of their Fieldbus network. Typical examples are configurators, monitoring applications, diagnostic utilities, automated test suites, and developing interfaces to Human Machine Interface (HMI) packages.

Note: The NI-FBUS Communications Manager API alone will not allow you to fully configure a segment. It is generally used to browse the Fieldbus and read and write function block parameter values to a preconfigured segment. See the related link Why Do I Need Configuration Software? for more information on configuring a segment.
See Also:
Why Do I Need Configuration Software?

VIEW objects


Customers using the NI-FBUS Communications Manager API to read multiple parameters will often see better performance if they read pre-defined VIEW objects which contain multiple parameters, rather than reading each parameter individually. NI-FBUS allows explicit access to VIEW objects through its core functions.
See Also:
Using VIEW Objects

8 ratings | 2.12 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).