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.
- Create a new LabVIEW project or open an existing project.
- Add to the project an RT target that you configured for deterministic communication.
- Right-click the RT target and select New»Variable from the shortcut menu to open the Shared Variable Properties dialog box.
- 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.
- Select Time-Triggered from the Variable Type pull-down menu.
- Select the communication style for the shared variable from the Variable Communication Style section.
- 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.
- Click the OK button to accept the settings and create the shared variable under the RT target in the Project Explorer window.