Logging Real-Time Test Data with the Stimulus Profile Editor
- Updated2025-10-27
- 2 minute(s) read
Logging Real-Time Test Data with the Stimulus Profile Editor
Use stimulus profiles to log real-time test data to the host computer while a test executes on a target.
- Create a stimulus profile that calls a real-time sequence.
-
Add a Start Logging step to the
stimulus profile, before the Real-Time Sequence
Call step.
Note The step appears as Start Logging Configuration with a Channel Group substep.
-
Click Start Logging Configuration in the
stimulus profile code and use the Property
Browser to configure the following
properties.
Property Description Configuration Name The name you want to use to start and stop logging. File Path The name and location for a resulting log file. Timestamp Filename Whether to append the start time of the logging operation to the name of the log file. Replace Existing File Whether to replace an existing file with the same filename. If you disable this property, the Stimulus Profile Editor appends any new log data to the existing file. This property performs a basic append, so you will need to use the channel data in the final file to determine where new data is appended.Note Consider adding a time channel to your log to easily identify breaks in data logging.Log Rate [Hz] The Stimulus Profile Editor logs data at the closest possible rate to this value without exceeding the rate at which the target produces data. Triggered Logging Configure trigger conditions to specify when data logging starts and stop. If you do not configure triggers, the Stimulus Profile Editor continuously logs all specified channel data beginning when the Start Logging step executes. -
Click the Channel Group step and
configure the following properties.
Property Description Channel Group Name The name of the channel group used in the TDMS file. Channels Adds channels or aliases to the channel group. - If you want to log data in multiple channel groups, add additional Channel Group steps under Start Logging Configuration.
- Add a Stop Logging step after the Real-Time Sequence Call step, and set the Configuration Name to the name you specified in the Start Logging step.
- Save and run the stimulus profile.
Related Information
- Creating Stimulus Profiles
Use stimulus profiles to act as the test executive that defines the stimuli to apply to a unit under test (UUT).
- Calling a Real-Time Sequence from a Stimulus Profile
Call a real-time sequence file from within a stimulus profile to define a specific task to execute on a unit under test (UUT).
- Start Logging Step
Starts logging data from the system definition channels you specify to a TDMS file.
- Channel Group Step
Groups channels in a logging configuration.
- Stop Logging Step
Stops a currently running logging configuration.