Creating templates, Export function block application image, Defining loops – National Instruments NI-FBUS User Manual

Page 40: Creating templates -17, Export function block application image -17, Defining loops -17

Advertising
background image

Chapter 2

Using the NI-FBUS Configurator

© National Instruments Corporation

2-17

NI-FBUS Configurator User Manual

When templates are initially placed, the template blocks are grayed out.
This is because you have not assigned a function block to the template
block. To assign a function block to the template block, complete the
following steps:

1.

Double-click the template block to view all the blocks that match this
block type in your project.

2.

Select the desired block from the list that appears.

You must replace all the template blocks with function blocks from your
project. The Errors tab lists errors warning you of unassigned templates.

Creating Templates

After you have set up the function block parameters and connections for the
first unit, you can save that setup as a template for later use. If you want to
save only part of your function block application as a template, select that
part (drag the pointer around the desired blocks and wires OR use the
Control key while clicking the desired blocks and wires). With the Function
Block Application Editor window open, select File»Save Template. You
can choose to save only selected items or the entire Function Block
Application. By default, the NI-FBUS Configurator saves all templates in
the

\fcs\templates

directory under your installation of NI-FBUS. If a

template is in that directory, it automatically appears as an available
template in the template menu.

Export Function Block Application Image

You can export the image of configured function block application
as a bitmap file.With the Function Block Application Editor window open,
select File»Export Fbap Image.

Defining Loops

A loop is a group of connected function blocks that execute at a specified
rate. You can define multiple loops in one Function Block Application.

The following figure shows an example of two separate loops running at the
same rate. Loops running at the same rate can be placed in a Function Block
Application without using a loop structure.

Advertising