Integrating a PAscript Program in the Test
- Updated2025-10-31
- 3 minute(s) read
Integrating a PAscript Program in the Test
Integrate a PAscript program in a test using the Development area in PAconfigurator.
- 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:
-
Navigate to a Test folder.
The Test folder is in the same hierarchy as the PAscript program or linked to the PAscript program.
- Create a new Task group or open an existing Task group.
-
Use an existing Task to call the PAscript program or add a Task.
Option Description Use an existing Task. - Select the PAscript program in the next empty Activity field.
Add a Task to the Task group. - Add a Task to the Task group.
- In the Name field, enter a unique name for the task.
- In the Activity 1 field, select the PAscript program.
- 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:
-
Navigate to a Test folder.
The Test folder is in the same hierarchy as the PAscript program or linked to the PAscript program.
- Create a new Operations Tables group or open an existing Operations Tables group.
- Add a new table to the group, or select an existing table in the group.
- Open the table.
-
Choose whether you want to execute all or some of the PAscript programs in the
Operation Group.
Option Description Execute all PAscript programs that are in an Operation Group. - Add a new operation to the group table.
- In the Name field, select Execute Programs.
- 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: - Add a new operation to the group table.
- 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.
- In the Operation Type field, select Execute PAscript.
- In the Operation Type parameter field, select the PAscript program.
-
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.
Option Description Add the operation table to an existing Task. - Open an existing Task group.
- Select the operation table in the next empty Activity field.
Add the operation table to a new Task. - Create a Task group.
- Add a Task to the Task group.
- In the Name field, enter a unique name for the task.
- In the Activity 1 field, select the operation table that you created or selected.
- Enter timing information for the operations in the following
fields:
- Clock Source
- Clock Source Parameters
- Period
- Frequency
Activities execute in numerical order
Related Information
- Configuring the PAscript Group
A PAscript group consists of one PAscript program.
- Setting the Operation Group for a PAscript Program
Specify the operation group to which the PAscript program belongs.