05-10-2012 03:16 AM
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
05-11-2012 02:59 PM
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.
05-14-2012 07:56 AM
Please do not create multiple threads on the same question. It is very irritating.