GpPpollmode

image\BLTLRGSQ.gifBoards that Support the Function image\SETUP.gif image\SANBTN.gif

 

 

image\head10.gif Operation             Sets response mode for parallel poll.

 

image\head10.gif Format                 

(VB.NET)

Dim Pmode, Ret As Integer

Ret = GpPpollmode(Pmode)

 

(C)

DWORD Pmode, Ret;

Ret = GpPpollmode(Pmode);

 

(C#)

uint Pmode, Ret;

Ret = gpib.Ppollmode(Pmode);

 

(Python)

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

Ret.value = GpibPy.GpPpollmode(Pmode)

 

image\head10.gif Mode                   Slave mode only

 

image\head10.gif Parameters          Pmode      :  Response mode

0    : No response

1    : Response

2    : Response only when transmitting SRQ

Ret          :  Return value

0     : Normal completion

255  : Parameter error

(See "Return Values" for details.)

 

image\head10.gif Notes                  When Pmode=1, response is assured even when transmitting SRQ.