Integrating a PAscript Program in the Test

Integrate a PAscript program in a test using the Development area in PAconfigurator.

Configure a PAscript program using one of the following methods:
  • Directly from a task
  • Directly from an operation table
  • From an operation table as one of many PAscripts that belong to an operation group

Configuring Execution from a Task

To configure a PAscript program to execute from a Task directly, complete the following steps:

  1. Navigate to a Test folder.
    The Test folder is in the same hierarchy as the PAscript program or linked to the PAscript program.
  2. Create a new Task group or open an existing Task group.
  3. Use an existing Task to call the PAscript program or add a Task.
    OptionDescription
    Use an existing Task.
    1. Select the PAscript program in the next empty Activity field.
    Add a Task to the Task group.
    1. Add a Task to the Task group.
    2. In the Name field, enter a unique name for the task.
    3. In the Activity 1 field, select the PAscript program.
    4. Enter timing information for program execution in the following fields:
      • Clock Source
      • Clock Source Parameters
      • Period
      • Frequency
    Activities execute in numerical order

Configuring Execution from an Operations Table

To configure a PAscript program to execute from an Operations Table that is included in a Task, complete the following steps:

  1. Navigate to a Test folder.
    The Test folder is in the same hierarchy as the PAscript program or linked to the PAscript program.
  2. Create a new Operations Tables group or open an existing Operations Tables group.
  3. Add a new table to the group, or select an existing table in the group.
  4. Open the table.
  5. Choose whether you want to execute all or some of the PAscript programs in the Operation Group.
    OptionDescription
    Execute all PAscript programs that are in an Operation Group.
    1. Add a new operation to the group table.
    2. In the Name field, select Execute Programs.
    3. In the Operation Group field, select the operation group that the entry executes with.

      NI recommends that you select an existing operation group. The operation group selected must be the same group as the processing frequency of the PAscript program. Refer to Setting the Operation Group for a PAscript Program for more information about processing frequencies.

    All PAscript programs execute that have their processing frequency set to the Operation Group that you selected.

    Execute some PAscript programs that are in an Operation Group. Complete the following steps for each PAscript program that you want to execute:
    1. Add a new operation to the group table.
    2. In the Operation Group field, select the operation group that the entry executes with.

      NI recommends that you select an existing operation group. The operation group selected must be the same group as the processing frequency of the PAscript program. Refer to Setting the Operation Group for a PAscript Program for more information about processing frequencies.

    3. In the Operation Type field, select Execute PAscript.
    4. In the Operation Type parameter field, select the PAscript program.
  6. Add the operation table to a new Task or an existing Task.
    To execute, the operation table must be part of a Task within the test.
    OptionDescription
    Add the operation table to an existing Task.
    1. Open an existing Task group.
    2. Select the operation table in the next empty Activity field.
    Add the operation table to a new Task.
    1. Create a Task group.
    2. Add a Task to the Task group.
    3. In the Name field, enter a unique name for the task.
    4. In the Activity 1 field, select the operation table that you created or selected.
    5. Enter timing information for the operations in the following fields:
      • Clock Source
      • Clock Source Parameters
      • Period
      • Frequency
    Activities execute in numerical order