Chapter 4
LabVIEW RT Programming
cFP-20xx and cFP-BP-x User Manual
4-8
ni.com
By changing the
Application Path
, you can create multiple LabVIEW RT
applications on the cFP-20
xx
. However, if you select
Launch Application
at Boot-up
,
only the application you specify in the
Application Path
launches at startup.
Use
Downloaded VI Path
to specify the default path for the RT Engine VIs
downloaded by the RT Development System. VIs are stored on the host PC
hard drive and are opened in the host RT Development System. Therefore,
the RT Engine does not know the actual path of the downloaded VIs. The
RT Engine uses the path specified in
Downloaded VI Path
for operations
that require the VI path. For example, the file constant
Current VI’s Path
normally returns the path of the VI in which the constant is used. This
constant may be used in a VI that reads or writes data to a file on the disk.
When you run this VI in the LabVIEW RT Engine on the cFP-20
xx
,
Current VI’s Path
returns the path specified in the
Downloaded VI Path
option, appended with the name of the VI.
Embedding Applications on the cFP-20
xx
LabVIEW RT applications built on the host PC with the Application
Builder can be embedded on the cFP-20
xx
. This section explains how
to embed LabVIEW RT applications on the cFP-20
xx
by using the
Application Builder while LabVIEW RT is targeted to the controller.
Refer to Chapter 3,
Software Overview
, of the
LabVIEW RT User Manual
for more information about building LabVIEW RT applications on the host
PC. Refer to the
LabVIEW Application Builder Release Notes
and to the
LabVIEW Help
for more information about using the Application Builder
on the host PC.
Command Line Arguments
Use command line arguments for applications built on the host PC to
disable the Select Target Platform dialog box and to explicitly specify
a target for the application. You can use these command line arguments
in a shortcut from the Windows Startup folder to automatically launch
RT Engine applications and/or host PC applications when you start up
the host PC.