필터 지우기
필터 지우기

Why does fclose()/instrreset take 120 seconds no matter what I do when using visa object with Keysight VNA?

조회 수: 2 (최근 30일)
I am using the instrument control toolbox to control a Keysight PNA. The following code causes matlab to lock up for 120 seconds at fclose(vna) and I can't figure out why. I am able to control the VNA, take measurements, read, etc. Only once I try to use fclose(vna) or instrreset I get a 120 window of nothing from Matlab. I have the latest versions of the instrument control toolbox and Matlab 2018a.
v = instrhwinfo('visa','keysight');
vna = (eval(v.ObjectConstructorName{1}));
fopen(vna);
fclose(vna);
  댓글 수: 1
Faiz Gouri
Faiz Gouri 2018년 5월 25일
MATLAB is waiting for the Keysight drivers to close the connection. You can check Keysight IO monitor logs to see the reason for this delay.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by