This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Control NI I/O Trace from LabVIEW

Updated Apr 24, 2023

Reported In

Software

  • LabVIEW

Issue Details

For some applications, it can be useful to have programmatic control over NI I/O Trace in order to start an instance of the application and control traces.  How can I control NI I/O Trace from LabVIEW?

Solution

The NI I/O Trace palette may be found by navigating the Functions Palette: Measurement I/O»NI I/O Trace. Using this library, a VI can be created in LabVIEW to control tracing in the NI I/O Trace application. This VI can then be built into an executable, allowing it to be run by other software and deployed to other machines. Consult the Log to NI IO Trace.vi example in the NI Example Finder in LabVIEW for a demonstration of how to use these VIs.

Additional Information

NI I/O Trace (formerly NI Spy) and its components are installed with the NI-DAQmx, NI-VISA, NI-488.2, NI-VXI, NI-CAN, and the various NI modular instruments drivers.  This installation also includes a set of LabVIEW VIs which will be available on the block diagram and allow a user to control the operation of NI I/O Trace from LabVIEW.

Consult the Log to NI IO Trace.vi example in the NI Example Finder in LabVIEW for a demonstration of how to use these VIs.

Note: Beginning with August 2013 driver releases, this API is no longer installed with the above listed drivers. In order to install the API, you must separately install NI System Configuration. A link to this download can be found in the Related Links section.