Could not open visa object

조회 수: 22 (최근 30일)
CC
CC 2018년 8월 3일
댓글: CC 2018년 8월 3일
I am attempting to connect a TDS7124C Tektronix oscilloscope in MATLAB by creating an icdevice. The scope is connected to the laptop via LAN cables and TEKVISA LAN Server control.
The part of the code that is having issues is:
visa_address_tds = 'TCPIP::169.254.247.136::INSTR';
buffer = 1000*1024;
tds = visa('tek', visa_address_tds,'InputBufferSize', buffer,...
'OutputBufferSize', buffer);
deviceTDS = icdevice('tektronix_tds6124C.mdd', tds);
clear buffer
disconnect(deviceTDS);
connect(deviceTDS)
When run, the code generates the error: " Error using icdevice/connect (line 112) Could not open VISA object. Use INSTRHWINFO for a list of available configurations. If this error is not an instrument error, use MIDEDIT to inspect the driver."
The visa address is correct and the device shows up in the VISA resource manager on the laptop, so I am unsure why I am receiving this error.
Any help regarding this issue would be greatly appreciated.
  댓글 수: 1
CC
CC 2018년 8월 3일
Update: I entered the following statement in the command window while trying to find a solution and it produced the error: Error using visa (line 231) Invalid RSRCNAME specified.
instrhwinfo(visa('tek','TCPIP::196.254.247.136::INSTR'))
Again, I have verified the IP address for the instrument, so I don't know why this error is being produced.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by