Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

How to speed up VISA LAN instruments?

$
0
0

Currently I'm working on a project where I'm using a lof of Keysight instruments (Power supplies, loads, DMMs) 

 

In the old system we used GPIB and I could see in NI IO trace that a read current command would take around 6ms from a power load.

 

In the new system we are using LAN connection for all instruments, and communicate with VISA, and here a read current command from a power load takes around 100mS. In the datasheet, I cant see that the instrument should be able to measure way faster, so I think its my VISA settings that slows it down. 

 

Right now, I have disabled Nagle's algorithm, have a queue length of 50, timeout of 2000 and send END (Wrt) enabled - I dont have "supress end" and "termination character" enabled. Data is returned as string, and it does not allow DMA or asynchronos timeouts. I also don't use "keep alive" packages.

 

What can I do to try to speed it up? - I'm using an older NI measurement studio with VBA to communicate. 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>