NI I/O Trace API Reference

Table of Contents

Start Tracing VI

  • Updated2023-02-21
  • 3 minute(s) read

Start Tracing VI

Commands NI I/O Trace to start logging.

To store the capture for later use, use the default Capture to File instance. Otherwise, use the Capture to Memory instance for ad-hoc debugging.

Use the pull-down menu to select an instance of this VI.

Start Tracing–Capture to File

This instance saves the NI I/O Trace log to a file.

log file path is the absolute path where NI I/O Trace stores the log. If the node is not connected, NI I/O Trace does not save the log. Three file formats are available: .nitrace, .txt, and .csv. If the file path does not match any of the extensions, the VI returns an error.
file write mode specifies how to write the file (the default is create):

ValueMode
0 create—Creates a new file. An error occurs if the file already exists.
1 append or create—Creates a new file or appends to an existing file.
2 replace or create—Creates a new file or replaces an existing file.


error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Start Tracing–Capture to Memory

This instance does not save the NI I/O Trace log to a file.

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience