GpExppoll

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

 

 

image\head10.gif Operation            Executes parallel poll.

 

image\head10.gif Format                 

(VB.NET)

Dim Pprdata, Ret As Integer

Ret = GpExppoll(Pprdata)

 

(C)

DWORD Pprdata, Ret;

Ret = GpExppoll(&Pprdata);

 

(C#)

uint Pprdata, Ret;

Ret = gpib.Exppoll(out Pprdata);

 

(Python)

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

Ret.value = GpibPy.GpExppoll(ctypes.byref(Pprdata))

 

image\head10.gif Mode                   Master mode only

 

image\head10.gif Parameters

Pprdata        :  Status after PPR (return value)

 

Ret              :  Return value

0       : Normal completion

80     : GpIni() hasn't execute

140   : Asynchronous function is executing now

240   : ESC key pressed

252   : GP-IB error

254   : Timeout

255   : Parameter error

(See "Return Values" for details.)

 

image\head10.gif Notes

Value of Pprdata corresponds with DIO Lines as follows

 

Pprdata = 

0x01(00000001) : DIO1

0x02(00000010) : DIO2

0x04(00000100) : DIO3

0x08(00001000) : DIO4

0x10(00010000) : DIO5

0x20(00100000) : DIO6

0x40(01000000) : DIO7

0x80(10000000) : DIO8