Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA or GPIB Drivers logging

Solved!
Go to solution

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 instrumentSomething like what NI SPY provides.

Is this available? If yes Is there any API to start/stop logging and get logs?.

Thank you.

0 Kudos
Message 1 of 5
(3,431 Views)

What programming language? You can launch NI I/O Trace (new name for NI-Spy) from LabVIEW.

0 Kudos
Message 2 of 5
(3,426 Views)

We are using C#.

0 Kudos
Message 3 of 5
(3,422 Views)
Solution
Accepted by topic author asergeev2001

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,

National Instruments
0 Kudos
Message 4 of 5
(3,393 Views)

Well. This could be a solution.

0 Kudos
Message 5 of 5
(3,390 Views)