© National Instruments
|
6-5
Complete the following steps to use the LabVIEW System Configuration API with your
NI-793xR Real-Time project.
1.
Open a session and point to your target using its IP address.
2.
Enter your user name and password, if applicable.
3.
Open the
System Configuration
palette in LabVIEW.
4.
Open the
Property Node (Hardware)
to obtain information such as the device temperature
and device model name.
Refer to the
NI System Configuration API Help
topic of the
LabVIEW Help
for more information
about using the LabVIEW System Configuration API. For information about the FlexRIO
System Configuration API, refer to the FlexRIO System Configuration Expert topic in the
FlexRIO Help
.
Communicating with Applications on an
RT Target
The RT Engine on the RT target does not provide a user interface for applications. You can use
one of two communication protocols, front panel communication or network communication, to
provide a user interface on the host computer for RT target VIs.
Front Panel Communication
With front panel communication, LabVIEW and the RT Engine execute different parts of the
same VI. LabVIEW on the host computer displays the front panel of the VI while the RT Engine
executes the block diagram. A user interface thread handles the communication between
LabVIEW and the RT Engine.
Use front panel communication between LabVIEW on the host computer and the RT Engine to
control and test VIs running on an RT target. After downloading and running the VIs, keep
LabVIEW on the host computer open to display and interact with the front panel of the VI.
You also can use front panel communication to debug VIs while they run on the RT target. You
can use LabVIEW debugging tools—such as probes, execution highlighting, breakpoints, and
single stepping—to locate errors on the block diagram code. Refer to the
Building, Deploying,
and Debugging Applications (Real-Time Module)
topic of the
Real-Time Module Help
for
information about debugging applications.
Front panel communication is a good communication method to use during development
because front panel communication is a quick method for monitoring and interfacing with VIs
running on an RT target. However, front panel communication is not deterministic and can affect
the determinism of a time-critical VI. Use network communication methods to increase the
efficiency of the communication between a host computer and VIs running on the RT target.