ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Collect all NI trace commands programatically

Solved!
Go to solution

Hello, 

we are using NI Visa in .net and in c++ to communicate with a lot of equipment. is there a way to sniff/collect all NI commands sent on a computer, something similar to NI I/O Trace but inside our program. it would be very usefull in order to debug the equipment communication. i am interested in the solution prerably in .net (or in native).

thanks 

sebastien  

0 Kudos
Message 1 of 3
(2,719 Views)
Solution
Accepted by miniseb

According to this thread  the API for IO-Trace is for internal use of NI only.

There is an API to control the IO-Trace executable from Labview ( https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9MWSA0 )

Mightbe it is possible to build a dll, which is usable from either .NET or C++ around these VIs with Labview. 

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

thanks this is what i was looking for

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