Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating Communication VIs with the RT Communication Wizard (RT Module)

LabVIEW 8.5 Real-Time Module Help
August 2007

NI Part Number:
370622E-01

»View Product Info

Use the RT Communication Wizard to inspect a time-critical VI and create a new time-critical VI that shares with a host VI the front panel control and indicator data using shared variables and the Real-Time FIFO VIs.

Complete the following steps to inspect a time-critical VI and create communication VIs using the RT Communication Wizard.

  1. Select Tools»Real-Time Module»Communication Wizard from the Project Explorer window to open the RT Communication Wizard.
  2. Select a time-critical VI by entering the path in the Please locate your time-critical VI text box or by clicking the Browse button and navigating to the location of the VI.
  3. Select the front panel communication method from the Front panel communication method section to display specific configuration options for the method you select.
  4. Select the RT target on which you want to run the time-critical VI using the RT target pull-down list or enter the IP address of the target in the RT target text box. Enter the configuration parameters such as shared variable destinations or communication ports.
  5. Click the Next button.

The RT Communication Wizard displays the controls and indicators of the time-critical VI.

  1. Remove the checkmark from the Select checkbox for controls or indicators that you do not want to transfer out of the time-critical VI.
  2. Enter the number of elements for the FIFO buffer of the Real-Time FIFO VIs or shared variables in the Length text box and click the Next button. You must ensure that you set Length large enough to contain all the data you write to a FIFO to prevent the loss of data from overflow.
  3. If the time-critical VI contains a control or indicator of type 1D array, enter the length of each array element of the FIFO buffer in the Array Length text box and click the Next button.
  4. If the time-critical VI contains a control or indicator of waveform data type, enter the number of data points in each waveform in the # of Datapoints text box and click the Next button.

The RT Communication Wizard then generates VIs and files according to the method you select.

  1. Verify the destination directory in which you want to save VIs and files and verify the name of each VI and file. Click the Finish button. The RT Communication Wizard does not modify the original time-critical VI.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit