Technical data
144 Agilent N8211A/N8212A Performance Upconverter Synthetic Instrument Module, 250 kHz to 20 / 40 GHz
5 Creating and Downloading User-Data Files
NoLock = 0,
ExclusiveLock = 1,
SharedLock = 2,
LoadConfig = 4
}
// Declaration of VISA attribute constants
public enum VisaAttribute
{
SendEndEnable = 0x3FFF0016,
TimeoutValue = 0x3FFF001A
}
// This class provides a way to call the unmanaged Agilent 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,