Capturing Calls to IVI Class Drivers
To view calls to IVI class drivers, you must enable capturing. When you launch NI Spy, capturing is disabled. To enable capturing, use one of the following methods:
- Select Spy»Start Capture.
- Click the blue arrow on the toolbar.
- Press <F8>.
After you enable capturing, run your application then return to NI Spy to view the captured calls. For a complete description of how to use NI Spy, refer to the NI Spy Windows Help. To view the NI Spy help, select Help»Help Topics. The following figure shows calls to the IviScope class driver that NI Spy captured.
NI Spy displays the name of each class driver function call that it captures. For each function call, NI Spy displays the values of the input and output parameters. You can configure NI Spy to display the following details about the function call:
- Number
- Description
- Status
- Time
- Process ID
- Thread ID
If a function returns an error, NI Spy highlights the function call in red. If you enable interchangeability checking, NI Spy highlights the functions that report interchangeability warnings in blue.