04-30-2012 09:04 AM
Hello,
I am looking for a possibility to get some logs from VISA or GPIB drivers. Like which command was sent or which data come from the instrument. Something like what NI SPY provides.
Is this available? If yes Is there any API to start/stop logging and get logs?.
Thank you.
Solved! Go to Solution.
04-30-2012 09:45 AM
What programming language? You can launch NI I/O Trace (new name for NI-Spy) from LabVIEW.
04-30-2012 09:51 AM
We are using C#.
05-02-2012 10:23 AM
asergeev2001,
If you have LabVIEW installed, you could call the LabVIEW I/O Trace API to accomplish this. You should also be able to call those functions using C# (Calling LabVIEW VIs from Other Languages: http://zone.ni.com/devzone/cda/tut/p/id/5719#toc3), and those VIs are located in .../Program Files/National Instruments/LabVIEW xxxx/vi.lib/NiIOTrace.
Will this get the functionality you're looking for?
Regards,
05-02-2012 10:31 AM
Well. This could be a solution.