Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use ni-spy to monitor parallel port and another port?

Hi All,

     Some interfaces such as parallel port,serial port,GPIB.. are used in my test bench.I want to monitor the interface with NI-SPY.

     But i only get some informations of GPIB.So i reviewed the option in NI-SPY.and found the "view selection" panel only NI-488.2 item.how to display the informations for another interfaces?

     Thanks.

     The version of VISA is 4.5

 

BR

Johnny

0 Kudos
Message 1 of 2
(3,517 Views)

Hey Johnny, 

 

I know this is an older one, but this info might be helpful for future people who stumble on this thread or if you are still wondering. First thing to mention is that NI-Spy was renamed to NI I/O Trace around 2011. The backend didn't change at all, so the info below applies to both.

 

NI I/O Trace doesn't actually have a physical connection to any of the buses it monitors. The information being logged is actually published by the NI drivers that are communicating to the hardware. Consequently, you will only be able to monitor hardware communications being made through NI drivers/software (I believe LabVIEW also logs some calls). Whenever an NI driver is installed, it should get added to a list of APIs available to NI I/O Trace. You can quickly get quite a few APIs to choose from:

 

api choices.PNG

 

If VISA is not displayed under your list of API choices, you may want to try reinstalling VISA or upgrading versions.

 

Hope this helps,

 

Luke

0 Kudos
Message 2 of 2
(3,263 Views)