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 2009 Real-Time Module Help

Edition Date: June 2009

Part Number: 370622G-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»Time-triggered 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 the communication style for the shared variable from the Variable Communication Style section.
  6. 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.
  7. Click the OK button to accept the settings and create the shared variable under the RT target in the Project Explorer window.

 

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