Setup Example

image\head10.gif VB.NET

Dim Ret, Stb, Eoi As Integer

Stb = 0  ' Initialization

Eoi = 0  ' Initialization

Ret = GpChkstb(Stb, Eoi)

 

image\head10.gif C

DWORD Ret, Stb, Eoi;

Stb = 0; /* Initialization */

Eoi = 0; /* Initialization */

Ret = GpChkstb(&Stb, &Eoi);

 

image\head10.gif C#

uint Ret, Stb, Eoi;

Stb = 0; /* Initialization */

Eoi = 0; /* Initialization */

Ret = gpib.Chkstb(out Stb, out Eoi);

 

image\head10.gif Python

Ret, Stb, Eoi = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()

Stb.value = 0 # Initialization

Eoi.value = 0 # Initialization

Ret.value = GpChkstb(ctypes.byref(Stb), ctypes.byref(Eoi))