LabVIEW 2009 Real-Time Module Help
Edition Date: June 2009
Part Number: 370622G-01
»View Product Info
Requires: RT Module
Select Tools»Real-Time Module»Communication Wizard to launch the RT Communication Wizard.
The RT Communication Wizard searches the control loop of a time-critical VI and replaces the user-selected front panel controls and indicators with shared variables or Real-Time FIFO VIs.
This dialog box includes the following pages:
- Select a time-critical VI—Includes the following components:
- Time-critical VI—Specifies a path on the host computer to the time-critical VI. Click the Browse button to navigate to the time-critical VI in the file system.
- Front panel communication method—Specifies the communication method used to send control and indicator data to the host VI.
- Shared Variables—Transfers data out of the time-critical VI to the host VI running on a host computer using shared variables.
- TCP—Transfers data over the network between the normal priority VI running on the RT target and the host VI running on a host computer using the TCP protocol.
- UDP—Transfers data over the network between the normal priority VI on the RT target and the host VI on the host computer using the UDP protocol. UDP communication might not support transmitting large packets. The size of the UDP packets that you can transmit depends on the network configuration.
- Logos (FieldPoint Only)—Transfer data over the network between the normal priority VI and the host VI using Logos.
- Configuration parameters—Specifies the settings for the communication method you select.
- Name of RT target—Specifies the name of the RT target you defined in NI Measurement & Automation Explorer that you want to use to run the application VIs. You cannot select an RT target that does not support the method that you select in the Front panel communication method section.
- Shared Variable Destination— (Shared variable method) Specifies the target on which the shared variables reside.
- My Computer—Specifies the host computer as the host for the shared variables.
- RT Target—Specifies the RT target selected in Name of RT target as the host for the shared variables.
- TCP Port— (TCP, UDP, Logos method) Specifies the TCP port on the host computer for the TCP connection.
- UDP Send Port—(UDP method) Specifies the UDP port on the host computer for sending data.
- UDP Receive Port—(UDP method) Specifies the UDP port on the host computer for receiving data.
- Select controls and indicators—Includes the following components:
- Control List:—Displays the controls present in the main loop of the time-critical VI.
- Select—Specifies if you want to move the control out of the time-critical VI.
- Control Name—Specifies the name of the control. This option appears if you select a control in the Functions Tree.
- FIFO/Variable Name—Specifies the name of the Real-Time FIFO or shared variable that sends the control data out of the time-critical VI.
- Length—Specifies the length of the buffer used for the Real-Time FIFO or shared variable.
- Indicator List:—Displays the indicators present in the main loop of the time-critical VI.
- Select—Specifies if you want to move the indicator out of the time-critical VI.
- Indicator Name—Displays the name of the indicator.
- FIFO/Variable Name—Specifies the name of the Real-Time FIFO or shared variable that sends the indicator data out of the time-critical VI.
- Length—Specifies the length of the buffer used for the Real-Time FIFO or shared variable.
- Select the number of waveform datapoints—Includes the following components:
- Waveform List:—Displays the controls and indicators of waveform data type that you previously selected to move out of the time-critical VI.
- FIFO/Variable Name—Displays the name of the Real-Time FIFO or shared variable used to send the waveform control or indicator data out of the time-critical VI.
- # of Datapoints—Specifies the number of data points in the waveform.
- Select array length—Includes the following components:
- Array List:—Lists the array controls or indicators present in the time-critical VI.
- FIFO/Variable Name—Displays the name of the Real-Time FIFO or shared variable used to send the array control or indicator data out of the time-critical VI.
- Array Length—Specifies the length of the array used to buffer each element of the Real-Time FIFO or shared variable.
- Select paths for generated VIs—Includes the following components:
- New File Locations:—Specifies the directory on the host computer to save the VIs and files generated by the RT Communication Wizard. You also can change the names of the VIs and files generated by the RT Communication Wizard.
- Destination Directory—Specifies the directory on the host computer in which to save the VIs created by the RT Communication Wizard.
- Time-critical Priority VI Name—Specifies the name of the new time-critical VI.
- Host VI Name—Specifies the name of the new host VI.
- Project Name—(Shared variable method) Specifies the name of the new LabVIEW project file.
- Project Library Name—(Shared variable method) Specifies the name of the new project library file for the shared variables.
- Normal Priority VI Name—(TCP, UDP, Logos method) Specifies the name of the new normal priority VI.