Reading and Writing Channels Directly from a Real-Time Sequence Tutorial
- Updated2025-04-08
- 2 minute(s) read
Reading and Writing Channels Directly from a Real-Time Sequence Tutorial
Use channel references, parameters, and variables to turn on a car engine, set the engine speed to three different RPM values, measure how long the engine takes to settle at each specified RPM, and turn the engine off.
- Deploy the Engine Demo—Deploy the engine demo's system definition before running a stimulus profile.
- Create a real-time sequence with a channel reference—Create a real-time sequence that uses a channel reference to read/write a engine power channel and a parameter to specify the value to read/write.
- Create a real-time sequence with channel references and local variables—Create a real-time sequence that uses channel references to measure how long the engine takes to settle at a specified RPM.
- Create a stimulus profile that calls a channel referencing sequence—Configure a stimulus profile to turn on the engine and measure how long it takes the engine to settle at various RPMs.
- Run the stimulus profile—Compile and run the stimulus profile to see the real-time sequence interact with the Engine Demo.
Related Information
- Deploying the Engine Demo
Deploy the engine demo's system definition before running a stimulus profile.
- Create a Real-Time Sequence with a Channel Reference
Create a real-time sequence that uses a channel reference to read/write a engine power channel and a parameter to specify the value to read/write.
- Create a Real-Time Sequence with Channel References and Local Variables
Create a real-time sequence that uses channel references to measure how long the engine takes to settle at a specified RPM.
- Creating a Stimulus Profile that Calls a Channel Referencing Sequence
Configure a stimulus profile to turn on the engine and measure how long it takes the engine to settle at various RPMs.
- Running a Stimulus Profile
Compile and run the stimulus profile to see the real-time sequence interact with the Engine Demo.