Setup Example

image\head10.gif VB.NET

Dim Ret, Pmode As Integer

Pmode = 2  ' To be responded only SRQ sended

Ret = GpPpollmode(Pmode)

 

image\head10.gif C

DWORD Ret, Pmode;

Pmode = 2; /* To be responded only SRQ sended*/

Ret = GpPpollmode(Pmode);

 

image\head10.gif C#

uint Ret, Pmode;

Pmode = 2; /* To be responded only SRQ sended*/

Ret = gpib.Ppollmode(Pmode);

 

image\head10.gif Python

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

Pmode.value = 2 # To be responded only SRQ sended

Ret.value = GpibPy.GpPpollmode(Pmode)