Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Use NI Spy for Linux?

Primary Software: Driver Software>>NI-488.2
Primary Software Version: 2.3
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-VISA
Hardware: GPIB, Serial

Problem:
I am having trouble communicating with instruments in Linux and would like to perform an NI Spy capture for debugging/troubleshooting purposes.

Solution:
NI Spy is a tool for monitoring instrument I/O communications while your application runs. You can use NI Spy to capture instrument I/O calls and their results while LabVIEW VIs run. Capturing calls and their results can help you debug problems with instrument communications. NI Spy was not supported in Linux until the release of NI-488.2 Version 2.3 for Linux. The most current version of NI-488.2 for Linux is Version 2.5.

To launch NI Spy in Linux, type nispy in the command line. The graphical interface for NI Spy in Linux is the same as that in the Windows environment. Refer to KnowledgeBase 386GTEV4 (Performing a Good NI-Spy Capture for Debugging/Troubleshooting) for information on how an NI Spy capture is performed in Windows.

The main difference in the Linux environment is the default log file path in the NI Spy Options. The default path in Linux is /usr/local/natinst/nispy/Capture.spy.

Related Links:
Drivers and Updates: NI-488.2 (Linux) Version 2.5 for Linux
KnowledgeBase 386GTEV4: Performing a Good NI-Spy Capture for Debugging/Troubleshooting

Attachments:





Report Date: 08/25/2006
Last Updated: 12/28/2007
Document ID: 40ODPBHZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit