Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Developing of GPIB spy tool

I have designed my own GPIB spy tool to suite my own hardware drivers. This tool can be used for stepping through GPIB commands, etc. I'm using TestStand to control my test program, but I'm using drivers written in Visual C++. If I in my test program add Labview test methods I will not be able to see the GPIB commands through my GPIB spy.

Question: I would like to get access to all GPIB commands sent from my test program (TestStand). How can I (like NI GPIB spy) get access to the GPIB command in my own GPIB spy written in Visual C++ ?

Can NI provide some kind of solution ? in ActivX, .dll !!!???

Regards
0 Kudos
Message 1 of 3
(3,440 Views)
Hi Fredrik,

Unfortunatly, at the moment NI-Spy does not export any ActiveX functionality. There was another developer exchange user that was attempting a similar task by writing a wrapper dll that would replace the gpib-32.dll to intercept calls, and then pass them on. This would probably be the best approach for what you are attempting.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,440 Views)
Without any deeper knowledge in NI-SPY, is it possible to get access to the ".h" and ".lib" of the "NiSpyGpib.dll" file which is included in the NI-SPY program?
0 Kudos
Message 3 of 3
(3,440 Views)