Chapter 4
NI-FBUS CM Software
NI-FBUS Hardware and Software User Manual
4-16
ni.com
6.
In the new dialog box, click
Browse
to locate the
.ini
file that
contains the LAS schedule you want to download, or enter the full path
to the file. For more information about using the LAS with an
.ini
file, refer to Appendix B,
Troubleshooting and Common Questions
.
7.
Click the
Load & Activate
button. The NI-FBUS Communications
Manager downloads the schedule to the interface board and activates
it immediately.
Example 3. Read a Parameter Using
TAG.PARAM
Access
1.
Open the NI-FBUS Dialog utility.
2.
Click the
Actions
menu and select
Open Session
.
3.
Click the
Open Session
button. 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.
4.
Right-click the session descriptor icon and select
ReadObject
.
5.
In the dialog box that opens, enter the name of the parameter to read in
the
BLOCKTAG.PARAM
format, where
BLOCKTAG
is the tag of the block
containing the parameter, and
PARAM
is the name of the parameter. For
example, to read the
OUT
parameter of an Analog Input block called
FT-201, enter
FT-201.OUT
.
6.
Click the
Read
button to perform the read operation. If the call
completes successfully, the NI-FBUS Dialog utility automatically
determines the type of the data and displays it in the
Data
box.
If the call fails, the error message appears in the
Result
box.
Example 4. Wait for a Trend
Note
You will not be able to receive any trends unless you have configured a device
to generate them and configured an interface to receive them. Use your configuration
software package to do this. You also can view the trend from the NI-FBUS Dialog utility
as numbers only (with no graphs).
1.
Open the NI-FBUS Dialog utility.
2.
Click the
Actions
menu and select
Open Session
.
3.
Click the
Open Session
button. 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.