Setup Example

image\head10.gif VB.NET

Dim Ret, Stb As Integer

Stb = 0  ' Status byte

Ret = GpStb(Stb)

 

image\head10.gif C

DWORD Ret, Stb;

Stb = 0; /* Status byte */

Ret = GpStb(Stb);

 

image\head10.gif C#

uint Ret, Stb;

Stb = 0; /* Status byte */

Ret = gpib.Stb(Stb);

 

image\head10.gif Python

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

Stb.value = 0 # Status byte

Ret.value = GpibPy.GpStb(Stb)