Agilent Technologies

VISA COM: 34410A, 34411A C#.NET Sampled Measurements Example Program


This program sets the 34410A, 34411A for 10 DCV measurements on the 10V range with
a 1 second delay between the measuremnts. The measurements are started with BUS
trigger (i.e., software trigger). The program also checks the instrument id to make
sure there is communication between the computer and instrument.

For GPIB, the program uses the status byte to determine when measurements are made;
for USB and LAN, the program uses the Standard Event Register

This program uses the Agilent VISA Com COM objects to program the instrument.
To use the IO object in another Visual Basic project, set the reference to
add the appropriate libraries in the Project/References menu and Com tab:
  VISA COM 3.0 Type Library

VISA Com comes with the Agilent I/O Library Suite 14.0 or above


The program was developed in Microsoft® C# (C Sharp) .NET 2003


Date: April 19, 2006
Version: 1.0.0.0
Language: Microsoft(r) Visual Basic .NET 2003 version 7.1
Operating System: Windows(r) NT 4.0, 2000 Professional, XP
VISA Com Version: Use Agilent I/O Library Suite 14.0 or above


Microsoft, Windows, NT, XP are registered trademarks of Microsoft Corporation


Copyright (c) 2006 Agilent Technologies Inc. All rights reserved.

You have a royalty-free right to use, modify, reproduce and distribute these example 
files (and/or any modified version) in any way you find useful, provided that you 
agree that Agilent has no warranty, obligations or liability for any Sample 
Application Files.

Agilent Technologies will not modify the program to provide added
functionality or construct procedures to meet your specific needs.


© Agilent 2000-2006