Difference between revisions of "NI-spy"

From RadiWiki
Jump to: navigation, search
(How to shorten a saved NI Spy file)
Line 10: Line 10:
  
 
#. Start NI-SPY
 
#. Start NI-SPY
#. Selecteer uit het menu: Spy > Options...
+
#. Select menu item: Spy > Options...
#. Op het 'General' tab-blad bij 'Call History Depth' moet je het gewenste aantal regels invullen
+
#. On the 'General' tab, specify the 'Call History Depth' to the needed number of lines.
#. Open een grote NI-SPY file.
+
#. Press Ok
#. Je krijgt tijdens het openen een mededeling dat de file veel groter
+
#. Open the NI-SPY file that needs to reduces in lines.
is dan het ingestelde aantal regels. Je krijgt de keuze om het eerste/alles/laatste gedeelte te laden. Selecteer dan bijvoorbeeld 'laatste'.
+
#. During the opening of the file you will see the message that the file is bigger then the set call history depth. There is a choice of first/all/last part to be loaded. Select for example last if the information is in the last lines.  
#. Sla de NI-SPY file op (onder een andere naam?)
+
#. Save the ni spy file again, preferable under a different name.
  
De opgeslagen NI-SPY file zal nu alleen nog maar de laatste van het
+
The stored NI-SPY file will contain only the last x lines, where x is the configured call history depth.
aantal opgegeven regels bevatten.
 
Hierna kun je het orginele aantal regels weer in de instellingen van
 
NI-SPY invullen.
 
  
 +
{{Note|Restore the original number of lines again.}}
  
 
[[Category:RadiMation]]
 
[[Category:RadiMation]]

Revision as of 11:46, 14 October 2010

NI spy is a monitoring program created by National instruments. when using make sure the following options are set correctly:

  • Call history Depth, at least 20000
  • Large buffer

After starting the program you need to set it in capture mode. this can be done by pressing the blue arrow pointing to the right. to stop the capture press the red circle with the cross in it. after stopping the capture you can save the file by selecting file -> save as. The saved file can easily be zipped and send by e-mail


Flowchart NI-spy.png

How to shorten a saved NI Spy file

  1. . Start NI-SPY
  2. . Select menu item: Spy > Options...
  3. . On the 'General' tab, specify the 'Call History Depth' to the needed number of lines.
  4. . Press Ok
  5. . Open the NI-SPY file that needs to reduces in lines.
  6. . During the opening of the file you will see the message that the file is bigger then the set call history depth. There is a choice of first/all/last part to be loaded. Select for example last if the information is in the last lines.
  7. . Save the ni spy file again, preferable under a different name.

The stored NI-SPY file will contain only the last x lines, where x is the configured call history depth.

Information.png
Note: Restore the original number of lines again.