Use stimulus profiles to log real-time test data to the host computer
while a test executes on a target.
Before you begin, you should familiarize yourself with the
Stimulus Profile Editor environment
Logging test data enables you to easily
review and save the responses of a unit under test (UUT) to specific
scenarios. VeriStand saves logged data in the TDMS file format, which you
can later view and analyze using the TDMS File Viewer workspace tool, other
National Instruments software such as NI DIAdem, or Microsoft Excel. The
Stimulus Profile Editor
provides support for
both triggered and segmented logging to help you manage large data sets and
long test scenarios.
Create a stimulus profile that
calls a real-time sequence.
Add a Start Logging step to the
stimulus profile, before the Real-Time Sequence
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
||The name you want to use to
start and stop logging.
||The name and location for a
resulting log file.
||Whether to append the start
time of the logging operation to the name of the
|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
Consider adding a time channel
to your log to easily identify breaks in data
|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.
||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.
|Channel Group Name
||The name of the channel
group used in the TDMS file.
||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
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
Save and run the stimulus profile.
The Stimulus Profile Editor
logs data on channels using the triggers and file segmenting you specified.