Data Logging Options in NI VeriStand

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

Use the following table to choose the data logging option best suited for your needs.

Logging Option Logging Location Use Cases Rate Strengths Weaknesses
Embedded Data Logger Target

Use the Embedded Data Logger if you need to log more data than the bandwidth of the connection between your host and target allows.

You can also use the Embedded Data Logger when you want to disconnect the host from the target after deploying your system definition and continue to log data.

Medium
  • Adds structured meta data to your log files and allows you to organize logged channels in groups.
  • Can configure dynamic start and stop trigger conditions. As you can start and stop logging with the Embedded Data Logger via a channel in the system definition, you can trigger logging through mappings to outputs from models, real-time sequences, procedures, etc.
  • You will not lose logging data if you lose connection to the target.
  • Logging rate is limited to the rate of the PCL.
  • You must configure the Embedded Data Logger before deploying because you cannot change configuration at run time.
NI-XNET Raw Frame Data Logging Target Use the Raw Frame Data Logging option under an NI-XNET port to log frame data during an NI-XNET session. Logs when data arrives, not according to a preset rate.
  • Can log at rates faster than the PCL.
  • Allows you to specify whether to log all frames or specific frames by ID.
  • You will not lose logging data if you lose connection to the target.
  • Can configure dynamic start and stop trigger conditions. As you can control when to start and stop NI-XNET raw frame data logging via a channel in the system definition, you can trigger logging through mappings to outputs from models, real-time sequences, procedures, etc.
  • Logs data in a low-level format, so you must perform post-processing of the data to covert it to readable units.
  • Cannot change configuration at run time.

Logging waveform acquisition from a DAQ device

Target Use DAQ waveform logging to log waveform acquisitions from a DAQ device.

High*

*When logging from a DAQ device, you can potentially log up to the rate the DAQ board can run.

  • Produces significantly smaller log files.
  • Can log at rates much faster than the PCL.
  • You will not lose logging data if you lose connection to the target.
  • Logs via waveforms, and you cannot scale or calibrate waveforms as you might channels.
  • Limited start and stop trigger functionality.
  • Cannot change configuration at run time.

Logging with the Stimulus Profile Editor

Host Use logging in the Stimulus Profile Editor to save the responses of a unit under test (UUT) to specific scenarios. Medium
  • Allows advanced triggering functionality.
  • Allows you to easily capture the response of your UUT to your real-time test.
  • Limited to logging results from tests you execute in the Stimulus Profile Editor.
  • The host must be connected to the target to log.
  • Logging bandwidth limited to the bandwidth of the connection between the host and the target.

UI Manager logging specification file

Host Use the logging specification file to configure and execute host-side data logging from the NI VeriStand UI Manager. After you connect to a deployed system, you can still add and configure logging specifications to adjust which channels to log, when to start and stop logging, the format of the log file, and more at run time. You can also use logging specification files to automate post-processing actions. Medium
  • Allows you to reconfigure your logging settings and add new specification files at run time.
  • Provides the most dynamic configuration options.
  • Allows you to automate post-processing of your log data.
  • Logging bandwidth limited to the bandwidth of the connection between the host and the target.
  • The host must be connected to the target to log.

Data Logging workspace control

Host Use the Data Logging workspace control to perform dynamic logging on your host. The control is well suited for recording behaviors you notice during a test because you can start, stop, and reconfigure the logging settings of the control without first undeploying your system definition. Medium
  • Allows you to reconfigure your logging settings at run time.
  • Provides dynamic configuration options.
  • Allows you to automate post-processing of your log data.
  • Logging bandwidth limited to the bandwidth of the connection between the host and the target.
  • The host must be connected to the target to log.

Synchronizing Logged Data from Differing Sources

If you need to log data from varying sources, you can use DIAdem to easily combine and time correlate all of your data logs. For step by step instructions on how to combine and time correlate your data logs using DIAdem, refer to the National Instruments website.

WAS THIS ARTICLE HELPFUL?

Not Helpful