- Overview
-
What's a Subroutine?
-
Subroutines vs. Charts
-
Passed-in and Local Parameters
-
Data Types for Subroutines
-
More About Passing In Literals
-
Configuring Parameters
-
Quiz 1
Quiz 1: Subroutines Overview
- Configuring a Subroutine
-
Creating Subroutines
-
Configuring Passed Parameters
-
Adding Commands and Local Variables
-
Including a Subroutine in a Strategy
-
Using a Subroutine in a Strategy
- Debugging Subroutines
-
Debugging a Subroutine
-
Tips and Resources
Handy tips and resources to help you explore using subroutines in your PAC Control strategy.
-
Tips for Subroutines
-
Resources for Subroutines
-
Quiz 2
Quiz 2: Using Subroutines
-
Up Next: PID Control with PAC Control
Using Subroutines in PAC Control
Subroutines are an ideal way to re-use chart logic within the same strategy, or between strategies.
Subroutines can save you time and effort whenever you have a group of commands that are repeated in a strategy, or used in more than one strategy. A subroutine is a custom command that represents a series of commands (logic).
Topics include:
- Overview
(The differences between subroutines and charts, Passed-in and local parameters)
- Creating a subroutine
(Creating a subroutine, configuring passed parameters, adding commands and local variable, including and using a subroutine in a strategy)
- Debugging a subroutine
- Tips and resources
- Quizzes (to test your knowledge)
Course Duration: ~30 min