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

Creating a Time-Triggered Shared Variable under an RT Target (RT Module)

LabVIEW Real-Time Module 8.2 Help
August 2006

NI Part Number:
370622D-01

»View Product Info

You can create time-triggered shared variables under an RT target in the Project Explorer window.

Complete the following steps to create a time-triggered shared variable under an RT target in the Project Explorer window.

  1. Create a new LabVIEW project or open an existing project.
  2. Add to the project an RT target that you configured for deterministic communication.
  3. Right-click the RT target and select New»Variable from the shortcut menu to open the Shared Variable Properties dialog box.
  4. Set the name and data type of the shared variable using the Name text box and the Data Type pull-down menu. The custom type requires the use of a custom control or typeset.
  5. Select Time-Triggered from the Variable Type pull-down menu.
  6. Select the communication style for the shared variable from the Variable Communication Style section.
  7. Specify the maximum size of the array or the maximum string length in the Size of the Variable section for shared variables of array or string type.
  8. Click the OK button to accept the settings and create the shared variable under the RT target in the Project Explorer window.

Resources


 

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