Inserting templates, Inserting templates -15 – National Instruments NI-FBUS User Manual
Page 38

Chapter 2
Using the NI-FBUS Configurator
© National Instruments Corporation
2-15
NI-FBUS Configurator User Manual
recommended that you accept the template values for templates you did not
create; the parameter settings may not be appropriate for your device(s).
Inserting Templates
To access templates, do one of the following:
•
Right-click the background of the Function Block Application Editor
and select the desired template from FBAP Templates.
•
Select File»Open Template.
A dialog box appears asking how to apply the template parameter values to
the function block that will eventually replace the template. You can choose
one of four different options:
•
Click the No button to keep the function block’s current values. This
will ignore any values stored in the template. If you did not create this
template with parameter setting appropriate for the device(s) you plan
to use in it, this is the appropriate option.
•
Uncheck the Use Template CHANNEL values? checkbox and click
the Yes, use values button to change the parameter values of the
function blocks used to fill the template to match the template
parameters (except the
CHANNEL
parameter). This is useful if you have
set up a PID loop for one set of input and output devices and would like
to use the same loop with the same settings for other sets of identical
input and output devices. In this case, you would save your initial PID
loop as a template. Then, you would insert the template, uncheck the
Use Template CHANNEL values? checkbox, and choose Yes, use
values.
In this case, any function block used to fill the template will take on the
saved parameters, except it will keep its own
CHANNEL
parameters
(that is, device input or output channel that is set to control). Refer to
the
section for more information on creating
templates.
•
Check the Use Template CHANNEL values? checkbox and choose
Yes, use values to change the function block parameter values to
match all the template parameters, including the
CHANNEL
parameters.
•
Click the Decide Later button to do nothing now, but ask the same
question for each individual function block when you actually fill the
template.
Tip
If you select the Decide Later option, you can later browse the template parameter
values by right-clicking the template block outline and choosing Open, or by
double-clicking the block.