Chapter 4
LabVIEW Real-Time Programming
©
National Instruments Corporation
4-3
cFP-21xx and cFP-BP-x User Manual
Targeting LabVIEW Real-Time to the Host PC
When you target LabVIEW Real-Time to the host PC, you can use
LabVIEW Real-Time as you would use LabVIEW for Windows.
Complete the following steps to target LabVIEW Real-Time to the host PC:
1.
Complete steps 1 through 4 of the
Targeting LabVIEW Real-Time to
section.
2.
Select
Host PC (LabVIEW for Windows)
.
3.
Click
OK
.
Note
Applications running on the host PC communicate with FieldPoint I/O channels.
However, serial communication is routed to the host PC serial port rather than to the
cFP-21
xx
serial port. VIs that use the serial port communicate using the host PC serial port.
Also, when an application runs on the host, deadbands apply to FieldPoint I/O channels.
RT Target Options
When you target LabVIEW Real-Time to a networked cFP-21
xx
, select
Tools»Options
to access LabVIEW options. The options in the
Options
menu apply only to the Real-Time Development System running on the
host PC.
You also can set options for the Real-Time Engine on the cFP-21
xx
when
you target LabVIEW Real-Time to the controller. With LabVIEW
Real-Time targeted to the cFP-21
xx
, select
Tools»RT Target Options
to
access Real-Time Engine options. Real-Time Engine options apply to
LabVIEW Real-Time applications running on the cFP-21
xx
. The
VI Server
and
Web Server
option dialog boxes are identical to the normal
LabVIEW option dialog boxes. However, the settings are applied to the
cFP-21
xx
. Refer to the
LabVIEW Help
for more information about the
VI Server
and
Web Server
options.
You also can use the following two additional groups of options for
LabVIEW Real-Time applications on networked cFP-21
xx
modules:
RT Target: Access
and
RT Target: Miscellaneous
.