Analyzing Your Program with NI I/O Trace
- Updated2023-02-24
- 2 minute(s) read
Analyzing Your Program with NI I/O Trace
NI I/O Trace is an application monitor for Windows applications using NI drivers. NI I/O Trace can monitor, record, and display calls made to IVI class drivers. You can use NI I/O Trace to quickly locate and analyze any erroneous calls that your application makes to the IVI class drivers. NI I/O Trace captures all function calls made during a class driver session.
To monitor IVI class driver calls, the NI Spy attribute must be enabled on the class driver session. This attribute is enabled by default. You can programmatically disable the attribute by setting it to FALSE.
The following figure shows a sample trace from NI I/O Trace.
NI I/O Trace records all input parameters passed to a function and all output parameters that the function returns. NI I/O Trace also displays the return value of the function.
You can see detailed information for every call NI I/O Trace captures through property sheets. The following figure shows a sample property sheet.
The property sheets display detailed information such as:
- Information about the application that made each call and the time stamp of the call
- The input and output parameters to each call and the contents of buffer parameters
- Descriptive error information
- Interchangeability warnings
- Information regarding the coercion of attribute values