EasyManua.ls Logo

Agilent Technologies InfiniiVision 3000 X-Series

Agilent Technologies InfiniiVision 3000 X-Series
1282 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
Loading...
Programming Examples 40
Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide 1249
Windows XP: C:\Documents and Settings\All Users\Agilent\
Command Expert\ScpiNetDrivers
Windows 7: C:\ProgramData\Agilent\Command Expert\
ScpiNetDrivers
d Select the .dll file for your oscilloscope, for example
AgInfiniiVision3000X_01_20.dll; then, click OK.
7 Build and run the program.
For more information, see the SCPI.NET driver help that comes with
Agilent Command Expert.
/*
* Agilent SCPI.NET Example in C#
* -------------------------------------------------------------------
* This program illustrates a few commonly used programming
* features of your Agilent oscilloscope.
* -------------------------------------------------------------------
*/
using System;
using System.IO;
using System.Text;
using Agilent.CommandExpert.ScpiNet.AgInfiniiVision3000X_01_20;
namespace InfiniiVision
{
class ScpiNetInstrumentApp
{
private static AgInfiniiVision3000X myScope;
static void Main(string[] args)
{
try
{
string strScopeAddress;
//strScopeAddress = "a-mx3054a-60028.cos.agilent.com";
strScopeAddress =
"TCPIP0::a-mx3054a-60028.cos.agilent.com::inst0::INSTR";
Console.WriteLine("Connecting to oscilloscope...");
Console.WriteLine();
myScope = new AgInfiniiVision3000X(strScopeAddress);
myScope.Transport.DefaultTimeout.Set(10000);
// Initialize - start from a known state.
Initialize();
// Capture data.
Capture();
// Analyze the captured waveform.
Analyze();
Console.WriteLine("Press any key to exit");
Console.ReadKey();

Table of Contents

Other manuals for Agilent Technologies InfiniiVision 3000 X-Series

Related product manuals