Table Of Contents

Calling a CSV File as a Real-Time Sequence

Last Modified: June 10, 2021

Use Comma Separated Values (.csv) files within stimulus profiles to stimulate, fault, and evaluate channels.

The stimulus profile you create in this tutorial executes a CSV file that turns on an engine and increases the RPM to 2500 within 10 seconds. After this CSV file completes its execution, the stimulus profile calls a sequence from the built-in library of sequences that causes the system to wait until the RPM parameters settle. Finally, the stimulus profile executes another CSV file that sets the engine RPM to various values over the course of 70 seconds.

To run in a stimulus profile, a CSV file must define inputs, values to assign to those inputs, and timestamps at which to update the input values. The CSV file must include this data under specific column headers that VeriStand expects.

  1. Deploy the Engine DemoDeploy the engine demo's system definition before running a stimulus profile.
  2. Create a stimulus profile to call the CSV fileCreate a stimulus profile that calls two Comma Separated Values (.csv) files like a real-time sequence.
  3. Run the stimulus profileCompile and run the stimulus profile to see the real-time sequence interact with the Engine Demo.

Recently Viewed Topics