Could not open visa object

22 Ansichten (letzte 30 Tage)
CC
CC am 3 Aug. 2018
Kommentiert: CC am 3 Aug. 2018
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 Kommentar
CC
CC am 3 Aug. 2018
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by