Chapter 4
NI-FBUS CM Software
©
National Instruments Corporation
4-15
NI-FBUS Hardware and Software User Manual
If the call succeeds, the NIFB process is running and responding to
requests, and a new session descriptor is created under the
Open
Descriptors
icon. If the call fails, ensure that the NIFB process
is running and that it has not displayed any error message boxes
during startup. You can check this by maximizing and looking at
the
nifb.exe
console window. If the title bar does not end in
“(Running),” NI-FBUS did not start correctly.
4.
Click the
Session
icon and then select the
Actions
menu.
The list that appears represents the NI-FBUS Communications
Manager API calls you can make with a session descriptor.
5.
Select the
GetInterfaceList
function from the list of choices.
This choice displays the logical name of all known interfaces.
6.
Highlight the interface name of your choice and click the
OpenLink
button.
or
Open a link by selecting the
OpenLink
function and entering the
interface name.
7.
Right-click the
Link
icon and select
GetDeviceList
. The NI-FBUS
Dialog utility displays a list of active devices on your Fieldbus link.
Your Fieldbus interface board also is included in this list.
Example 2. Download a Schedule to an Interface
1.
Complete all the steps in the
section.
2.
Select an interface board by clicking an entry in the device list that has
an asterisk (*) on its left.
3.
Click the
Open Device
button. A new dialog box opens with the
identifying information for the interface board already filled in.
4.
Click the
Open Device
button on the new dialog box. If the call
completes successfully, a new icon for the device descriptor appears
in the tree structure on the screen.
5.
Right-click the new device icon, and select the
DownloadLASSched
menu option. A new dialog box opens with identifying information for
the device already filled in.