Agilent Technologies

Web-based Instrument Control Example Read Me

AGILENT PROVIDES THIS FREE SOFTWARE "AS IS". ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO ANY WARRANTY OF NON-INFRINGEMENT, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, REASONABLE CARE AND SKILL, AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Agilent shall not be liable in any way whatsoever for any damages of any nature arising from its use. In no event shall Agilent be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to: procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability or tort (including negligence or otherwise) except if caused by willful misconduct or gross negligence arising in any way out of the use of this software, even if advised of the possibility of such damage and if it has been ensured that such data can be reconstructed with reasonable expenditure from data material provided in machine-readable form.

Date: March 8, 2004

Version: V1.00

Language: Microsoft® Visual Basic .NET 2003

Associated Instruments: Agilent 86100A/B/C, Agilent 54800 Scopes

Operating System: Microsoft Windows® 2000

Software Requirements: Microsoft Visual Studio® .NET 2003, Microsoft Visual Basic .NET, Agilent T&M Toolkit, Agilent IO LIbraries, IIS installed on Server, Microsoft IE 5.0 or greater

 

Program Overview: Program transfers an instrument screen image over GPIB and displays it in a client Web Browser

 

Instructions to install and run the Web Example

1)      Check to insure Internet Information Services (IIS) is installed on Server PC

  1. Go to START -> SETTINGS -> CONTROL PANEL -> ADD/REMOVE PROGRAMS -> Select ADD/REMOVE WINDOWS COMPONENTS

  2. Determine if Internet Information Services is Selected

  3. If not selected, check Internet Information Services (IIS), click Next and follow on screen installation instructions

2)      After installing IIS make sure ASP.NET is registered

  1. Go to START -> PROGRAMS -> MICROSOFT VISUAL STUDIO .NET 2003 ->  VISUAL STUDIO .NET TOOLS ->  VISUAL STUDIO .NET 2003 COMMAND PROMPT

  2. Type “Aspnet_regiis –i” at command prompt and press Enter

3)      Check ASPNET account on server to insure ADMIN privileges are granted

  1. Go to START -> RUN

  2. Type “lusrmgr.msc”

  3. Click OK

  4. Open USERS and double Click on ASPNET

  5. Select Member Of tab

  6. Insure ASPNET has administrative privileges, if not then Add

  7. Click OK and Close application

  8. Cycle Power on PC

4)Check to make sure a Proxy Server is NOT enabled for Local Addresses

  1. Open Microsoft Internet Explorer

  2. Select Tools pulldown menu

  3. Select Internet Options

  4. Select Connections tab

  5. Select LAN Settings...

  6. Make Sure "Bypass Proxy Serer For Local Addresses" is checked

  7. Click OK

  8. Close Microsoft Internet Explorer

5) Test to make make sure Visual Studio .NET can connect to the Web Server

  1. Start Visual Studio .NET

  2. On the File menu, point to New, and then click Project

  3. The New Project dialog box appears

  4. Under Project types, click Visual Basic Projects

  5. Under Templates, click ASP.NET Web Application

  6. In the Location box, use the default project location

  7. Click Open

If the project does not open successfully and a connection to the Web Server can not be established the example "TM_Toolkit_WebExample" will not execute.

6)      Unzip example “TM_Toolkit_WebExample.exe” to the following directory “C:\Inetpub\wwwroot”

7)      Mark Directory as Web Application

  1. Goto START -> SETTINGS -> CONTROL PANEL -> ADMINISTRATIVE TOOLS -> INTERNET SERVICES MANAGER

  2. Expand Host PC 

  3. Expand “Default Web Site”

  4. Right Click on “TM_Toolkit_WebExample” folder

  5. Select Properties

  6. In the Application Settings section on the Directory tab, click Create

  7. In the Application name text box, enter the name of the application, and then click OK

8)      Navigate to “C:\Inetpub\wwwroot\TM_Toolkit_WebExample” directory

  1. Open “TM_Toolkit_WebExample.sln” 

  2. This opens Visual Studio .NET and allows you to edit the example code

  3. Run the example by pressing START button in Visual Studio .NET

9)      You can also run the example by opening a Web Browser on a Client PC and navigate to the URL:  <http://hostname/TM_Toolkit_WebExample/instrument_control.aspx>

Visual Studio is a registered trademark of Microsoft Corporation in the United States and/or other countries

Windows is a U.S. registered trademark of Microsoft Corporation

Microsoft is a U.S. registered trademark of Microsoft Corporation

Copyright © 2004 Agilent Technologies, Inc.


© Agilent 2000-2006