Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay while using VISA with Scope USB

Hello,

I have some problem while using VISA driver with Tektronix scope (USB).

After I am sending 3-4 commands trough the USB (each command take approximately 20ms), there is a delay of ~600ms. I doesn't metter what I am doing the delay is always there.

Its looks like some process is taking my time from the CPU. (It doesn't meter if next command is communication command or loop or any thing else).

 

Could you please tell me how can I check where this time out is coming from?

 

Thank you,

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

I am adding NI-SPY timming:

 

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

Hi Igor,

 

VISA and USB are both non deterministic tools, so the timing will never be exact. The delay could be caused by any background process you have running, but it could also just be how long certain VISA commands take.

 

What is your application? Is it important that you remove the delay?

 

Scott M.

Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,034 Views)