Chapter 4
LabVIEW Real-Time Programming
cFP-21xx and cFP-BP-x User Manual
4-8
ni.com
Refer to the
LabVIEW Help
for more information about building LabVIEW
Real-Time 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
Real-Time Engine applications and/or host PC applications when you start
up the host PC.
For example, create a shortcut with the following shortcut target:
c:\mybuiltapp.exe -target 127.127.44.108 -quithost
To disable the Select Target Platform dialog box, specify a target, such as
the IP address of the cFP-21
xx
, in the command line argument of your
application using
-target
. For example,
c:\mybuiltapp_rtengine.exe -target 127.127.44.108
or
c:\mybuiltapp_host.exe -target host
To disconnect the host PC from the Real-Time Engine after all applications
are downloaded, use
-quithost
. For example,
c:\mybuiltapp_rtengine.exe -target 127.127.44.108
-quithost
Using Application Builder
When you target LabVIEW Real-Time to the cFP-21
xx
, use the
Application Builder to embed LabVIEW Real-Time applications on
the cFP-21
xx
.
Complete the following steps to embed LabVIEW Real-Time applications
on the cFP-21
xx
using the Application Builder:
1.
Target LabVIEW Real-Time to the cFP-21
xx
. Refer to the
LabVIEW Real-Time to the cFP-21xx
2.
Open a new VI.