EasyManuals Logo
Home>Agilent Technologies>Inverter>E8267D

Agilent Technologies E8267D User Manual

Agilent Technologies E8267D
366 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 #338 background imageLoading...
Page #338 background image
328 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Creating and Downloading User-Data Files
Save and Recall Instrument State Files
// The Agilent VISA library must be installed on your computer for this example to run.
// Important: Replace the visaOpenString with the IP address for your signal generator.
//
//****************************************************************************************
using System;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using System.Collections;
using System.Text.RegularExpressions;
namespace State_Files
{
class MainApp
{
// Replace the visaOpenString variable with your instrument's address.
static public string visaOpenString = "TCPIP0::000.000.000.000"; //"GPIB0::19";
//"TCPIP0::ESG3::INSTR";
public const uint DEFAULT_TIMEOUT = 30 * 1000;// Instrument timeout 30 seconds.
public const int MAX_READ_DEVICE_STRING = 1024; // Buffer for string data reads.
public const int TRANSFER_BLOCK_SIZE = 4096;// Buffer for byte data.
// The main entry point for the application.
[STAThread]
static void Main(string[] args)
{
uint defaultRM;// Open the default VISA resource manager
if (VisaInterop.OpenDefaultRM(out defaultRM) == 0) // If no errors, proceed.
{
uint device;
// Open the specified VISA device: the signal generator
if (VisaInterop.Open(defaultRM, visaOpenString,VisaAccessMode.NoLock,
DEFAULT_TIMEOUT, out device) == 0)
// if no errors proceed.
{

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E8267D Specifications

General IconGeneral
BrandAgilent Technologies
ModelE8267D
CategoryInverter
LanguageEnglish

Related product manuals