TCP IP Scope Connectivity Issues

Hello,
I'm currently in charge of an in-house script that automates scope measurements. It was working but we have since changed scopes (same model, Tektronix DPO 7104) and changed machines (from XP to Server 2008 R2).
Here's what I've done so far:
  • Run the TekVISA resource manager on the scope
  • Enabled the TekVISA Lan VXI-11 Server on the scope
  • Run the TekVISA resource manager on the windows machine
Under 'Instruments' in the TekVISA resource manger, the windows machine is able to detect the scope at 10.10.11.49. However when I run the script that USED to work I get the following error:
Unable to create VISA object. The required drivers may not be installed properly.
Type 'instrhelp visa' for more information.
If the error is accurate then I'm missing some kind of driver but wouldn't have the first clue as to what driver I actually need.
Finally, here's the code I'm executing:
scope_resource = ['TCPIP0::' scope_ip '::inst0::INSTR'];
obj_scope = instrfind('Type', 'visa-tcpip', 'RsrcName', scope_resource, 'Tag', '');
if isempty(obj_scope)%Create the VISA-TCPIP object if it does not exist
obj_scope = visa('TEK', scope_resource);
else %otherwise use the object that was found.
fclose(obj_scope);
obj_scope = obj_scope(1);
The error is generated from this line:
obj_scope = visa('TEK', scope_resource);

1 件のコメント

Aname Lname
Aname Lname 2011 年 12 月 12 日
I think the problem is that when I go to the Test & Measurement tool and look under VISA - TCPIP (VXI-11) section I can't seem to locate the scope.
I click 'Scan' and nothing comes up. I'm fairly sure I remembered to start up the VXI-11 server on the scope but I'll double check it's working correctly.

サインインしてコメントする。

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 12 月 12 日

1 投票

Also see the Description part here as the Shared Components mentioned might perhaps be needed too.

5 件のコメント

Aname Lname
Aname Lname 2011 年 12 月 12 日
Checking out the second link now. As far as the first, I have the following TekVISA stuff installed:
http://i.imgur.com/sUkm8.jpg
Walter Roberson
Walter Roberson 2011 年 12 月 12 日
The second link mentioned that the IVI driver is in the .zip file. I do not have that package so I cannot guide as to its name or location.
Aname Lname
Aname Lname 2011 年 12 月 12 日
Okay so I searched around on the local network and found:
IVI-COM driver x64 and installed that
Also found 'Shared Components' installer and installed that.
Still getting the same error.
Walter Roberson
Walter Roberson 2011 年 12 月 12 日
Might be time to open a support case.
Aname Lname
Aname Lname 2011 年 12 月 12 日
Guess I'll give Tektronix a call. Thanks for the help!

サインインしてコメントする。

Vinod
Vinod 2011 年 12 月 19 日

0 投票

Sounds like TEK VISA is not configured correctly. Have you tried using Agilent VISA instead? You can get Agilent VISA by installing Agilent IO Suite from here: www.agilent.com/find/iosuite
If you choose to go that way,you will need to change the constructor to
obj_scope = visa('agilent',scope_resource);

カテゴリ

ヘルプ センター および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

質問済み:

2011 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by