Keysight E4428C ESG RF Programming Manual page 382

Signal generators
Table of Contents

Advertisement

Creating and Downloading User–Data Files
Save and Recall Instrument State Files
LoadConfig = 4
}
// Declaration of VISA attribute constants
public enum VisaAttribute
{
SendEndEnable = 0x3FFF0016,
TimeoutValue
}
// This class provides a way to call the unmanaged Keysight IO Library VISA C
// functions from the C# application
public class VisaInterop
{
[DllImport("agvisa32.dll", EntryPoint="viClear")]
public static extern int Clear(uint session);
[DllImport("agvisa32.dll", EntryPoint="viClose")]
public static extern int Close(uint session);
[DllImport("agvisa32.dll", EntryPoint="viFindNext")]
public static extern int FindNext(uint findList, byte[] desc);
[DllImport("agvisa32.dll", EntryPoint="viFindRsrc")]
public static extern int FindRsrc(
uint session,
string expr,
out uint findList,
out uint retCnt,
byte[] desc);
[DllImport("agvisa32.dll", EntryPoint="viGetAttribute")]
public static extern int GetAttribute(uint vi, VisaAttribute attribute, out uint attrState);
[DllImport("agvisa32.dll", EntryPoint="viOpen")]
public static extern int Open(
uint session,
string rsrcName,
VisaAccessMode accessMode,
uint timeout,
out uint vi);
374
= 0x3FFF001A
Keysight Signal Generators Programming Guide

Advertisement

Table of Contents
loading

Table of Contents