Adding and Editing Expressions in a Real-Time Sequence

Use expressions to access and act on the variables you define for a real-time sequence.

Expressions are the building blocks of real-time sequence code.
  1. Depending on your goal, complete the following tasks.
    Goal Tasks
    Create a new, empty expression Drag an Expression primitive from the Expressions palette to the sequence code.
    create an expression that automatically includes a variable. Drag a declared variable from the Variables pane to the sequence code.
    create an expression that automatically includes a sequence Drag a real-time sequence from the Sequences palette or the References pane to the sequence code.
  2. In the Property Browser, build the expression as a mathematical operation.
    Note As you begin typing in the Expression field, a type-ahead menu appears with valid functions or variables you can include in the expression. You can connect these functions and variables with operators.
If the new expression contains a variable that is not already declared in the sequence, declare the variable.