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.