Installed With: RT Module
Right-click an RT target or library and select New»Time-Triggered Variable from the shortcut menu to access this page.
Use this page to configure a new time-triggered shared variable or edit the configuration of an existing time-triggered shared variable.
This page includes the following components:
- Name—Specifies the name of the variable.
- Data Type—Specifies the data type of the shared variable. Select From Custom Control and enter a path or browse to a custom type control to set the data type of the shared variable to any data type supported by LabVIEW. The data type you select appears in the field below the pull-down menu. LabVIEW modules and toolkits you have installed might provide additional shared variable data types. Refer to the documentation for the LabVIEW module or toolkit for more information about the shared variable data types that product adds to LabVIEW.
- Variable Communication Style—Specifies the communication style for the shared variable. You can choose from one of the following communication styles:
- As part of the shared memory blocks—The time-triggered shared variables under an RT target are all transmitted during a shared memory block in the communication cycle of the time-triggered network. The time-triggered network transmits the shared memory blocks for each RT target one after another. You can use the Network Configuration dialog box to specify an offset from the start of the communication cycle for when you want to begin the transmission of the shared memory blocks of all the RT targets on the time-triggered network.
- During a dedicated time slot within the network cycle—The time-triggered shared variables under an RT target are transmitted individually during a specific time slot in the network cycle. Use the Microseconds into the network cycle box to specify when during the communication cycle to begin transmission of each time-triggered shared variable. You also can use the Network Configuration dialog box to graphically rearrange the order in which the shared variables are transmitted.
- Microseconds into the network cycle—Specifies an offset from the start of the communication cycle of the time-triggered network when the time-triggered shared variable transmits data.
- Size of the Variable—Specifies the maximum string length for a time-triggered shared variable of string type or the number of array elements for a shared variable of array type.