EasyManua.ls Logo

Agilent Technologies Agilent 3499A User Manual

Agilent Technologies Agilent 3499A
357 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #296 background imageLoading...
Page #296 background image
296
Chapter 8 Application Programs
VB.net Example Program
8
VB.net Example Program
This example is written in VB.net. The example includes Open, Close,
Self-test, Digital I/O, and Scan commands for the 3499A/B/C using the
Agilent T&M Toolkit in VB.net (Visual Basic). As the example is cur-
rently written, the program requirements are:
GPIB interface selected and set to the address of 09 from the front-
panel;
A GPIB interface card installed in your PC with the VISA library;
An Agilent N2265A installed in Slot 1 of the mainframe;
The Agilent T&M Toolkit installed on your PC.
Imports Agilent.TMFramework
Imports Agilent.TMFramework.InstrumentIO
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Private myDirectIO As DirectIO
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
'Create DirectIO object.
myDirectIO = New DirectIO("GPIB0::9::INSTR", False, 2000)
myDirectIO.Timeout = 2000
End Sub
Private Sub Selftestbtn_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Selftestbtn.Click
'Send *TST (Selftest) command to the 3499.
myDirectIO.WriteLine("*tst?")
Timing.Delay(10000000)
'Read results
Dim Results As String
Results = myDirectIO.Read()
Textbox1.Text = Results
End Sub
Private Sub Results_TextChanged(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Textbox1.TextChanged
End Sub

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies Agilent 3499A and is the answer not in the manual?

Agilent Technologies Agilent 3499A Specifications

General IconGeneral
BrandAgilent Technologies
ModelAgilent 3499A
CategoryControl Systems
LanguageEnglish

Summary

Chapter 1 Quick Start

Preparing the Instrument for Use

Essential steps for initial setup, including checking supplied items and powering on the instrument.

Installing Plug-in Modules

Procedure for installing and removing modules into the mainframe, including safety precautions.

Chapter 2 Front-Panel Operation

Powering On and Monitoring Instrument Status

How to turn on the instrument and monitor channel or slot status.

Scanning Operation and List Management

Steps to create, perform, and clear scan lists for automated measurements.

Instrument Error Handling and Self-Test

How to view instrument errors and perform a self-test for verification.

Chapter 3 System Overview

Channel and Slot Addressing Scheme

Explanation of how channels and slots are addressed for programming.

Chapter 4 Features and Functions

Relay Channel Switching and Multiplexer Configuration

How to switch relay channels and configure multiplexer modules.

Chapter 5 Remote Interface Reference

Chapter 6 Error Messages

Chapter 9 Specifications