Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

communication time using visa libraries via ethernet

Hello Everyone,

 

I am working with an Anritsu MS2722C Spectrum Analyzer and attempting to recieve as fast a communication time as possible.  So far, the visa function calls I make  ( viPrintf / viBufWrite  viReadStr / viBufRead ) seem to be taking roughly 100ms each, much too slow for the project I'm working on.  

 

Does anyone have ideas as to how I can speed up the communcation time to the device in software?   It seems like maybe I am missing something in maximizing the efficiency of the VISA library, as it seems to me that the communication time should be much faster than this.

 

 

 

I'm sorry if this question is in the wrong spot or has been already answered, but I didn't see much discussion about library efficiency anywhere.

 

Thanks,

 

~Christopher Riley

0 Kudos
Message 1 of 3
(3,114 Views)

Perhaps the programming examples of the Spectrum Master MS272xC Programming Guide might give you an idea. As a general rule try to separate acquisition from analysis, structures like the Produce/Consumer help in the optimization.

Alejandro C. | National Instruments
0 Kudos
Message 2 of 3
(3,089 Views)

Please do not create multiple threads on the same question. It is very irritating.

 

http://forums.ni.com/t5/Measurement-Studio-for-VC/visa-communication-time-via-ethernet-very-slow/m-p...

0 Kudos
Message 3 of 3
(3,076 Views)