Configure Next Frame Timing Dialog Box

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Requires: Base Development System (Windows)

Double-click the Right Data node of a Timed Loop or Timed Sequence structure frame to display this dialog box.

Note  The Right Data node of the last frame of a Timed Sequence structure does not include configuration options because you do not need to configure another frame or iteration.

Use this dialog box to configure a start time, priority, and other advanced options for the next frame of a timed structure.

Use the Configure Timed Loop with Frames and Configure Next Iteration dialog boxes to configure the initial execution and subsequent iterations of a Timed Loop with frames.

This dialog box includes the following components:

  • Next Frame Timing—Specifies timing options for the next frame. The Next Frame Timing settings include the following components.
    • Start—Specifies the time the next frame must start executing. Specify a start time value relative to the start time of the current frame in units of the frame timing source. The default is -1, which means the start time is unspecified for the next frame and executes immediately. If you set a value of -1 for Start, the next frame can start immediately after the completion of the current frame if it has the highest priority of all other frames ready to execute.
    • Priority—Specifies the priority of the execution of the next frame relative to other timed structures or frames that are ready to execute. The higher the number you enter, the higher the priority the next frame has over other timed structures or frames. The value for Priority must be -1 or a positive integer between 1 and 65,535. The default is -1, which means the priority is unchanged from the previous frame.
      Note  These priorities are different from VI priorities. LabVIEW executes the timed structures at a priority level below the time-critical priority and above the high priority. The LabVIEW execution system is preemptive, so a higher priority timed structure that is ready to execute preempts all lower priority structures also ready to execute and other LabVIEW code not running at time-critical priority.
    • Deadline—Specifies a time boundary for the completion of the next frame. The time is relative to the start time of the frame. The default is -1, which means no deadline is specified for the next frame. The Finished Late? [f-1] output on the Left Data node of the frame after the next frame returns TRUE if the next frame does not complete before the specified Deadline.
    • Timeout (ms)—Specifies the amount of time, in milliseconds, the next frame can wait for a trigger event from the frame timing source. The timeout value is relative to the start time of the current frame. The default is -1, which means no timeout is specified for the next frame. If the frame does not begin to execute before the timeout value, the timed structure executes the frame and the rest of the iteration untimed and returns Timeout in the Wakeup Reason output on the Left Data node of the remaining frames.

      If the frame of a Timed Loop times out and no changes are made to the Offset or Period inputs on the Right Data node of the last frame, the Timed Loop waits on the next iteration at the same point where the original time out occurred for the same wake-up event.
  • Processor Assignment—Specifies the processor assigned to handle frame execution. The Processor Assignment settings include the following components.
    • Mode—Specifies how to assign available processors to handle execution. The default is Automatic, meaning LabVIEW automatically assigns a processor to handle execution.
      • Automatic—LabVIEW automatically assigns a processor to handle execution. LabVIEW disables the Processor control and sets it to -2 when you select this option.
      • No Change—LabVIEW automatically assigns this frame to the processor that handled the previous frame execution. LabVIEW disables the Processor control and sets it to -1.
      • Manual—Allows you to manually select a processor to handle execution. You must enter a value between 0 and 255 in the Processor control to specify the processor you want to handle execution.
    • Processor—Specifies the processor you want to handle execution. The default is -2, which means LabVIEW automatically assigns a processor. To manually assign a processor, enter a number between 0 and 255, where 0 represents the first processor. If you enter a number that exceeds the number of available processors, you generate a run-time error and the timed structure does not execute.

WAS THIS ARTICLE HELPFUL?

Not Helpful