Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide 377
Creating and Downloading User–Data Files
Save and Recall Instrument State Files
// 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);
Содержание X-Series
Страница 4: ...4 ...
Страница 10: ...10 Contents ...